struct

Crig::Providers::HuggingFace::CompletionResponse

Inherits JSON::Serializable < Struct < Value < Object

Constructors

from_json_value(value : JSON::Any) : self
Source
new(created : Int32, id : String, model : String, choices : Array(Choice), usage : Usage, system_fingerprint : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

choices
Source
created
Source
model
Source
system_fingerprint
Source
to_completion_response
Source
usage
Source