llama-stack-mirror/tests/integration/recordings/responses/33b71fb85bfb.json
Matthew Farrellee f9cd397fe7 feat: together now supports base64 embedding encoding
recordings for: ./scripts/integration-tests.sh --stack-config server:ci-tests --suite base --setup together --subdirs inference --pattern openai
2025-09-26 05:55:50 -04:00

730 lines
22 KiB
JSON

{
"request": {
"method": "POST",
"url": "https://api.together.xyz/v1/v1/chat/completions",
"headers": {},
"body": {
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"messages": [
{
"role": "user",
"content": "What's the weather in Tokyo?"
}
],
"response_format": {
"type": "text"
},
"stream": true
},
"endpoint": "/v1/chat/completions",
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free"
},
"response": {
"body": [
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "{\"",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 5018
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "{\"",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "type",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 1337
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "type",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "\":",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 794
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\":",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": " \"",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 330
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " \"",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "function",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 1723
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "function",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "\",",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 498
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\",",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": " \"",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 330
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " \"",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "name",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 609
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "name",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "\":",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 794
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\":",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": " \"",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 330
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " \"",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "get",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 456
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "get",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "_weather",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 70464
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "_weather",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "\",",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 498
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\",",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": " \"",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 330
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " \"",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "parameters",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 14105
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "parameters",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "\":",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 794
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\":",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": " {\"",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 5324
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " {\"",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "city",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 9103
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "city",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "\":",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 794
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\":",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": " \"",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 330
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": " \"",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "Tok",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 53954
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "Tok",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "yo",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 16417
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "yo",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "\"}}",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 32075
},
"finish_reason": null,
"index": 0,
"logprobs": null,
"text": "\"}}",
"seed": null
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": null
}
},
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "oCfxg3w-4Yz4kd-984c2d684c778f6d",
"choices": [
{
"delta": {
"content": "",
"function_call": null,
"refusal": null,
"role": "assistant",
"tool_calls": null,
"token_id": 128009
},
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"text": "",
"seed": 4111464499205743000
}
],
"created": 1758820670,
"model": "meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
"object": "chat.completion.chunk",
"service_tier": null,
"system_fingerprint": null,
"usage": {
"completion_tokens": 24,
"prompt_tokens": 42,
"total_tokens": 66,
"completion_tokens_details": null,
"prompt_tokens_details": null,
"cached_tokens": 0
}
}
}
],
"is_streaming": true
}
}