Class: OpenAI::Models::Beta::Threads::RequiredActionFunctionToolCall::Function
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Threads::RequiredActionFunctionToolCall::Function
- Defined in:
- lib/openai/models/beta/threads/required_action_function_tool_call.rb
Overview
Instance Attribute Summary collapse
-
#arguments ⇒ String
The arguments that the model expects you to pass to the function.
-
#name ⇒ String
The name of the function.
Instance Method Summary collapse
-
#initialize(arguments: , name: ) ⇒ Object
constructor
The function definition.
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, 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(arguments: , name: ) ⇒ Object
The function definition.
|
# File 'lib/openai/models/beta/threads/required_action_function_tool_call.rb', line 57
|
Instance Attribute Details
#arguments ⇒ String
The arguments that the model expects you to pass to the function.
49 |
# File 'lib/openai/models/beta/threads/required_action_function_tool_call.rb', line 49 required :arguments, String |
#name ⇒ String
The name of the function.
55 |
# File 'lib/openai/models/beta/threads/required_action_function_tool_call.rb', line 55 required :name, String |