Class: OpenAI::Models::Beta::Threads::Runs::FunctionToolCallDelta::Function

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/beta/threads/runs/function_tool_call_delta.rb

Overview

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

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: nil, name: nil, output: nil) ⇒ Object

Some parameter documentations has been truncated, see OpenAI::Models::Beta::Threads::Runs::FunctionToolCallDelta::Function for more details.

The definition of the function that was called.

Parameters:

  • arguments (String) (defaults to: nil)

    The arguments passed to the function.

  • name (String) (defaults to: nil)

    The name of the function.

  • output (String, nil) (defaults to: nil)

    The output of the function. This will be ‘null` if the outputs have not been [su



# File 'lib/openai/models/beta/threads/runs/function_tool_call_delta.rb', line 68

Instance Attribute Details

#argumentsString?

The arguments passed to the function.

Returns:

  • (String, nil)


52
# File 'lib/openai/models/beta/threads/runs/function_tool_call_delta.rb', line 52

optional :arguments, String

#nameString?

The name of the function.

Returns:

  • (String, nil)


58
# File 'lib/openai/models/beta/threads/runs/function_tool_call_delta.rb', line 58

optional :name, String

#outputString?

The output of the function. This will be ‘null` if the outputs have not been [submitted](platform.openai.com/docs/api-reference/runs/submitToolOutputs) yet.

Returns:

  • (String, nil)


66
# File 'lib/openai/models/beta/threads/runs/function_tool_call_delta.rb', line 66

optional :output, String, nil?: true