Knowledge Base Tutorial
In version 0.9.1, CherryStudio introduces the long-awaited knowledge base feature.
Below, we will present a step-by-step guide on how to use CherryStudio's knowledge base in detail.
Adding Embedding Models
Find models in the model management service. You can quickly filter by clicking "Embedding";
Find the desired model and add it to My Models.

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


Adding Files and Vectorizing
Add Files: Click the "Add Files" button to open the file selection dialog;
Select Files: Choose supported file formats such as pdf, docx, pptx, xlsx, txt, md, mdx, etc., and open them;
Vectorization: The system will automatically perform vectorization. When "Completed" (green ✓) is displayed, it indicates that vectorization is complete.



Adding Data from Multiple Sources
CherryStudio supports multiple ways to add data:
Folder Directory: You can add an entire folder directory. Files in supported formats under this directory will be automatically vectorized;
Website Link: Supports website URLs, such as https://docs.siliconflow.cn/introduction;
Sitemap: Supports sitemap in xml format, such as https://docs.siliconflow.cn/sitemap.xml;
Plain Text Notes: Supports entering custom content in plain text.
Searching the Knowledge Base
Once files and other materials are vectorized, you can perform queries:
Click the "Search Knowledge Base" button at the bottom of the page;
Enter the content to be queried;
The search results are presented;
And the matching score of the result is displayed.


Generating Replies by Referencing the Knowledge Base in Conversations
Create a new topic. In the conversation toolbar, click "Knowledge Base". The list of created knowledge bases will expand. Select the knowledge base you need to reference;
Enter and send a question. The model will return an answer generated through retrieval results;
At the same time, the data source of the reference will be attached below the answer, allowing you to quickly view the source file.
最后更新于
这有帮助吗?