langchain/tests/unit_tests/memory
Daniel Chalef c7f7788d0b
Add ZepMemory; improve ZepChatMessageHistory handling of metadata; Fix bugs (#7444)
Hey @hwchase17 - 

This PR adds a `ZepMemory` class, improves handling of Zep's message
metadata, and makes it easier for folks building custom chains to
persist metadata alongside their chat history.

We've had plenty confused users unfamiliar with ChatMessageHistory
classes and how to wrap the `ZepChatMessageHistory` in a
`ConversationBufferMemory`. So we've created the `ZepMemory` class as a
light wrapper for `ZepChatMessageHistory`.

Details:
- add ZepMemory, modify notebook to demo use of ZepMemory
- Modify summary to be SystemMessage
- add metadata argument to add_message; add Zep metadata to
Message.additional_kwargs
- support passing in metadata
2023-07-10 01:53:49 -04:00
..
chat_message_histories Add ZepMemory; improve ZepChatMessageHistory handling of metadata; Fix bugs (#7444) 2023-07-10 01:53:49 -04:00
__init__.py Harrison/file chat history (#3198) 2023-04-19 21:05:20 -07:00
test_combined_memory.py Harrison/combined memory (#3935) 2023-05-01 20:55:56 -07:00