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.

interface FileCitation {
    end_index: number;
    file_citation: openai.OpenAI.Beta.Threads.Messages.MessageContentText.Text.FileCitation.FileCitation;
    start_index: number;
    text: string;
    type: "file_citation";
}

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.

Generated using TypeDoc