4 ms·
Yes, one of the memory options in Langchain is to use a vector store: https://python.langchain.com/en/latest/modules/memory/types/vectorstore_retriever_memory.
by rahimnathwani 4y ago
Yes, one of the memory options in Langchain is to use a vector store:
https://python.langchain.com/en/latest/modules/memory/types/vectorstore_retriever_memory.html https://python.langchain.com/en/latest/modules/memory/types/...
It also has a more basic version that just keeps a log of past messages.
I don't know whether there's a way (or even a need) to combine these approaches. In a long conversation, it might be useful to trust more recent information more than earlier messages, but Langchain's vector memory doesn't care about sequence.