Emitted when there is a partial refusal text.

interface ResponseRefusalDeltaEvent {
    content_index: number;
    delta: string;
    item_id: string;
    output_index: number;
    type: "response.refusal.delta";
}

Properties

content_index: number

The index of the content part that the refusal text is added to.

delta: string

The refusal text that is added.

item_id: string

The ID of the output item that the refusal text is added to.

output_index: number

The index of the output item that the refusal text is added to.

type: "response.refusal.delta"

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