Class: OpenAI::Models::Beta::BetaResponseItem::MultiAgentCallOutput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::BetaResponseItem::MultiAgentCallOutput
- Defined in:
- lib/openai/models/beta/beta_response_item.rb,
sig/openai/models/beta/beta_response_item.rbs
Defined Under Namespace
Modules: Action Classes: Agent
Instance Attribute Summary collapse
-
#action ⇒ OpenAI::Models::Beta::BetaResponseItem::MultiAgentCallOutput::action
The multi-agent action that produced this result.
-
#agent ⇒ OpenAI::Beta::BetaResponseItem::MultiAgentCallOutput::Agent?
The agent that produced this item.
-
#call_id ⇒ String
The unique ID of the multi-agent call.
-
#id ⇒ String
The unique ID of the multi-agent call output item.
-
#output ⇒ ::Array[OpenAI::Beta::BetaResponseOutputText]
Text output returned by the multi-agent action.
-
#type ⇒ :multi_agent_call_output
The type of the multi-agent result.
Attributes inherited from Internal::Type::BaseModel
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, action:, call_id:, output:, agent: nil, type: :multi_agent_call_output) ⇒ MultiAgentCallOutput
constructor
A new instance of MultiAgentCallOutput.
- #to_hash ⇒ { id: String, action: OpenAI::Models::Beta::BetaResponseItem::MultiAgentCallOutput::action, call_id: String, output: ::Array[OpenAI::Beta::BetaResponseOutputText], ?type: :multi_agent_call_output, ?agent: OpenAI::Beta::BetaResponseItem::MultiAgentCallOutput::Agent }
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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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:, action:, call_id:, output:, agent: nil, type: :multi_agent_call_output) ⇒ MultiAgentCallOutput
Returns a new instance of MultiAgentCallOutput.
|
|
# File 'lib/openai/models/beta/beta_response_item.rb', line 564
|
Instance Attribute Details
#action ⇒ OpenAI::Models::Beta::BetaResponseItem::MultiAgentCallOutput::action
The multi-agent action that produced this result.
538 |
# File 'lib/openai/models/beta/beta_response_item.rb', line 538 required :action, enum: -> { OpenAI::Beta::BetaResponseItem::MultiAgentCallOutput::Action } |
#agent ⇒ OpenAI::Beta::BetaResponseItem::MultiAgentCallOutput::Agent?
The agent that produced this item.
562 |
# File 'lib/openai/models/beta/beta_response_item.rb', line 562 optional :agent, -> { OpenAI::Beta::BetaResponseItem::MultiAgentCallOutput::Agent } |
#call_id ⇒ String
The unique ID of the multi-agent call.
544 |
# File 'lib/openai/models/beta/beta_response_item.rb', line 544 required :call_id, String |
#id ⇒ String
The unique ID of the multi-agent call output item.
532 |
# File 'lib/openai/models/beta/beta_response_item.rb', line 532 required :id, String |
#output ⇒ ::Array[OpenAI::Beta::BetaResponseOutputText]
Text output returned by the multi-agent action.
550 |
# File 'lib/openai/models/beta/beta_response_item.rb', line 550 required :output, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Beta::BetaResponseOutputText] } |
#type ⇒ :multi_agent_call_output
The type of the multi-agent result. Always multi_agent_call_output.
556 |
# File 'lib/openai/models/beta/beta_response_item.rb', line 556 required :type, const: :multi_agent_call_output |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/beta/beta_response_item.rb', line 596
|
Instance Method Details
#to_hash ⇒ { id: String, action: OpenAI::Models::Beta::BetaResponseItem::MultiAgentCallOutput::action, call_id: String, output: ::Array[OpenAI::Beta::BetaResponseOutputText], ?type: :multi_agent_call_output, ?agent: OpenAI::Beta::BetaResponseItem::MultiAgentCallOutput::Agent }
491 492 493 494 495 496 497 498 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 491
def to_hash: -> {
id: String,
action: OpenAI::Models::Beta::BetaResponseItem::MultiAgentCallOutput::action,
call_id: String,
output: ::Array[OpenAI::Beta::BetaResponseOutputText],
?type: :multi_agent_call_output,
?agent: OpenAI::Beta::BetaResponseItem::MultiAgentCallOutput::Agent
}
|