Share via


MessageDeltaTextFileCitationAnnotation interface

Represents a streamed file citation applied to a streaming text content part.

Extends

Properties

endIndex

The end index of this annotation in the content text.

fileCitation

The file citation information.

startIndex

The start index of this annotation in the content text.

text

The text in the message content that needs to be replaced

type

The type of the text content annotation, which is always "file_citation."

Inherited Properties

index

The index of the annotation within a text content part.

Property Details

endIndex

The end index of this annotation in the content text.

endIndex?: number

Property Value

number

fileCitation

The file citation information.

fileCitation?: MessageDeltaTextFileCitationAnnotationObject

Property Value

startIndex

The start index of this annotation in the content text.

startIndex?: number

Property Value

number

text

The text in the message content that needs to be replaced

text?: string

Property Value

string

type

The type of the text content annotation, which is always "file_citation."

type: "file_citation"

Property Value

"file_citation"

Inherited Property Details

index

The index of the annotation within a text content part.

index: number

Property Value

number

Inherited From MessageDeltaTextAnnotationParent.index