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

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

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

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

Properties

index: number

The index of the annotation in the text content part.

type: "file_path"

Always file_path.

optional
end_index: number
optional
start_index: number
optional
text: string

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