Install
What’s included
| Class | Purpose |
|---|---|
SynapChatMemory | BaseMemory implementation for chat engines |
SynapRetriever | Returns NodeWithScore objects for RAG pipelines |
SynapChatMemory
Drop into any LlamaIndex chat engine to give it persistent cross-session memory.SynapChatMemory loads prior messages on get() and writes new turns back to Synap on put(). Failed writes raise so callers know persistence failed; failed reads return an empty buffer.
SynapRetriever
Use in any RAG pipeline that accepts a LlamaIndex retriever.RouterRetriever or QueryFusionRetriever to blend Synap memories with document retrieval.
Next steps
LangChain
Memory and callbacks for LangChain chains.
SDK Context Fetch
Raw context fetch API for custom retrieval logic.