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

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

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

The text content that is part of a message.

Properties

index: number

The index of the content part in the message.

type: "text"

Always text.

optional
text: TextDelta