Emitted when there is an additional text delta.

interface ResponseTextDeltaEvent {
    content_index: number;
    delta: string;
    item_id: string;
    output_index: number;
    type: "response.output_text.delta";
}

Properties

content_index: number

The index of the content part that the text delta was added to.

delta: string

The text delta that was added.

item_id: string

The ID of the output item that the text delta was added to.

output_index: number

The index of the output item that the text delta was added to.

type: "response.output_text.delta"

The type of the event. Always response.output_text.delta.