Class: OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::AgentMessage
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::AgentMessage
- Defined in:
- sig/openai/models/beta/beta_response_output_item.rbs
Defined Under Namespace
Modules: Content Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::AgentMessage::Agent?
readonly
The agent that produced this item.
-
#author ⇒ String
The sending agent identity.
-
#content ⇒ ::Array[OpenAI::Models::Beta::BetaResponseOutputItem::AgentMessage::content]
Encrypted content sent between agents.
-
#id ⇒ String
The unique ID of the agent message.
-
#recipient ⇒ String
The destination agent identity.
-
#type ⇒ :agent_message
The type of the item.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#agent ⇒ Object
readonly
The agent that produced this item.
- #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
88 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 88
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::AgentMessage::Agent? (readonly)
The agent that produced this item.
69 70 71 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 69 def agent @agent end |
#author ⇒ String
The sending agent identity.
57 58 59 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 57 def @author end |
#content ⇒ ::Array[OpenAI::Models::Beta::BetaResponseOutputItem::AgentMessage::content]
Encrypted content sent between agents.
60 61 62 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 60 def content @content end |
#id ⇒ String
The unique ID of the agent message.
54 55 56 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 54 def id @id end |
#recipient ⇒ String
The destination agent identity.
63 64 65 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 63 def recipient @recipient end |
#type ⇒ :agent_message
The type of the item. Always agent_message.
66 67 68 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 66 def type @type end |
Instance Method Details
#agent= ⇒ Object (readonly)
The agent that produced this item.
72 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 72
def agent=: (
|
#to_hash ⇒ {
97 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 97
def to_hash: -> {
|