Class: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput
- Defined in:
- lib/openai/models/beta/beta_response_input_item.rb,
sig/openai/models/beta/beta_response_input_item.rbs
Defined Under Namespace
Modules: Action Classes: Agent, Output
Instance Attribute Summary collapse
-
#action ⇒ OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::action
The multi-agent action that produced this result.
-
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::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 this multi-agent call output.
-
#output ⇒ ::Array[OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output]
Text output returned by the multi-agent action.
-
#type ⇒ :multi_agent_call_output
The item type.
Attributes inherited from Internal::Type::BaseModel
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::Annotation::FileCitation, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::Annotation::URLCitation, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::Annotation::ContainerFileCitation)
Instance Method Summary collapse
-
#initialize(container_id:, end_index:, file_id:, filename:, start_index:, type: :container_file_citation) ⇒ MultiAgentCallOutput
constructor
A new instance of MultiAgentCallOutput.
- #to_hash ⇒ { action: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::action, call_id: String, output: ::Array[OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output], ?type: :multi_agent_call_output, ?id: String?, ?agent: OpenAI::Beta::BetaResponseInputItem::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(container_id:, end_index:, file_id:, filename:, start_index:, type: :container_file_citation) ⇒ MultiAgentCallOutput
Returns a new instance of MultiAgentCallOutput.
|
|
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 838
|
Instance Attribute Details
#action ⇒ OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::action
The multi-agent action that produced this result.
803 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 803 required :action, enum: -> { OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Action } |
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Agent?
The agent that produced this item.
836 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 836 optional :agent, -> { OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Agent }, nil?: true |
#call_id ⇒ String
The unique ID of the multi-agent call.
809 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 809 required :call_id, String |
#id ⇒ String?
The unique ID of this multi-agent call output.
830 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 830 optional :id, String, nil?: true |
#output ⇒ ::Array[OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output]
Text output returned by the multi-agent action.
815 816 817 818 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 815 required( :output, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output] } ) |
#type ⇒ :multi_agent_call_output
The item type. Always multi_agent_call_output.
824 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 824 required :type, const: :multi_agent_call_output |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 870
|
.variants ⇒ Array(OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::Annotation::FileCitation, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::Annotation::URLCitation, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output::Annotation::ContainerFileCitation)
|
|
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 1075
|
Instance Method Details
#to_hash ⇒ { action: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::action, call_id: String, output: ::Array[OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output], ?type: :multi_agent_call_output, ?id: String?, ?agent: OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Agent? }
703 704 705 706 707 708 709 710 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 703
def to_hash: -> {
action: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::action,
call_id: String,
output: ::Array[OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output],
?type: :multi_agent_call_output,
?id: String?,
?agent: OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Agent?
}
|