Class: OpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCallOutput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCallOutput
- Defined in:
- lib/openai/models/beta/beta_response_output_item.rb,
sig/openai/models/beta/beta_response_output_item.rbs
Defined Under Namespace
Modules: Action Classes: Agent
Instance Attribute Summary collapse
-
#action ⇒ OpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCallOutput::action
The multi-agent action that produced this result.
-
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::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::BetaResponseOutputItem::MultiAgentCallOutput::action, call_id: String, output: ::Array[OpenAI::Beta::BetaResponseOutputText], ?type: :multi_agent_call_output, ?agent: OpenAI::Beta::BetaResponseOutputItem::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_output_item.rb', line 563
|
Instance Attribute Details
#action ⇒ OpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCallOutput::action
The multi-agent action that produced this result.
537 |
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 537 required :action, enum: -> { OpenAI::Beta::BetaResponseOutputItem::MultiAgentCallOutput::Action } |
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::MultiAgentCallOutput::Agent?
The agent that produced this item.
561 |
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 561 optional :agent, -> { OpenAI::Beta::BetaResponseOutputItem::MultiAgentCallOutput::Agent } |
#call_id ⇒ String
The unique ID of the multi-agent call.
543 |
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 543 required :call_id, String |
#id ⇒ String
The unique ID of the multi-agent call output item.
531 |
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 531 required :id, String |
#output ⇒ ::Array[OpenAI::Beta::BetaResponseOutputText]
Text output returned by the multi-agent action.
549 |
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 549 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.
555 |
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 555 required :type, const: :multi_agent_call_output |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 595
|
Instance Method Details
#to_hash ⇒ { id: String, action: OpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCallOutput::action, call_id: String, output: ::Array[OpenAI::Beta::BetaResponseOutputText], ?type: :multi_agent_call_output, ?agent: OpenAI::Beta::BetaResponseOutputItem::MultiAgentCallOutput::Agent }
489 490 491 492 493 494 495 496 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 489
def to_hash: -> {
id: String,
action: OpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCallOutput::action,
call_id: String,
output: ::Array[OpenAI::Beta::BetaResponseOutputText],
?type: :multi_agent_call_output,
?agent: OpenAI::Beta::BetaResponseOutputItem::MultiAgentCallOutput::Agent
}
|