Module: OpenAI::Models::Responses::InputTokenCountParams::ToolChoice
- 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
Controls which tool the model should use, if any.
Defined Under Namespace
Classes: SpecificProgrammaticToolCallingParam
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, 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
Instance Method Details
#self?.variants ⇒ ::Array[OpenAI::Models::Responses::InputTokenCountParams::tool_choice]
183 |
# File 'sig/openai/models/responses/input_token_count_params.rbs', line 183
def self?.variants: -> ::Array[OpenAI::Models::Responses::InputTokenCountParams::tool_choice]
|