serviette is a configuration-driven RAG stack that indexes documents into a vector database and serves web chat plus REST API with cited answers. Document edits propagate to retrieval within seconds via Pathway live pipelines
Overview
serviette delivers question answering over an organisation's documents without writing application code. You point it at document sources, select a vector database and embedder in one YAML file, and run separate indexer and server processes. The server exposes a ChatGPT-style chat on the root path and a versioned REST API on the same port.
Indexing and querying are decoupled: the indexer watches sources and writes vectors through Pathway connectors, while stateless server instances read from the database. Supported vector backends include embedded DuckDB by default, plus pgvector, Qdrant, Milvus, ChromaDB, Weaviate, Pinecone, and MongoDB Atlas Vector Search. Sources can include local folders, Google Drive, S3 or MinIO, SharePoint, and other paths PyFilesystem opens.
The stack parses text, Office files, PDFs, and scanned images by default, with optional multimodal parsers when API keys are set. Embedder families cover OpenAI, LiteLLM, SentenceTransformers, Gemini, and Bedrock, including a fully local embeddings plus DuckDB path. Pathway requires a free license key in PATHWAY_LICENSE_KEY.
Published benchmarks cover large-scale indexing runs and FRAMES retrieval evaluation. Conversation memory, user accounts, and a hosted offering are noted as not built in yet. Setup uses pip, optional docker-compose benchmarks, and commands such as serviette wizard, serviette indexer, and serviette server.
Key features
- YAML-only configuration
- Eight vector database backends
- Live incremental index updates
- Web chat and REST API
- Multiple document source connectors
- Local or API embedders
- Separate scalable indexer and server
- Multimodal document parsing
Use cases
- Internal document Q&A with citations
- Folder-watched knowledge bases
- Self-hosted RAG over DuckDB
- Enterprise share or drive indexing
- Horizontally scaled query serving