OpenAI::ContainerFileCitationBody
Inherits JSON::Serializable < Reference < Object
A citation for a container file used to generate a model response.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ContainerFileCitationBodyType = ContainerFileCitationBodyType::ContainerFileCitation, container_id : String = "", file_id : String = "", start_index : Int64 = 0, end_index : Int64 = 0, filename : String = "")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
end_index=(end_index : Int64)
The index of the last character of the container file citation in the message.
start_index=(start_index : Int64)
The index of the first character of the container file citation in the message.
type_value=(type_value : ContainerFileCitationBodyType)
The type of the container file citation. Always container_file_citation.