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

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

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

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 "file_search" tool to search files.

Properties

index: number

The index of the annotation in the text content part.

type: "file_citation"

Always file_citation.

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

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