Module: OpenAI::Models::Responses::CustomTool::AllowedCaller
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/responses/custom_tool.rb,
sig/openai/models/responses/custom_tool.rbs
Constant Summary collapse
- DIRECT =
:direct- PROGRAMMATIC =
:programmatic
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, allowed_callers: nil, async: nil, defer_loading: nil, description: nil, format_: nil, type: :custom) ⇒ Object
A custom tool that processes input using a specified format.
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type
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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/responses/custom_tool.rb', line 85
|
Instance Method Details
#initialize(name:, allowed_callers: nil, async: nil, defer_loading: nil, description: nil, format_: nil, type: :custom) ⇒ Object
A custom tool that processes input using a specified format. Learn more about custom tools
79 80 81 82 83 84 85 86 87 |
# File 'lib/openai/models/responses/custom_tool.rb', line 79 module AllowedCaller extend OpenAI::Internal::Type::Enum DIRECT = :direct PROGRAMMATIC = :programmatic # @!method self.values # @return [Array<Symbol>] end |