FileCitationAnnotation

@Serializable
data class FileCitationAnnotation(val text: String, val startIndex: Int, val endIndex: Int, val fileCitation: FileCitation) : TextAnnotation

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.

Constructors

Link copied to clipboard
constructor(text: String, startIndex: Int, endIndex: Int, fileCitation: FileCitation)

Properties

Link copied to clipboard
open override val endIndex: Int

End index.

Link copied to clipboard

The specific quote in the file.

Link copied to clipboard
open override val startIndex: Int

Start index.

Link copied to clipboard
open override val text: String

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