Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/beta/threads/messages.ts>RefusalDeltaBlock

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
interface RefusalDeltaBlock
import { type RefusalDeltaBlock } from "https://deno.land/x/openai@v4.69.0/resources/beta/threads/messages.ts";

The refusal content that is part of a message.

Properties

index: number

The index of the refusal part in the message.

type: "refusal"

Always refusal.

optional
refusal: string