Cherry Studio's knowledge base feature lets an AI model answer questions from your own PDFs, Word files, notes and web pages, and show which document each answer came from. With its built-in local embedding model and a chat model running in Ollama, the indexing and the answering can both happen on your PC. This guide follows Cherry Studio's official knowledge base documentation.
How Cherry Studio's knowledge base works
Cherry Studio's docs describe each answer in two stages. First, your material is "parsed and split", and candidate passages (called chunks) are found by keyword or meaning. Then the chat model "only composes the answer from what was recalled". In the documentation's words, "the knowledge base finds passages in your material; the chat model understands the question and composes the answer".
That split matters for troubleshooting: if the right passage isn't found, the docs warn that "simply switching chat models usually won't fix it".
There are three ways to search, chosen when you create a knowledge base:
Embedding option | Search method | When the docs suggest it |
|---|
Disabled | BM25 keyword search | First-time use, clear keywords |
Cloud embedding model | Keyword plus vector (hybrid) search | Questions worded very differently from the source |
Local embedding model | Keyword plus local vector search | Vectorisation must happen locally |
For a private setup, the local option is the one to pick. Our explainer on using embedding models with Ollama covers what embeddings do in more detail.
Before you start
You need Cherry Studio connected to a local chat model. Our guide on how to use Cherry Studio with Ollama covers that setup.
One requirement is easy to miss: Cherry Studio's "Using in Chat" page says the chat model must support tool calling. If the knowledge base entry says the model's capabilities are insufficient, switch to another model. On Ollama's model library, the Tools filter (ollama.com/search?c=tools) lists models tagged with tool support.
Local models also need memory. Cherry Studio's built-in embedding model is small, but the chat model still has to fit in VRAM or system RAM to run at a usable speed. A 16GB graphics card such as the ASUS RTX 5060 Ti 16GB Dual OC plus 32GB of system memory such as the Corsair Vengeance 32GB (2x16GB) DDR5-6000 CL30 gives room for mid-sized models.
Step 1: Download the local embedding model
Cherry Studio's Local Models page says the app includes small built-in models that "run offline after download" and "do not require an API Key":
Open Settings > Local Models.
On the Local Embedding card, click Download. The badge changes to Ready when it's finished.
According to the docs, the local embedding model is Qwen3 Embedding 0.6B, about 614MB, and once downloaded it "runs inference on your machine without an internet connection". A Hardware acceleration switch at the top of the page uses DirectML or CoreML (Microsoft's and Apple's machine-learning acceleration APIs) to speed up local inference. The same page offers a local OCR model (PaddleOCR PP-OCRv6, about 140MB) for reading scanned documents offline.
The docs add a fair caveat: local models are a lightweight "good enough" solution, and cloud embedding models "typically deliver better results" if retrieval accuracy matters most. On platforms that don't support local inference, the panel says "Current platform does not support local models".
Step 2: Create the knowledge base
Open Knowledge Base in the left navigation and click New Knowledge Base.
Give it a name that defines its scope. The docs suggest an "object + purpose" format, such as Product After-Sales Manual, rather than vague names like Materials.
Choose the local embedding model you just downloaded. You can also leave it Disabled for a first try; Cherry Studio then uses BM25 keyword search only.
Click Create.
The docs point out one limit of the local option: it only means vectorisation happens locally. Whether document parsing, reranking and chat use cloud services depends on what you select for each, so keep all of them on local options if privacy is the point.
Step 3: Add your documents
Click Add Data Source and choose one of four entry points:
File: for a few files. Supported types include PDF, DOCX, DOC, PPTX, XLSX, XLS, ODT, ODP, ODS, RTF, MD, TXT, CSV, HTML and EPUB. You can add up to 20 items per batch.
Folder: for a set of related files on the same topic.
Note: imports a snapshot of a Cherry Studio note. Later edits to the note don't sync automatically.
URL: saves a snapshot of a single public web page. Login pages or script-heavy pages may come through incomplete.
Each source goes through copying, reading, chunking and indexing. When it shows Ready, open it and spot-check the text and chunks for garbled text, missing pages or odd ordering. Scanned PDFs need OCR: the docs say to pick an OCR engine under Settings > Document Processing and re-index.
Step 4: Run a recall test
Before asking the AI anything, open Recall Test, type a real question you already know the answer to and check that the correct source appears near the top. The docs recommend keeping three to five real questions as a baseline and rerunning them after every change, and they warn against testing only with document titles and exact sentences.
Step 5: Ask questions in chat
Open a normal chat with a tool-calling model selected.
Click the add button in the bottom-left of the input area, choose Knowledge Base and tick one or more bases. Picking only the relevant one reduces noise.
Ask a clear question, for example: "Answer only from the selected knowledge base: what is the warranty period?"
Check the sources shown with the answer.
If a message has a file attached, knowledge base selection is disabled, so remove the attachment first.
Troubleshooting
Cherry Studio's knowledge base FAQ covers the common problems:
Changed chunk settings but nothing improved: new settings don't reprocess existing documents. Run Re-index, then retest.
Recall test returns nothing: check the document status, that the text really contains the answer, that embedding has finished, and that the reranking threshold or Top K isn't set too tight.
What Top K to use: the docs suggest starting at 6; it can be set from 1 to 50.
Correct results rank too low: remove duplicate and outdated documents first, then consider the embedding model or add reranking.
Updating a document: when names clash, choose Replace for updated policies or manuals; Keep All leaves both versions searchable.
If you'd rather compare other private document-chat apps, see our best local AI document chat apps and our guide to chatting with documents in AnythingLLM.