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

x/openai/resources/beta/threads/messages.ts>FilePathAnnotation

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

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.