Class: OpenAI::Models::CompletionChoice::Logprobs
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, inspect, #inspect, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(text_offset: nil, token_logprobs: nil, tokens: nil, top_logprobs: nil) ⇒ void
|
# File 'lib/openai/models/completion_choice.rb', line 81
|
Instance Attribute Details
#text_offset ⇒ Array<Integer>?
64
|
# File 'lib/openai/models/completion_choice.rb', line 64
optional :text_offset, OpenAI::Internal::Type::ArrayOf[Integer]
|
#token_logprobs ⇒ Array<Float>?
69
|
# File 'lib/openai/models/completion_choice.rb', line 69
optional :token_logprobs, OpenAI::Internal::Type::ArrayOf[Float]
|
#tokens ⇒ Array<String>?
74
|
# File 'lib/openai/models/completion_choice.rb', line 74
optional :tokens, OpenAI::Internal::Type::ArrayOf[String]
|
#top_logprobs ⇒ Array<Hash{Symbol=>Float}>?
79
|
# File 'lib/openai/models/completion_choice.rb', line 79
optional :top_logprobs, OpenAI::Internal::Type::ArrayOf[OpenAI::Internal::Type::HashOf[Float]]
|