Skip to main content
Module

x/openai/resources/beta/threads/mod.ts>MessageContentText.Text.FileCitation

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
namespace MessageContentText.Text.FileCitation
import { MessageContentText } from "https://deno.land/x/openai@v4.19.0/resources/beta/threads/mod.ts";
const { FileCitation } = MessageContentText.Text;
interface MessageContentText.Text.FileCitation
import { type MessageContentText } from "https://deno.land/x/openai@v4.19.0/resources/beta/threads/mod.ts";
const { FileCitation } = MessageContentText.Text;

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

Properties

end_index: number
start_index: number
text: string

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

type: "file_citation"

Always file_citation.