Module: OpenAI::Models::Realtime::RealtimeToolChoiceConfig
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/realtime/realtime_tool_choice_config.rb,
sig/openai/models/realtime/realtime_tool_choice_config.rbs
Overview
How the model chooses tools. Provide one of the string modes or force a specific function/MCP tool.
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(Symbol, OpenAI::Models::Responses::ToolChoiceOptions, OpenAI::Models::Responses::ToolChoiceFunction, OpenAI::Models::Responses::ToolChoiceMcp)
|
|
# File 'lib/openai/models/realtime/realtime_tool_choice_config.rb', line 27
|
Instance Method Details
#self?.variants ⇒ ::Array[OpenAI::Models::Realtime::realtime_tool_choice_config]
12 |
# File 'sig/openai/models/realtime/realtime_tool_choice_config.rbs', line 12
def self?.variants: -> ::Array[OpenAI::Models::Realtime::realtime_tool_choice_config]
|