class

OpenAI::MessageContentTextAnnotationsFilePathObject

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(type_value : MessageContentTextAnnotationsFilePathObjectType = MessageContentTextAnnotationsFilePathObjectType::FilePath, text : String = "", file_path : MessageContentTextAnnotationsFilePathObjectFilePath = MessageContentTextAnnotationsFilePathObjectFilePath.new, start_index : Int64 = 0, end_index : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

end_index
Source
end_index=(end_index : Int64)
Source
file_path
Source
file_path=(file_path : MessageContentTextAnnotationsFilePathObjectFilePath)
Source
start_index
Source
start_index=(start_index : Int64)
Source
text

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

Source
text=(text : String)

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

Source
type_value

Always file_path.

Source
type_value=(type_value : MessageContentTextAnnotationsFilePathObjectType)

Always file_path.

Source
validate!
Source