Module: OpenAI::Models::Responses::InputTokenCountParams::Personality
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/responses/input_token_count_params.rb,
sig/openai/models/responses/input_token_count_params.rbs
Overview
A model-owned style preset to apply to this request. Omit this parameter to use the model's default style. Supported values may expand over time. Values must be at most 64 characters.
collapse
- FRIENDLY =
:friendly- PRAGMATIC =
:pragmatic
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.variants ⇒ Array(String, Symbol)
194 195 196 |
# File 'lib/openai/models/responses/input_token_count_params.rb', line 194 define_sorbet_constant!(:Variants) do T.type_alias { T.any(String, OpenAI::Responses::InputTokenCountParams::Personality::TaggedSymbol) } end |
Instance Method Details
#self?.variants ⇒ ::Array[OpenAI::Models::Responses::InputTokenCountParams::personality]
114 |
# File 'sig/openai/models/responses/input_token_count_params.rbs', line 114
def self?.variants: -> ::Array[OpenAI::Models::Responses::InputTokenCountParams::personality]
|