FileCitationDeltaAnnotation { index, type, end_index, 3 more }
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.
index: number
The index of the annotation in the text content part.
type: "file_citation"
Always file_citation.
end_index?: number
minimum0
file_citation?: FileCitation { file_id, quote }
file_id?: string
The ID of the specific File the citation is from.
quote?: string
The specific quote in the file.
start_index?: number
minimum0
text?: string
The text in the message content that needs to be replaced.
FilePathDeltaAnnotation { index, type, end_index, 3 more }
A URL for the file that’s generated when the assistant used the code_interpreter tool to generate a file.
index: number
The index of the annotation in the text content part.
type: "file_path"
Always file_path.
end_index?: number
minimum0
file_path?: FilePath { file_id }
file_id?: string
The ID of the file that was generated.
start_index?: number
minimum0
text?: string
The text in the message content that needs to be replaced.