mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
# What does this PR do? recorded for: ./scripts/integration-tests.sh --stack-config server:ci-tests --suite base --setup fireworks --subdirs inference --pattern openai ## Test Plan ./scripts/integration-tests.sh --stack-config server:ci-tests --suite base --setup fireworks --subdirs inference --pattern openai
996 lines
28 KiB
JSON
996 lines
28 KiB
JSON
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://api.fireworks.ai/inference/v1/v1/completions",
|
|
"headers": {},
|
|
"body": {
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"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,
|
|
"extra_body": {}
|
|
},
|
|
"endpoint": "/v1/completions",
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
|
},
|
|
"response": {
|
|
"body": [
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " a"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " type"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " of"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " __________________"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "_____"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ".\n\n"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "##"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " Step"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " "
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "1"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ":"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " Identify"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " the"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " type"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " of"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " flower"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " mentioned"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " in"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " the"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " sentence"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ".\n"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "The"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " sentence"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " mentions"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " \""
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "vio"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "lets"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ".\"\n\n"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "##"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " Step"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " "
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "2"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ":"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " Determine"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " the"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " type"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " of"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " flower"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " v"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "io"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "lets"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " are"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ".\n"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "V"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "io"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": "lets"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " are"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " a"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " type"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": null,
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": " of"
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": null
|
|
}
|
|
},
|
|
{
|
|
"__type__": "openai.types.completion.Completion",
|
|
"__data__": {
|
|
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
|
"choices": [
|
|
{
|
|
"finish_reason": "length",
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"text": ""
|
|
}
|
|
],
|
|
"created": 1758920354,
|
|
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
"object": "text_completion",
|
|
"system_fingerprint": null,
|
|
"usage": {
|
|
"completion_tokens": 50,
|
|
"prompt_tokens": 25,
|
|
"total_tokens": 75,
|
|
"completion_tokens_details": null,
|
|
"prompt_tokens_details": null
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"is_streaming": true
|
|
}
|
|
}
|