docs: update knowledge base docs

closes: #7962
This commit is contained in:
Soulter
2026-05-03 14:11:21 +08:00
parent dee4f14a0a
commit cc4b6817a7
3 changed files with 9 additions and 20 deletions

View File

@@ -44,16 +44,3 @@ After creating a knowledge base, you can upload documents to it. Up to 10 files
## Using the Knowledge Base
In the configuration file, you can specify different knowledge bases for different configuration profiles.
## Appendix 2: Applying for Free Embedding Models
### PPIO Cloud
1. Open the [PPIO Cloud website](https://ppio.cn/user/register?invited_by=AIOONE) and register an account (accounts registered through this link will receive a 15 RMB voucher).
2. Go to the [Model Marketplace](https://ppio.cn/model-api/console) and click on Embedding Models.
3. Click on BAAI:BGE-M3 (as of 2025-06-02, this model is free on this platform).
4. Find the API integration guide and apply for a Key.
5. Fill in the AstrBot OpenAI Embedding model provider configuration:
1. API Key is the PPIO API Key you just applied for
2. embedding api base: enter `https://api.ppinfra.com/v3/openai`
3. model: enter the model you selected, in this example `baai/bge-m3`.

View File

@@ -4,6 +4,8 @@
## 配置对话模型
点击进入[硅基流动](https://cloud.siliconflow.cn/i/zMCYMSt2)平台注册并实名认证。
在硅基流动 [API Keys](https://cloud.siliconflow.cn/me/account/ak) 页面创建一个新的 API Key留存备用。
在硅基流动[模型页面](https://cloud.siliconflow.cn/me/models)选择需要使用的模型,留存模型名称备用。

View File

@@ -48,13 +48,13 @@ AstrBot 支持多知识库管理。在聊天时,您可以**自由指定知识
## 附录 2高性价比的嵌入模型申请
### PPIO
### 硅基流动
1. 打开 [PPIO 派欧云官网](https://ppio.cn/user/register?invited_by=AIOONE),并注册账户(通过此链接注册的账户将会获得 15 元人民币的代金券)
2. 进入 [模型广场](https://ppio.cn/model-api/console),点击嵌入模型
3. 点击 BAAI:BGE-M3 (截止至 2025-06-02该模型在该平台免费
4. 找到 API 接入指南,申请 Key
截止至 2026 年 5 月 3 日,`BAAI/bge-m3` 模型在该平台免费
1. 打开 [硅基流动官网](https://cloud.siliconflow.cn/i/zMCYMSt2),注册账户并完成实名认证
2. 打开 [API 密钥](https://cloud.siliconflow.cn/me/account/ak)
5. 填写 AstrBot OpenAI Embedding 模型提供商配置:
1. API Key 为刚刚申请的 PPIO 的 API Key
2. embedding api base 填写 `https://api.ppinfra.com/v3/openai`
3. model 填写你选择的模型,此例子中为 `baai/bge-m3`
2. embedding api base 填写 `https://api.siliconflow.cn/v1`
3. model 填写你选择的模型,此例子中为 `BAAI/bge-m3`