class

OpenAI::CreateModelResponseProperties

Inherits JSON::Serializable < Reference < Object

Constructors

new(top_logprobs : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

top_logprobs

An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability.

Source
top_logprobs=(top_logprobs : Int64 | Nil)

An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability.

Source