Class: OpenAI::Models::Beta::Threads::Runs::FunctionToolCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Threads::Runs::FunctionToolCall
- Defined in:
- lib/openai/models/beta/threads/runs/function_tool_call.rb
Defined Under Namespace
Classes: Function
Instance Attribute Summary collapse
-
#function ⇒ OpenAI::Models::Beta::Threads::Runs::FunctionToolCall::Function
The definition of the function that was called.
-
#id ⇒ String
The ID of the tool call object.
-
#type ⇒ Symbol, :function
The type of tool call.
Instance Method Summary collapse
-
#initialize(id: , function: , type: :function) ⇒ Object
constructor
Some parameter documentations has been truncated, see FunctionToolCall for more details.
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(id: , function: , type: :function) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::Threads::Runs::FunctionToolCall for more details.
|
# File 'lib/openai/models/beta/threads/runs/function_tool_call.rb', line 28
|
Instance Attribute Details
#function ⇒ OpenAI::Models::Beta::Threads::Runs::FunctionToolCall::Function
The definition of the function that was called.
19 |
# File 'lib/openai/models/beta/threads/runs/function_tool_call.rb', line 19 required :function, -> { OpenAI::Beta::Threads::Runs::FunctionToolCall::Function } |
#id ⇒ String
The ID of the tool call object.
13 |
# File 'lib/openai/models/beta/threads/runs/function_tool_call.rb', line 13 required :id, String |
#type ⇒ Symbol, :function
The type of tool call. This is always going to be ‘function` for this type of tool call.
26 |
# File 'lib/openai/models/beta/threads/runs/function_tool_call.rb', line 26 required :type, const: :function |