Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions use/knowledge-base.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ AstrBot 提供了开箱即用的知识库功能。

![](../source/images/knowledge-base/QQ_1748619486233.png)

目前 AstrBot 仅支持兼容 OpenAI API 的嵌入向量服务,如 OpenAI、Ollama 等。您可以参考此页后文 `附录-2 免费的嵌入模型申请` 章节申请免费的嵌入模型。
目前 AstrBot 仅支持兼容 OpenAI API 的嵌入向量服务,如 OpenAI、Ollama 等。

点击上面的提供商卡片进入配置页面,填写配置。

Expand Down Expand Up @@ -90,16 +90,3 @@ AstrBot 支持多知识库管理。在聊天时,您可以**自由指定知识

1. AstrBot 知识库插件仓库地址:[astrbot_plugin_knowledge_base](https://github.com/lxfight/astrbot_plugin_knowledge_base)
2. Made with ❤ by **[@lxfight](https://github.com/lxfight)** and [@Soulter](https://github.com/Soulter) and [@Yxiguan](https://github.com/Yxiguan) and [@TheAnyan](https://github.com/TheAnyan).

## 附录 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。
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`。