struct

AI::OpenAI::Responses::LogprobsValue

Inherits JSON::Serializable < Struct < Value < Object

Logprobs value can be a boolean or a number (1-20)

Constructors

new(value : Bool | Int32)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

==(other : LogprobsValue) : Bool
Source
to_json(json : JSON::Builder) : Nil
Source
value
Source