Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::MultiAgentCallOutput

Inherits:
Internal::Type::BaseModel show all
Defined in:
sig/openai/models/beta/beta_response_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



340
# File 'sig/openai/models/beta/beta_response_item.rbs', line 340

def initialize: (

Instance Attribute Details

#actionOpenAI::Models::Beta::BetaResponseItem::MultiAgentCallOutput::action

Returns the value of attribute action.

Returns:

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


326
327
328
# File 'sig/openai/models/beta/beta_response_item.rbs', line 326

def action
  @action
end

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

Returns the value of attribute agent.

Returns:

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


334
335
336
# File 'sig/openai/models/beta/beta_response_item.rbs', line 334

def agent
  @agent
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


328
329
330
# File 'sig/openai/models/beta/beta_response_item.rbs', line 328

def call_id
  @call_id
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


324
325
326
# File 'sig/openai/models/beta/beta_response_item.rbs', line 324

def id
  @id
end

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

Returns the value of attribute output.

Returns:

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


330
331
332
# File 'sig/openai/models/beta/beta_response_item.rbs', line 330

def output
  @output
end

#type:multi_agent_call_output

Returns the value of attribute type.

Returns:

  • (:multi_agent_call_output)


332
333
334
# File 'sig/openai/models/beta/beta_response_item.rbs', line 332

def type
  @type
end

Instance Method Details

#agent=Object (readonly)



336
# File 'sig/openai/models/beta/beta_response_item.rbs', line 336

def agent=: (

#to_hash{

Returns:

  • ({)


349
# File 'sig/openai/models/beta/beta_response_item.rbs', line 349

def to_hash: -> {