Class: OpenAI::Models::Responses::InputTokenCountParams::ToolChoice::SpecificProgrammaticToolCallingParam
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::InputTokenCountParams::ToolChoice::SpecificProgrammaticToolCallingParam
- Defined in:
- lib/openai/models/responses/input_token_count_params.rb,
sig/openai/models/responses/input_token_count_params.rbs
Instance Attribute Summary collapse
-
#type ⇒ Symbol, :programmatic_tool_calling
The tool to call.
Instance Method Summary collapse
-
#initialize ⇒ SpecificProgrammaticToolCallingParam
constructor
A new instance of SpecificProgrammaticToolCallingParam.
- #to_hash ⇒ { type: :programmatic_tool_calling }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ SpecificProgrammaticToolCallingParam
Returns a new instance of SpecificProgrammaticToolCallingParam.
178 |
# File 'sig/openai/models/responses/input_token_count_params.rbs', line 178
def initialize: (?type: :programmatic_tool_calling) -> void
|
Instance Attribute Details
#type ⇒ Symbol, :programmatic_tool_calling
The tool to call. Always programmatic_tool_calling.
311 |
# File 'lib/openai/models/responses/input_token_count_params.rb', line 311 required :type, const: :programmatic_tool_calling |
Instance Method Details
#to_hash ⇒ { type: :programmatic_tool_calling }
180 |
# File 'sig/openai/models/responses/input_token_count_params.rbs', line 180
def to_hash: -> { type: :programmatic_tool_calling }
|