Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::ToolSearchCall

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

Defined Under Namespace

Modules: Execution, Status 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



755
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 755

def initialize: (

Instance Attribute Details

#agentOpenAI::Beta::BetaResponseInputItem::ToolSearchCall::Agent?

Returns the value of attribute agent.

Returns:

  • (OpenAI::Beta::BetaResponseInputItem::ToolSearchCall::Agent, nil)


743
744
745
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 743

def agent
  @agent
end

#argumentstop

Returns the value of attribute arguments.

Returns:

  • (top)


737
738
739
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 737

def arguments
  @arguments
end

#call_idString?

Returns the value of attribute call_id.

Returns:

  • (String, nil)


745
746
747
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 745

def call_id
  @call_id
end

#executionOpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall::execution? (readonly)

Returns the value of attribute execution.

Returns:

  • (OpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall::execution, nil)


747
748
749
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 747

def execution
  @execution
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


741
742
743
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 741

def id
  @id
end

#statusOpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall::status?

Returns the value of attribute status.

Returns:

  • (OpenAI::Models::Beta::BetaResponseInputItem::ToolSearchCall::status, nil)


753
754
755
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 753

def status
  @status
end

#type:tool_search_call

Returns the value of attribute type.

Returns:

  • (:tool_search_call)


739
740
741
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 739

def type
  @type
end

Instance Method Details

#execution=Object (readonly)



749
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 749

def execution=: (

#to_hash{

Returns:

  • ({)


765
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 765

def to_hash: -> {