Knowledge Base Tutorial
This document was translated from Chinese by AI and has not yet been reviewed.
Knowledge Base Tutorial
In version 0.9.1, CherryStudio introduced the long-awaited knowledge base feature.
Below, we will provide detailed instructions for using CherryStudio step-by-step.
Add Embedding Model
In the Model Management service, find a model. You can click "Embedding Model" to filter quickly;
Find the model you need and add it to "My Models".

Create a Knowledge Base
Knowledge Base Entry: On the left toolbar of CherryStudio, click the knowledge base icon to enter the management page;
Add Knowledge Base: Click "Add" to start creating a knowledge base;
Naming: Enter a name for the knowledge base and add an embedding model, for example, bge-m3, to complete the creation.


Add Files and Vectorize
Add Files: Click the "Add Files" button to open the file selector;
Select Files: Choose supported file formats like pdf, docx, pptx, xlsx, txt, md, mdx, etc., and open them;
Vectorization: The system will automatically perform vectorization. When it shows "Completed" (green ✓), it means vectorization is finished.



Add Data from Multiple Sources
CherryStudio supports adding data in multiple ways:
Folder Directory: You can add an entire folder directory. Files in supported formats within this directory will be automatically vectorized;
URL Link: Supports website URLs, such as https://docs.siliconflow.cn/introduction;
Sitemap: Supports XML-formatted sitemaps, such as https://docs.siliconflow.cn/sitemap.xml;
Plain Text Note: Supports inputting custom content as plain text.
Search the Knowledge Base
Once files and other materials have been vectorized, you can start querying:
Click the "Search Knowledge Base" button at the bottom of the page;
Enter your query;
The search results will be displayed;
And the match score for each result will be shown.


Referencing the Knowledge Base to Generate Replies in a Conversation
Create a new topic. In the conversation toolbar, click on the knowledge base icon. A list of created knowledge bases will expand. Select the one you want to reference;
Enter and send your question. The model will return an answer generated from the search results;
Additionally, the referenced data sources will be attached below the answer, allowing for quick access to the source files.


最后更新于
这有帮助吗?