@epicdm/flowstate-rag-sync
v1.0.8
Published
RAG sync service - indexes RxDB documents and AMS memories to SurrealDB
Downloads
1,156
Maintainers
Readme
@epicdm/flowstate-rag-sync
RAG sync service — indexes RxDB documents and Agent Memory Server (AMS) memories into SurrealDB for semantic search.
Runs as a standalone service that watches RxDB document changes and agent memories, chunks and embeds them (via Ollama or LangChain), and writes vector records into SurrealDB so downstream agents can retrieve context through the RAG client.
Installation
yarn add @epicdm/flowstate-rag-sync
# or
npm install @epicdm/flowstate-rag-syncRunning the service
# Build and start
yarn build
yarn startUsage
import {} from /* sync primitives */ '@epicdm/flowstate-rag-sync'Most consumers should query the index through @epicdm/flowstate-rag-client rather than importing from this package directly. See the package's TypeScript declarations for the full list of exports.
License
Apache-2.0 © Epic Digital Interactive Media LLC
