Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::AgentMessage
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::AgentMessage
- Defined in:
- sig/openai/models/beta/beta_response_input_item.rbs
Defined Under Namespace
Modules: Content Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::AgentMessage::Agent?
The agent that produced this item.
-
#author ⇒ String
The sending agent identity.
-
#content ⇒ ::Array[OpenAI::Models::Beta::BetaResponseInputItem::AgentMessage::content]
Plaintext, image, or encrypted content sent between agents.
-
#id ⇒ String?
The unique ID of this agent message item.
-
#recipient ⇒ String
The destination agent identity.
-
#type ⇒ :agent_message
The item type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #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, coerce_with_error, 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
491 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 491
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::AgentMessage::Agent?
The agent that produced this item.
477 478 479 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 477 def agent @agent end |
#author ⇒ String
The sending agent identity.
462 463 464 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 462 def @author end |
#content ⇒ ::Array[OpenAI::Models::Beta::BetaResponseInputItem::AgentMessage::content]
Plaintext, image, or encrypted content sent between agents.
465 466 467 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 465 def content @content end |
#id ⇒ String?
The unique ID of this agent message item.
474 475 476 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 474 def id @id end |
#recipient ⇒ String
The destination agent identity.
468 469 470 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 468 def recipient @recipient end |
#type ⇒ :agent_message
The item type. Always agent_message.
471 472 473 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 471 def type @type end |
Instance Method Details
#to_hash ⇒ {
500 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 500
def to_hash: -> {
|