Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.38.5/resources/beta/threads/mod.ts";
interface FilePathDeltaAnnotation
import { type FilePathDeltaAnnotation } from "https://deno.land/x/openai@v4.38.5/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.