Module: OpenAI::Models::Beta::AssistantToolChoice::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/beta/assistant_tool_choice.rb

Overview

The type of the tool. If type is ‘function`, the function name must be set

See Also:

Constant Summary collapse

FUNCTION =
:function
CODE_INTERPRETER =
:code_interpreter
FILE_SEARCH =
:file_search

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, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/beta/assistant_tool_choice.rb', line 36