Interface MessageStartChunk

Describes the start of a streamed message in a chat response.

Hierarchy

Properties

Properties

id: string

The unique identifier for the streaming response.

model: string

The model used to generate the response.

role: string

The role of the message sender. Either user or assistant.

type: "message_start"

The type of the chunk indicating the beginning of the stream.