Update Memory
javipacheco opened this issue · comments
Javier Pérez Pacheco commented
In order to fix some problems with the way to order the memory in the conversations, we need to change the way to store the memory
- We have to remove the
timeStamp
and theapproxTokens
in theMemory
. The memory could be something like this:
data class Memory(val conversationId: ConversationId, val content: Message, val index: Int)
- The index is an ordered number that the conversation is incrementally added to.