Class: OpenAI::Models::Evals::RunListResponse::DataSource::Responses::SamplingParams

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/evals/run_list_response.rb

Overview

See Also:

Instance Attribute Summary collapse

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_tokensInteger?

The maximum number of tokens in the generated output.

Returns:

  • (Integer, nil)


605
# File 'lib/openai/models/evals/run_list_response.rb', line 605

optional :max_completion_tokens, Integer

#seedInteger?

A seed value to initialize the randomness, during sampling.

Returns:

  • (Integer, nil)


611
# File 'lib/openai/models/evals/run_list_response.rb', line 611

optional :seed, Integer

#temperatureFloat?

A higher temperature increases randomness in the outputs.

Returns:

  • (Float, nil)


617
# File 'lib/openai/models/evals/run_list_response.rb', line 617

optional :temperature, Float

#top_pFloat?

An alternative to temperature for nucleus sampling; 1.0 includes all tokens.

Returns:

  • (Float, nil)


623
# File 'lib/openai/models/evals/run_list_response.rb', line 623

optional :top_p, Float