Closed K-Schubert closed 2 weeks ago
Description
Implement ConversationalMemoryBuffer class.
ConversationalMemoryBuffer
Implementation
RedisMemoryHandler
user_uuid
conversation_uuid
PostgresMemoryHandler
chat_history
k_memory
ConversationalMemory
chat_memory
RAGProcessor
Description
Implement
ConversationalMemoryBuffer
class.Implementation
RedisMemoryHandler
for fast memory retrieval from Redis db. Gets conversation history fromuser_uuid
andconversation_uuid
.PostgresMemoryHandler
to index chat message inchat_history
table.RedisMemoryHandler
andPostgresMemoryHandler
.ConversationalMemoryBuffer
which tracks lastk_memory
conversation turns.ConversationalMemory
to wrap memory functionality.chat_memory
attribute inRAGProcessor
.