Class: OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::MultiAgentCallOutput

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
sig/openai/models/beta/beta_response_output_item.rbs

Defined Under Namespace

Modules: Action Classes: Agent

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, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializeObject



339
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 339

def initialize: (

Instance Attribute Details

#actionOpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCallOutput::action

Returns the value of attribute action.

Returns:

  • (OpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCallOutput::action)


325
326
327
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 325

def action
  @action
end

#agentOpenAI::Beta::BetaResponseOutputItem::MultiAgentCallOutput::Agent? (readonly)

Returns the value of attribute agent.

Returns:

  • (OpenAI::Beta::BetaResponseOutputItem::MultiAgentCallOutput::Agent, nil)


333
334
335
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 333

def agent
  @agent
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


327
328
329
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 327

def call_id
  @call_id
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


323
324
325
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 323

def id
  @id
end

#output::Array[OpenAI::Beta::BetaResponseOutputText]

Returns the value of attribute output.

Returns:

  • (::Array[OpenAI::Beta::BetaResponseOutputText])


329
330
331
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 329

def output
  @output
end

#type:multi_agent_call_output

Returns the value of attribute type.

Returns:

  • (:multi_agent_call_output)


331
332
333
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 331

def type
  @type
end

Instance Method Details

#agent=Object (readonly)



335
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 335

def agent=: (

#to_hash{

Returns:

  • ({)


348
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 348

def to_hash: -> {