llama-stack-mirror/tests/integration/recordings/responses/6412295819a1.json
2025-10-01 20:48:17 -07:00

43 lines
1.6 KiB
JSON

{
"request": {
"method": "POST",
"url": "http://0.0.0.0:11434/v1/v1/completions",
"headers": {},
"body": {
"model": "llama3.2:3b-instruct-fp16",
"prompt": "Respond to this question and explain your answer. Complete the sentence using one word: Roses are red, violets are ",
"stream": false,
"extra_body": {}
},
"endpoint": "/v1/completions",
"model": "llama3.2:3b-instruct-fp16"
},
"response": {
"body": {
"__type__": "openai.types.completion.Completion",
"__data__": {
"id": "cmpl-39",
"choices": [
{
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"text": "Blue.\n\nMy answer is \"blue\" because it completes the traditional rhyme scheme of the classic English poem \"Roses are Red, Violets are Blue\", which goes like this:\n\nRoses are red,\nViolets are blue,\nSugar is sweet,\nAnd so are you.\n\nIn this poem, the third line typically follows the same rhyme as the first line. In order to maintain this rhyming scheme, adding \"Blue\" after \"violets\" in the original sentence makes sense linguistically and structurally, creating a natural completion of the poetic phrase."
}
],
"created": 1759376594,
"model": "llama3.2:3b-instruct-fp16",
"object": "text_completion",
"system_fingerprint": "fp_ollama",
"usage": {
"completion_tokens": 115,
"prompt_tokens": 50,
"total_tokens": 165,
"completion_tokens_details": null,
"prompt_tokens_details": null
}
}
},
"is_streaming": false
}
}