StreamCompletionsResponsePayload

StreamCompletionsResponsePayload
StreamCompletionsResponsePayload

Streamed completions response.

JSON Example
{
    "choices": [
        {
            "finish_reason": "stop",
            "index": 6,
            "text": "you?"
        }
    ],
    "created": 1589478378,
    "id": "cmpl-123",
    "model": "gpt-4",
    "object": "text_completion"
}
string
id
Optional

id

string
object
Optional
Constraints: default: text_completion

object

integer
created
Required

created

string
model
Required

model

choices
Required

choices