Object Fields
A unique identifier for the chat completion. Each chunk has the same ID.
A list of chat completion choices.Each choice object contains:
index(integer): The index of the choicedelta(object): The delta content generated by the modelrole(string): The role (only in first chunk)content(string): The content fragment
finish_reason(string | null):nullif still streaming
The Unix timestamp (in seconds). Each chunk has the same timestamp.
The model that generated the completion.
The object type, which is always
chat.completion.chunk.