mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-14 14:27:58 +00:00
Recordings update from CI (setup: vllm, suite: base-vllm-subset)
This commit is contained in:
parent
2b19f98d68
commit
dc965ba6dc
29 changed files with 16830 additions and 0 deletions
197
tests/integration/recordings/responses/dcbb6b7ec5d4.json
Normal file
197
tests/integration/recordings/responses/dcbb6b7ec5d4.json
Normal file
|
@ -0,0 +1,197 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://localhost:8000/v1/v1/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "meta-llama/Llama-3.2-1B-Instruct",
|
||||
"prompt": "<|begin_of_text|>Complete the sentence: Micheael Jordan is born in ",
|
||||
"logprobs": 1,
|
||||
"stream": true,
|
||||
"temperature": 0.0,
|
||||
"max_tokens": 5
|
||||
},
|
||||
"endpoint": "/v1/completions",
|
||||
"model": "meta-llama/Llama-3.2-1B-Instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": [
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "cmpl-e08a7a658a374fc19078a00e8c0fdba0",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": {
|
||||
"text_offset": [
|
||||
0
|
||||
],
|
||||
"token_logprobs": [
|
||||
-1.8108906745910645
|
||||
],
|
||||
"tokens": [
|
||||
"197"
|
||||
],
|
||||
"top_logprobs": [
|
||||
{
|
||||
"197": -1.8108906745910645
|
||||
}
|
||||
]
|
||||
},
|
||||
"text": "197",
|
||||
"stop_reason": null
|
||||
}
|
||||
],
|
||||
"created": 1758035624,
|
||||
"model": "meta-llama/Llama-3.2-1B-Instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "cmpl-e08a7a658a374fc19078a00e8c0fdba0",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": {
|
||||
"text_offset": [
|
||||
3
|
||||
],
|
||||
"token_logprobs": [
|
||||
-1.1861443519592285
|
||||
],
|
||||
"tokens": [
|
||||
"2"
|
||||
],
|
||||
"top_logprobs": [
|
||||
{
|
||||
"2": -1.1861443519592285
|
||||
}
|
||||
]
|
||||
},
|
||||
"text": "2",
|
||||
"stop_reason": null
|
||||
}
|
||||
],
|
||||
"created": 1758035624,
|
||||
"model": "meta-llama/Llama-3.2-1B-Instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "cmpl-e08a7a658a374fc19078a00e8c0fdba0",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": {
|
||||
"text_offset": [
|
||||
4
|
||||
],
|
||||
"token_logprobs": [
|
||||
-1.5070395469665527
|
||||
],
|
||||
"tokens": [
|
||||
".\n"
|
||||
],
|
||||
"top_logprobs": [
|
||||
{
|
||||
".\n": -1.5070395469665527
|
||||
}
|
||||
]
|
||||
},
|
||||
"text": ".\n",
|
||||
"stop_reason": null
|
||||
}
|
||||
],
|
||||
"created": 1758035624,
|
||||
"model": "meta-llama/Llama-3.2-1B-Instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "cmpl-e08a7a658a374fc19078a00e8c0fdba0",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": {
|
||||
"text_offset": [
|
||||
6
|
||||
],
|
||||
"token_logprobs": [
|
||||
-1.492501974105835
|
||||
],
|
||||
"tokens": [
|
||||
"A"
|
||||
],
|
||||
"top_logprobs": [
|
||||
{
|
||||
"A": -1.492501974105835
|
||||
}
|
||||
]
|
||||
},
|
||||
"text": "A",
|
||||
"stop_reason": null
|
||||
}
|
||||
],
|
||||
"created": 1758035624,
|
||||
"model": "meta-llama/Llama-3.2-1B-Instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "cmpl-e08a7a658a374fc19078a00e8c0fdba0",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": "length",
|
||||
"index": 0,
|
||||
"logprobs": {
|
||||
"text_offset": [
|
||||
7
|
||||
],
|
||||
"token_logprobs": [
|
||||
-0.13012290000915527
|
||||
],
|
||||
"tokens": [
|
||||
")"
|
||||
],
|
||||
"top_logprobs": [
|
||||
{
|
||||
")": -0.13012290000915527
|
||||
}
|
||||
]
|
||||
},
|
||||
"text": ")",
|
||||
"stop_reason": null
|
||||
}
|
||||
],
|
||||
"created": 1758035624,
|
||||
"model": "meta-llama/Llama-3.2-1B-Instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_streaming": true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue