Bottom line#
Building a semantic index splits your knowledge base text into chunks and uses an Embedding model to generate vectors so on-demand search can match questions with similar meaning even when the wording differs. It does not modify the original text of your knowledge base.
Can I still use a knowledge base without building an index?#
Yes:
- With Full inject, the assistant still reads the knowledge base text directly and does not depend on a semantic index.
- With On-demand search, retrieval falls back to keyword search.
- The difference is that semantic vector search is unavailable. When a question uses different wording and does not share exact keywords with the source text, relevant passages are more likely to be missed.
How is this different from "Optimize text as Markdown"?#
- Optimize text as Markdown is available during import preview or via single-file and multi-select actions in knowledge base details. A chat model cleans up paragraphs, headings, lists, and tables. During import preview, the original text is saved first and a background task is created so processing continues even if you leave the page. The optimized result first creates a review draft and only replaces the body after you confirm; you can preview, retry, or restore the original text.
- Build semantic index can be run for all knowledge bases at once from the top of the Knowledge Base list, or inside an individual knowledge base's details page. It only generates chunk and vector files used for retrieval and never modifies the original text.
When should you build or rebuild the index?#
- Recommended when a knowledge base is large and uses on-demand search.
- After importing new files or modifying document text, you need to build the index for the affected files.
- After switching Embedding models, old vectors no longer match the new model and must be rebuilt. When you change the global default embedding model, knowledge bases that follow the default are marked as having an outdated index, while knowledge bases configured with a dedicated override model are unaffected by the default switch. This only marks the index as outdated—it does not automatically delete original text or rebuild the index immediately.
- If you only use short reference materials with full inject, you can skip indexing for now.
Build indexes for all knowledge bases at once#
When there are files that have not been indexed yet, the top of the Knowledge Base list displays the pending count. Tap Build all to process every unindexed, previously failed, or interrupted file across all knowledge bases in list order:
- The progress ring on the card shows progress for the current run, with the active knowledge base and file shown below. Processing continues even if you leave the page; when switched to the background it tries to stay running, and if the system interrupts it, tap again to resume.
- You can tap Stop at any time. Completed files are preserved; partially processed files resume from their saved chunks next time, without re-requesting chunks that were already saved.
- If the embedding service encounters authentication, quota, or rate-limit errors, indexing pauses automatically and stops sending requests for remaining knowledge bases using the same model. Once resolved, tap Continue to resume.
- Individual file failures do not affect other files; you can inspect the failure reason on the corresponding file inside its knowledge base.
What you need#
Semantic indexing requires a configured, working Embedding model. Configure it at Settings → Models & usage → Default Models → Knowledge embedding, or specify an override model inside an individual knowledge base's details. If no model is configured yet, tapping build index opens the model picker first; once you select a model from the top of the Knowledge Base list, indexing begins automatically for all knowledge bases.