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

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

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface RefusalDeltaBlock
import { type RefusalDeltaBlock } from "https://deno.land/x/openai@v4.61.1/resources/beta/threads/mod.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