The refusal content that is part of a message.

interface RefusalDeltaBlock {
    index: number;
    refusal?: string;
    type: "refusal";
}

Properties

Properties

index: number

The index of the refusal part in the message.

refusal?: string
type: "refusal"

Always refusal.