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

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

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace MessageContentText.Text.FilePath
import { MessageContentText } from "https://deno.land/x/openai@v4.26.0/resources/beta/threads/messages/messages.ts";
const { FilePath } = MessageContentText.Text;
interface MessageContentText.Text.FilePath
import { type MessageContentText } from "https://deno.land/x/openai@v4.26.0/resources/beta/threads/messages/messages.ts";
const { FilePath } = MessageContentText.Text;

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

Properties

end_index: number
start_index: number
text: string

The text in the message content that needs to be replaced.

type: "file_path"

Always file_path.