class

OpenAI::MessageDeltaContentTextAnnotationsFileCitationObject

Inherits JSON::Serializable < Reference < Object

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.

Constructors

new(index : Int64 = 0, type_value : MessageDeltaContentTextAnnotationsFileCitationObjectType = MessageDeltaContentTextAnnotationsFileCitationObjectType::FileCitation, text : String | Nil = nil, file_citation : MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation | Nil = nil, start_index : Int64 | Nil = nil, end_index : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

end_index
Source
end_index=(end_index : Int64 | Nil)
Source
file_citation
Source
file_citation=(file_citation : MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation | Nil)
Source
index

The index of the annotation in the text content part.

Source
index=(index : Int64)

The index of the annotation in the text content part.

Source
start_index
Source
start_index=(start_index : Int64 | Nil)
Source
text

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

Source
text=(text : String | Nil)

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

Source
type_value

Always file_citation.

Source
type_value=(type_value : MessageDeltaContentTextAnnotationsFileCitationObjectType)

Always file_citation.

Source