Module: OpenAI::Models::Responses::ToolChoiceTypes::Type
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/responses/tool_choice_types.rb
Overview
The type of hosted tool the model should to use. Learn more about built-in tools.
Allowed values are:
file_searchweb_search_previewcomputer_use_previewcode_interpreterimage_generation
Constant Summary collapse
- FILE_SEARCH =
:file_search- WEB_SEARCH_PREVIEW =
:web_search_preview- COMPUTER_USE_PREVIEW =
:computer_use_preview- WEB_SEARCH_PREVIEW_2025_03_11 =
:web_search_preview_2025_03_11- IMAGE_GENERATION =
:image_generation- CODE_INTERPRETER =
:code_interpreter
Class Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, 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, new_coerce_state, type_info
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/responses/tool_choice_types.rb', line 53
|