Class: OpenAI::Models::Chat::ChatCompletionAllowedToolChoice
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Chat::ChatCompletionAllowedToolChoice
- Defined in:
- lib/openai/models/chat/chat_completion_allowed_tool_choice.rb
Instance Attribute Summary collapse
-
#allowed_tools ⇒ OpenAI::Models::Chat::ChatCompletionAllowedTools
Constrains the tools available to the model to a pre-defined set.
-
#type ⇒ Symbol, :allowed_tools
Allowed tool configuration type.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from OpenAI::Internal::Type::BaseModel
Instance Attribute Details
#allowed_tools ⇒ OpenAI::Models::Chat::ChatCompletionAllowedTools
Constrains the tools available to the model to a pre-defined set.
11 |
# File 'lib/openai/models/chat/chat_completion_allowed_tool_choice.rb', line 11 required :allowed_tools, -> { OpenAI::Chat::ChatCompletionAllowedTools } |
#type ⇒ Symbol, :allowed_tools
Allowed tool configuration type. Always ‘allowed_tools`.
17 |
# File 'lib/openai/models/chat/chat_completion_allowed_tool_choice.rb', line 17 required :type, const: :allowed_tools |