Class: OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::AdditionalTools
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::AdditionalTools
- Defined in:
- sig/openai/models/beta/beta_response_output_item.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::AdditionalTools::Agent?
readonly
Returns the value of attribute agent.
-
#id ⇒ String
Returns the value of attribute id.
-
#role ⇒ OpenAI::Models::Beta::BetaResponseOutputItem::AdditionalTools::role
Returns the value of attribute role.
-
#tools ⇒ ::Array[OpenAI::Models::Beta::beta_tool]
Returns the value of attribute tools.
-
#type ⇒ :additional_tools
Returns the value of attribute type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #agent ⇒ Object readonly
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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, #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
#initialize ⇒ Object
536 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 536
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::AdditionalTools::Agent? (readonly)
Returns the value of attribute agent.
530 531 532 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 530 def agent @agent end |
#id ⇒ String
Returns the value of attribute id.
522 523 524 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 522 def id @id end |
#role ⇒ OpenAI::Models::Beta::BetaResponseOutputItem::AdditionalTools::role
Returns the value of attribute role.
524 525 526 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 524 def role @role end |
#tools ⇒ ::Array[OpenAI::Models::Beta::beta_tool]
Returns the value of attribute tools.
526 527 528 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 526 def tools @tools end |
#type ⇒ :additional_tools
Returns the value of attribute type.
528 529 530 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 528 def type @type end |
Instance Method Details
#agent= ⇒ Object (readonly)
532 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 532
def agent=: (
|
#to_hash ⇒ {
544 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 544
def to_hash: -> {
|