Describes the common properties of all the chunk types streamed in a chat response. The different chunk types form a a discriminated union type StreamedChatResponse.
The unique identifier for the streaming response.
The model used to generate the response.
The type of chunk. Either message_start, content_chunk, citation, or message_end.
message_start
content_chunk
citation
message_end
Describes the common properties of all the chunk types streamed in a chat response. The different chunk types form a a discriminated union type StreamedChatResponse.