AgentStreamCompletionsResponsePayload

AgentStreamCompletionsResponsePayload
AgentStreamCompletionsResponsePayload

Streamed completions from an agent.

JSON Example
{
    "choices": [
        {
            "finish_reason": "stop",
            "index": 6,
            "text": "you?"
        }
    ],
    "created": 1589478378,
    "id": "cmpl-123",
    "model": "gpt-4",
    "object": "text_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: text_completion

object

integer
created
Required

created

string
model
Required

model

choices
Required

choices