Running real inference at scale? Apply for our limited $10K credit program — Find out more
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [
{
"index": 0,
"delta": { "role": "assistant", "content": "This" },
"finish_reason": null,
"logprobs": null
}
],
"usage": null,
"created": 1726294381
}
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [
{
"index": 0,
"delta": { "content": " is" },
"finish_reason": null,
"logprobs": null
}
],
"usage": null,
"created": 1726294381
}
...
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [
{
"index": 0,
"delta": {},
"finish_reason": "stop",
"logprobs": null
}
],
"usage": null,
"created": 1726294383
}
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [],
"usage": {
"prompt_tokens": 8,
"completion_tokens": 4,
"total_tokens": 12
},
"created": 1726294402
}
data: [DONE]
Represents a streamed chunk of a chat completions response returned by model, based on the provided input.
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [
{
"index": 0,
"delta": { "role": "assistant", "content": "This" },
"finish_reason": null,
"logprobs": null
}
],
"usage": null,
"created": 1726294381
}
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [
{
"index": 0,
"delta": { "content": " is" },
"finish_reason": null,
"logprobs": null
}
],
"usage": null,
"created": 1726294381
}
...
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [
{
"index": 0,
"delta": {},
"finish_reason": "stop",
"logprobs": null
}
],
"usage": null,
"created": 1726294383
}
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [],
"usage": {
"prompt_tokens": 8,
"completion_tokens": 4,
"total_tokens": 12
},
"created": 1726294402
}
data: [DONE]
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [
{
"index": 0,
"delta": { "role": "assistant", "content": "This" },
"finish_reason": null,
"logprobs": null
}
],
"usage": null,
"created": 1726294381
}
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [
{
"index": 0,
"delta": { "content": " is" },
"finish_reason": null,
"logprobs": null
}
],
"usage": null,
"created": 1726294381
}
...
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [
{
"index": 0,
"delta": {},
"finish_reason": "stop",
"logprobs": null
}
],
"usage": null,
"created": 1726294383
}
data: {
"id": "chatcmpl-4b71d12c86d94e719c7e3984a7bb7941",
"model": "meta-llama-3.1-8b-instruct",
"object": "chat.completion.chunk",
"choices": [],
"usage": {
"prompt_tokens": 8,
"completion_tokens": 4,
"total_tokens": 12
},
"created": 1726294402
}
data: [DONE]
chat.completion.chunk
.Show child attributes
Show child attributes
assistant
.Show child attributes
function
.Show child attributes
stop
means the API returned the full chat completions generated by the model without running into any limits.
length
means the generation exceeded max_tokens
or the conversation exceeded the max context length.
tool_calls
means the API has generated tool calls.Available options: stop
, length
, tool_calls
Show child attributes
Show child attributes
null
if there is no bytes representation for the token.Show child attributes
null
if there is no bytes representation for the token.Was this page helpful?