struct

Crig::Providers::XAI::CompletionResponse

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(id : String, model : String, output : Array(Crig::Providers::OpenAI::Output), created : Int64 = 0_i64, object : String = "", status : String | Nil = nil, usage : Crig::Providers::OpenAI::ResponsesUsage | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created
Source
model
Source
object
Source
output
Source
status
Source
to_crig_response
Source
usage
Source