struct

Crig::Providers::HuggingFace::Choice

Inherits JSON::Serializable < Struct < Value < Object

Constructors

from_json_value(value : JSON::Any) : self
Source
new(finish_reason : String, index : Int32, message : Message, logprobs : JSON::Any = JSON.parse("null"))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

finish_reason
Source
index
Source
logprobs
Source
message
Source