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.



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

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

Instance Attribute Details

#itemsOpenAI::Realtime::ConnectionResources::ConversationItems (readonly)



79
80
81
# File 'lib/openai/helpers/realtime/connection_resources.rb', line 79

def items
  @items
end