Describes a chunk containing a piece of message content.

interface ContentChunk {
    delta: { content: string };
    id: string;
    model: string;
    type: "content_chunk";
}

Hierarchy (View Summary)

Properties

Properties

delta: { content: string }

The content delta, representing a portion of the message content.

id: string

The unique identifier for the streaming response.

model: string

The model used to generate the response.

type: "content_chunk"

The type of the chunk indicating content.