class

OpenAI::ResponseLogProbTopLogprobsItem

Inherits JSON::Serializable < Reference < Object

Constructors

new(token : String | Nil = nil, logprob : Float64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

logprob

The log probability of this token.

Source
logprob=(logprob : Float64 | Nil)

The log probability of this token.

Source
token

A possible text token.

Source
token=(token : String | Nil)

A possible text token.

Source