From 7f13fac1329acc96596aa49dba6b964852fdcc55 Mon Sep 17 00:00:00 2001 From: Sidharth Rajaram Date: Tue, 22 Oct 2024 20:10:52 -0700 Subject: [PATCH] Create test_structured_output_response_format_llama_json.json analogous to test_grammar_response_format_llama/test_grammar_response_format_llama_json.json --- ...red_output_response_format_llama_json.json | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 integration-tests/models/__snapshots__/test_structured_output_response_format_llama/test_structured_output_response_format_llama_json.json diff --git a/integration-tests/models/__snapshots__/test_structured_output_response_format_llama/test_structured_output_response_format_llama_json.json b/integration-tests/models/__snapshots__/test_structured_output_response_format_llama/test_structured_output_response_format_llama_json.json new file mode 100644 index 00000000..83390832 --- /dev/null +++ b/integration-tests/models/__snapshots__/test_structured_output_response_format_llama/test_structured_output_response_format_llama_json.json @@ -0,0 +1,23 @@ +{ + "choices": [ + { + "finish_reason": "eos_token", + "index": 0, + "logprobs": null, + "message": { + "content": "{\n \"temperature\": [\n 35,\n 34,\n 36\n ],\n \"unit\": \"°c\"\n}", + "role": "assistant" + } + } + ], + "created": 1718044128, + "id": "", + "model": "TinyLlama/TinyLlama-1.1B-Chat-v1.0", + "object": "text_completion", + "system_fingerprint": "2.0.5-dev0-native", + "usage": { + "completion_tokens": 39, + "prompt_tokens": 136, + "total_tokens": 175 + } +}