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

x/openai/resources/beta/threads/messages/mod.ts>MessageContentText.Text

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
namespace MessageContentText.Text
import { MessageContentText } from "https://deno.land/x/openai@v4.19.1/resources/beta/threads/messages/mod.ts";
const { Text } = MessageContentText;

Interfaces

A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the "retrieval" tool to search files.

A URL for the file that's generated when the assistant used the code_interpreter tool to generate a file.

interface MessageContentText.Text
import { type MessageContentText } from "https://deno.land/x/openai@v4.19.1/resources/beta/threads/messages/mod.ts";
const { Text } = MessageContentText;

Properties

annotations: Array<Text.FileCitation | Text.FilePath>
value: string

The data that makes up the text.