struct

AI::OpenAI::Responses::Logprob

Inherits JSON::Serializable < Struct < Value < Object

Logprob entry with top alternatives

Constructors

new(token : String, logprob : Float64, top_logprobs : Array(TopLogprob))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

logprob
Source
token
Source
top_logprobs
Source