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

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

Overview

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

See Also:

  • OpenAI::Models::Beta::AssistantToolChoice#type

Constant Summary collapse

FUNCTION =

Returns:

  • (:function)
:function
CODE_INTERPRETER =

Returns:

  • (:code_interpreter)
:code_interpreter
FILE_SEARCH =

Returns:

  • (:file_search)
:file_search

Class Method Summary collapse

Instance 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, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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

Instance Method Details

#self?.values::Array[OpenAI::Models::Beta::AssistantToolChoice::type_]

Returns:

  • (::Array[OpenAI::Models::Beta::AssistantToolChoice::type_])


38
# File 'sig/openai/models/beta/assistant_tool_choice.rbs', line 38

def self?.values: -> ::Array[OpenAI::Models::Beta::AssistantToolChoice::type_]