Class: OpenAI::Realtime::ConnectionResources::Conversation

Inherits:
Base
  • Object
show all
Defined in:
lib/openai/helpers/realtime/connection_resources.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connection) ⇒ Conversation

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Conversation.



84
85
86
87
# File 'lib/openai/helpers/realtime/connection_resources.rb', line 84

def initialize(connection)
  super
  @items = ConversationItems.new(connection)
end

Instance Attribute Details

#items ⇒ OpenAI::Realtime::ConnectionResources::ConversationItems (readonly)



81
82
83
# File 'lib/openai/helpers/realtime/connection_resources.rb', line 81

def items
  @items
end