class

OpenAI::ContainerFileCitationBody

Inherits JSON::Serializable < Reference < Object

A citation for a container file used to generate a model response.

Constructors

new(type_value : ContainerFileCitationBodyType = ContainerFileCitationBodyType::ContainerFileCitation, container_id : String = "", file_id : String = "", start_index : Int64 = 0, end_index : Int64 = 0, filename : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

container_id

The ID of the container file.

Source
container_id=(container_id : String)

The ID of the container file.

Source
end_index

The index of the last character of the container file citation in the message.

Source
end_index=(end_index : Int64)

The index of the last character of the container file citation in the message.

Source
file_id

The ID of the file.

Source
file_id=(file_id : String)

The ID of the file.

Source
filename

The filename of the container file cited.

Source
filename=(filename : String)

The filename of the container file cited.

Source
start_index

The index of the first character of the container file citation in the message.

Source
start_index=(start_index : Int64)

The index of the first character of the container file citation in the message.

Source
type_value

The type of the container file citation. Always container_file_citation.

Source
type_value=(type_value : ContainerFileCitationBodyType)

The type of the container file citation. Always container_file_citation.

Source