Returned when the text value of a "text" content part is updated.

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

Properties

content_index: number

The index of the content part in the item's content array.

delta: string

The text delta.

event_id: string

The unique ID of the server event.

item_id: string

The ID of the item.

output_index: number

The index of the output item in the response.

response_id: string

The ID of the response.

type: "response.text.delta"

The event type, must be response.text.delta.