Class: OpenAI::Models::Beta::Threads::Runs::FunctionToolCallDelta::Function
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Threads::Runs::FunctionToolCallDelta::Function
- Defined in:
- lib/openai/models/beta/threads/runs/function_tool_call_delta.rb,
sig/openai/models/beta/threads/runs/function_tool_call_delta.rbs
Overview
Instance Attribute Summary collapse
-
#arguments ⇒ String?
The arguments passed to the function.
-
#name ⇒ String?
The name of the function.
-
#output ⇒ String?
The output of the function.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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(arguments: nil, name: nil, output: nil) ⇒ Object
|
|
# File 'lib/openai/models/beta/threads/runs/function_tool_call_delta.rb', line 69
|
Instance Attribute Details
#arguments ⇒ String?
The arguments passed to the function.
54 |
# File 'lib/openai/models/beta/threads/runs/function_tool_call_delta.rb', line 54 optional :arguments, String |
#name ⇒ String?
The name of the function.
60 |
# File 'lib/openai/models/beta/threads/runs/function_tool_call_delta.rb', line 60 optional :name, String |
#output ⇒ String?
The output of the function. This will be null if the outputs have not been
submitted yet.
67 |
# File 'lib/openai/models/beta/threads/runs/function_tool_call_delta.rb', line 67 optional :output, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
92 |
# File 'sig/openai/models/beta/threads/runs/function_tool_call_delta.rbs', line 92
def to_hash: -> {
|