AgentStreamChatCompletionsResponsePayload

AgentStreamChatCompletionsResponsePayload
AgentStreamChatCompletionsResponsePayload

Streamed chat-completions from an agent.

JSON Example
{
    "choices": [
        {
            "delta": {
                "content": "you?",
                "role": "assistant"
            },
            "finish_reason": "stop",
            "index": 6
        }
    ],
    "created": 1700173217,
    "id": "3cdb958c-e4cc-4834-b52b-1d1a7f324714",
    "model": "llama-2-70b-chat-hf",
    "object": "chat.completion"
}
string As uuid As uuid
session_id
Optional

ID of the session created by the agent.

index_context_info
Optional

Context used by the agent for creating the response.

string
id
Optional

id

string
object
Optional
Constraints: default: chat.completion.chunk

object

integer
created
Required

created

string
model
Required

model

choices
Required

choices