mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
Some checks failed
Integration Auth Tests / test-matrix (oauth2_token) (push) Failing after 1s
Test External Providers Installed via Module / test-external-providers-from-module (venv) (push) Has been skipped
Integration Tests (Replay) / Integration Tests (, , , client=, vision=) (push) Failing after 3s
SqlStore Integration Tests / test-postgres (3.12) (push) Failing after 4s
SqlStore Integration Tests / test-postgres (3.13) (push) Failing after 7s
Update ReadTheDocs / update-readthedocs (push) Failing after 3s
Test External API and Providers / test-external (venv) (push) Failing after 5s
Vector IO Integration Tests / test-matrix (push) Failing after 7s
Python Package Build Test / build (3.13) (push) Failing after 8s
Python Package Build Test / build (3.12) (push) Failing after 8s
Unit Tests / unit-tests (3.13) (push) Failing after 14s
Unit Tests / unit-tests (3.12) (push) Failing after 14s
UI Tests / ui-tests (22) (push) Successful in 1m7s
Pre-commit / pre-commit (push) Successful in 2m34s
One needed to specify record-replay related environment variables for running integration tests. We could not use defaults because integration tests could be run against Ollama instances which could be running different models. For example, text vs vision tests needed separate instances of Ollama because a single instance typically cannot serve both of these models if you assume the standard CI worker configuration on Github. As a result, `client.list()` as returned by the Ollama client would be different between these runs and we'd end up overwriting responses. This PR "solves" it by adding a small amount of complexity -- we store model list responses specially, keyed by the hashes of the models they return. At replay time, we merge all of them and pretend that we have the union of all models available. ## Test Plan Re-recorded all the tests using `scripts/integration-tests.sh --inference-mode record`, including the vision tests.
989 lines
26 KiB
JSON
989 lines
26 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 ",
|
|
"max_tokens": 50,
|
|
"stream": true
|
|
},
|
|
"endpoint": "/v1/completions",
|
|
"model": "llama3.2:3b-instruct-fp16"
|
|
},
|
|
"response": {
|
|
"body": [
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "Blue"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ".\n\n"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "My"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " answer"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " is"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " blue"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " because"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " it"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "'s"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " a"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " common"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " and"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " well"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "-known"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " completion"
|
|
}
|
|
],
|
|
"created": 1756921025,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " of"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " the"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " classic"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " tongue"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "-tw"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "ister"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " \""
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "R"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "oses"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " are"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " red"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ","
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " v"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "io"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "lets"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " are"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "\""
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " \u2013"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " often"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " followed"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " by"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " the"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " phrase"
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " \""
|
|
}
|
|
],
|
|
"created": 1756921026,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "blue"
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ".\""
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " This"
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " rhyme"
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " has"
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " been"
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " widely"
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " used"
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " in"
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " literature"
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ","
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "cmpl-374",
|
|
"choices": [
|
|
{
|
|
"finish_reason": "length",
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ""
|
|
}
|
|
],
|
|
"created": 1756921027,
|
|
"model": "llama3.2:3b-instruct-fp16",
|
|
"object": "text_completion",
|
|
"system_fingerprint": "fp_ollama",
|
|
"usage": null
|
|
}
|
|
}
|
|
],
|
|
"is_streaming": true
|
|
}
|
|
}
|