Class: OpenAI::Models::Evals::RunCancelResponse::DataSource::Responses::SamplingParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Evals::RunCancelResponse::DataSource::Responses::SamplingParams
- Defined in:
- lib/openai/models/evals/run_cancel_response.rb
Overview
Instance Attribute Summary collapse
-
#max_completion_tokens ⇒ Integer?
The maximum number of tokens in the generated output.
-
#seed ⇒ Integer?
A seed value to initialize the randomness, during sampling.
-
#temperature ⇒ Float?
A higher temperature increases randomness in the outputs.
-
#top_p ⇒ Float?
An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from OpenAI::Internal::Type::BaseModel
Instance Attribute Details
#max_completion_tokens ⇒ Integer?
The maximum number of tokens in the generated output.
605 |
# File 'lib/openai/models/evals/run_cancel_response.rb', line 605 optional :max_completion_tokens, Integer |
#seed ⇒ Integer?
A seed value to initialize the randomness, during sampling.
611 |
# File 'lib/openai/models/evals/run_cancel_response.rb', line 611 optional :seed, Integer |
#temperature ⇒ Float?
A higher temperature increases randomness in the outputs.
617 |
# File 'lib/openai/models/evals/run_cancel_response.rb', line 617 optional :temperature, Float |
#top_p ⇒ Float?
An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
623 |
# File 'lib/openai/models/evals/run_cancel_response.rb', line 623 optional :top_p, Float |