-
Notifications
You must be signed in to change notification settings - Fork 0
feat(integration): LangChain memory provider #6
Copy link
Copy link
Open
Labels
integrationLLM/framework integrationLLM/framework integrationpriority:p1High leverageHigh leveragepythonPython ecosystemPython ecosystem
Description
Summary
Build a LangChain-compatible memory class (MemtraceMemory) that implements LangChain's BaseMemory or BaseChatMessageHistory interface. This lets any LangChain agent/chain use Memtrace as its memory backend.
Requirements
- Implement
BaseMemoryand/orBaseChatMessageHistory - Support
ConversationBufferMemoryandConversationSummaryMemorypatterns - Map session context endpoint to
load_memory_variables() - Publish as
langchain-memtraceon PyPI
Dependencies
- Requires: Python SDK (feat(sdk): Python SDK #4)
Key Mapping
| LangChain | Memtrace |
|---|---|
load_memory_variables() |
get_session_context() |
save_context() |
remember() |
clear() |
close_session() |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
integrationLLM/framework integrationLLM/framework integrationpriority:p1High leverageHigh leveragepythonPython ecosystemPython ecosystem