class

OpenAI::MessageDeltaContentTextAnnotationsFilePathObject

Inherits JSON::Serializable < Reference < Object

A URL for the file that's generated when the assistant used the code_interpreter tool to generate a file.

Constructors

new(index : Int64 = 0, type_value : MessageDeltaContentTextAnnotationsFilePathObjectType = MessageDeltaContentTextAnnotationsFilePathObjectType::FilePath, text : String | Nil = nil, file_path : MessageDeltaContentTextAnnotationsFilePathObjectFilePath | 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_path
Source
file_path=(file_path : MessageDeltaContentTextAnnotationsFilePathObjectFilePath | 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_path.

Source
type_value=(type_value : MessageDeltaContentTextAnnotationsFilePathObjectType)

Always file_path.

Source