Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::AdditionalTools
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::AdditionalTools
- Defined in:
- sig/openai/models/beta/beta_response_item.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseItem::AdditionalTools::Agent?
readonly
Returns the value of attribute agent.
-
#id ⇒ String
Returns the value of attribute id.
-
#role ⇒ OpenAI::Models::Beta::BetaResponseItem::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.
Instance Method Summary collapse
- #agent ⇒ Object readonly
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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
#initialize ⇒ Object
414 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 414
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseItem::AdditionalTools::Agent? (readonly)
Returns the value of attribute agent.
408 409 410 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 408 def agent @agent end |
#id ⇒ String
Returns the value of attribute id.
400 401 402 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 400 def id @id end |
#role ⇒ OpenAI::Models::Beta::BetaResponseItem::AdditionalTools::role
Returns the value of attribute role.
402 403 404 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 402 def role @role end |
#tools ⇒ ::Array[OpenAI::Models::Beta::beta_tool]
Returns the value of attribute tools.
404 405 406 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 404 def tools @tools end |
#type ⇒ :additional_tools
Returns the value of attribute type.
406 407 408 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 406 def type @type end |
Instance Method Details
#agent= ⇒ Object (readonly)
410 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 410
def agent=: (
|
#to_hash ⇒ {
422 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 422
def to_hash: -> {
|