Skip to main content
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.59.0/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