Build and use a knowledge base
Organize material with LLM Wiki or index original material for RAG semantic search.
These steps apply to clients that show LLM Wiki and RAG semantic search under Settings → Knowledge base. In earlier clients, use Knowledge Base settings to choose retrieval models and build an index directly.
Choose a knowledge base feature
- LLM Wiki helps you maintain a collection over time, such as turning project reports into topic notes that stay up to date. Use your configured chat model to get started. See Organize material with LLM Wiki.
- RAG semantic search finds passages by meaning across a larger collection of original material. It can find several incident reports that describe the same problem in different words. Vector search requires an embedding model. A reranker is optional.
Each feature works independently. When both are enabled, knowledge search can use the Wiki and the original material together.
Build a RAG index
- Under Settings → Model Services, add an
embeddingmodel and test its connection. - Open Settings → Knowledge base, enable RAG semantic search, and select the embedding model. To use a reranker, choose it under RAG advanced settings, retrieval tests, and maintenance.
- Click Rebuild under Index status. To index a specific folder on desktop, open it and click Update folder index in its RAG semantic search card.
- Wait for indexing to finish. Review failed items in advanced settings, or enter a query in Retrieval test and check the results.
Use it in a conversation
Turn on Allow AI to reference other notes under Settings → Knowledge base → Material and chat. Include a subject, date, or scope in your question. For example, ask “What were the three main risks in July according to the project weekly reports?” When a reply includes sources, use them to verify the original material.
Maintenance and privacy
- Rebuild after changing the embedding model because vectors from different models are not interchangeable.
- After bulk moves, external edits, or a workspace switch, check index status before rebuilding affected indexes.
- The index stays on the device. Online embedding and reranking services receive the text they process.
- If material is missing from results, check source types, excluded paths, and index status. Use Retrieval test to review your query terms and thresholds.
See Knowledge Base settings for parameters.
Connect to a self-hosted NoteGen service
Sign in from the client, bind libraries, invite members, and resolve workspace conflicts safely.
Organize material with LLM Wiki
Turn notes, records, and canvases into Markdown source summaries and topic notes, then check citations against the original material.