Module: OpenAI::Models::Beta::BetaToolChoiceTypes::Type
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/beta/beta_tool_choice_types.rb,
sig/openai/models/beta/beta_tool_choice_types.rbs
Overview
The type of hosted tool the model should to use. Learn more about built-in tools.
Allowed values are:
file_searchweb_search_previewcomputercomputer_use_previewcomputer_usecode_interpreterimage_generation
Constant Summary collapse
- FILE_SEARCH =
:file_search- WEB_SEARCH_PREVIEW =
:web_search_preview- COMPUTER =
:computer- COMPUTER_USE_PREVIEW =
:computer_use_preview- COMPUTER_USE =
:computer_use- WEB_SEARCH_PREVIEW_2025_03_11 =
:web_search_preview_2025_03_11- IMAGE_GENERATION =
:image_generation- CODE_INTERPRETER =
:code_interpreter
Instance Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values
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?.values ⇒ ::Array[OpenAI::Models::Beta::BetaToolChoiceTypes::type_]
42 |
# File 'sig/openai/models/beta/beta_tool_choice_types.rbs', line 42
def self?.values: -> ::Array[OpenAI::Models::Beta::BetaToolChoiceTypes::type_]
|