Class: OpenAI::Models::Beta::Threads::RunSubmitToolOutputsParams::ToolOutput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Threads::RunSubmitToolOutputsParams::ToolOutput
- Defined in:
- lib/openai/models/beta/threads/run_submit_tool_outputs_params.rb
Instance Attribute Summary collapse
-
#output ⇒ String?
The output of the tool call to be submitted to continue the run.
-
#tool_call_id ⇒ String?
The ID of the tool call in the ‘required_action` object within the run object the output is being submitted for.
Instance Method Summary collapse
-
#initialize(output: nil, tool_call_id: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ToolOutput 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(output: nil, tool_call_id: nil) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::Threads::RunSubmitToolOutputsParams::ToolOutput for more details.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/openai/models/beta/threads/run_submit_tool_outputs_params.rb', line 35 class ToolOutput < OpenAI::Internal::Type::BaseModel # @!attribute output # The output of the tool call to be submitted to continue the run. # # @return [String, nil] optional :output, String # @!attribute tool_call_id # The ID of the tool call in the `required_action` object within the run object # the output is being submitted for. # # @return [String, nil] optional :tool_call_id, String # @!method initialize(output: nil, tool_call_id: nil) # Some parameter documentations has been truncated, see # {OpenAI::Models::Beta::Threads::RunSubmitToolOutputsParams::ToolOutput} for more # details. # # @param output [String] The output of the tool call to be submitted to continue the run. # # @param tool_call_id [String] The ID of the tool call in the `required_action` object within the run object th end |
Instance Attribute Details
#output ⇒ String?
The output of the tool call to be submitted to continue the run.
40 |
# File 'lib/openai/models/beta/threads/run_submit_tool_outputs_params.rb', line 40 optional :output, String |
#tool_call_id ⇒ String?
The ID of the tool call in the ‘required_action` object within the run object the output is being submitted for.
47 |
# File 'lib/openai/models/beta/threads/run_submit_tool_outputs_params.rb', line 47 optional :tool_call_id, String |