class

OpenAI::TranscriptTextDeltaEventLogprobsItem

Inherits JSON::Serializable < Reference < Object

Constructors

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

Instance methods

bytes

The bytes that were used to generate the log probability.

Source
bytes=(bytes : Array(Int64) | Nil)

The bytes that were used to generate the log probability.

Source
logprob

The log probability of the token.

Source
logprob=(logprob : Float64 | Nil)

The log probability of the token.

Source
token

The token that was used to generate the log probability.

Source
token=(token : String | Nil)

The token that was used to generate the log probability.

Source