OpenAI::ChatCompletionTokenLogprobTopLogprobsItem
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(token : String = "", logprob : Float64 = 0.0, bytes : ChatCompletionTokenLogprobTopLogprobsItemBytes = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
bytes
Sourcebytes=(bytes : ChatCompletionTokenLogprobTopLogprobsItemBytes)
Sourcelogprob
The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value -9999.0 is used to signify that the token is very unlikely.