class

OpenAI::FilePath

Inherits JSON::Serializable < Reference < Object

A path to a file.

Constructors

new(type_value : FilePathType = FilePathType::FilePath, file_id : String = "", index : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

file_id

The ID of the file.

Source
file_id=(file_id : String)

The ID of the file.

Source
index

The index of the file in the list of files.

Source
index=(index : Int64)

The index of the file in the list of files.

Source
type_value

The type of the file path. Always file_path.

Source
type_value=(type_value : FilePathType)

The type of the file path. Always file_path.

Source