Query your own documents privately without uploading them to the cloud using the built-in browser RAG engine.
RAG (Retrieval-Augmented Generation) is a method that allows language models to ground their answers in your personal documents, manuals, codebases, or technical notes.
While typical SaaS tools require uploading sensitive files to remote servers, ZeroChat executes all document ingestion, chunking, and search indexing locally inside your browser using the Orama search engine backed by IndexedDB.
To keep distinct projects cleanly separated, ZeroChat organizes knowledge into independent Branches:
Open RAG from the general settings menu, then drop files into its management panel or select them from disk:
#, ##) for semantic boundary division.The model queries active documents through RAG tools:
list_documents: Discovers available documents in the branch.search_knowledge_base: Searches for specific terms and semantic matches.read_knowledge_chunk: Reads a specific section in high resolution.read_knowledge_image: Inspects embedded figures or chart images visually.Files, metadata, and chunks are stored in IndexedDB. Orama builds an in-memory search index for the active branch.
Selecting a file only grants read access to that specific upload. No folder permissions are requested, and no LLM calls are made to summarize or index documents.
For factual queries over documents, use a low temperature (0 to 0.2): this reduces variation and increases the likelihood that the model sticks to retrieved passages. Higher temperatures (0.7+) are better suited for creative writing tasks, not for extracting numbers or facts. The model must also support tool calling; if it doesn't, it won't be able to query this knowledge base.
Compact models or those with limited context windows can become overwhelmed when accumulating multiple document fragments. Enable the Agent Checkpoint (agent_checkpoint) from the Reasoning menu: it allows the model to consolidate intermediate findings and maintain a clear research plan. Especially recommended for models with fewer than 14B parameters or context windows under 32k tokens.