chore: 增加 PPIO 接入文档

This commit is contained in:
lazy
2025-04-18 19:59:26 +08:00
parent 712f9cce2f
commit da85007811
7 changed files with 29 additions and 1 deletions
+4
View File
@@ -216,6 +216,10 @@ export default defineConfig({
{
text: "在 LangBot 接入完整 MCP 生态",
link: "/workshop/mcp-details"
},
{
text: "接入 PPIO API",
link: "/workshop/ppio-integration"
}
],
},
Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

+2 -1
View File
@@ -68,7 +68,7 @@
- `bailian`: 阿里云百炼模型接口密钥组
- `volcark`: 火山方舟模型、应用接口密钥组
- `modelscope`: 魔搭社区接口密钥组
- `ppio`:[PPIO](https://ppinfra.com/user/register?invited_by=QJKFYD&utm_source=github_langbot) (派欧云)的密钥组
## 大模型请求器 requester
@@ -137,6 +137,7 @@
- `bailian-chat-completions`:[阿里云百炼](https://bailian.console.aliyun.com/) 请求器,仅支持模型,应用请使用下方百炼平台运行器
- `volcark-chat-completions`:[火山方舟](https://console.volcengine.com/ark/region:ark+cn-beijing/model?vendor=Bytedance&view=LIST_VIEW) 请求器,默认为模型调用接口,应用(Bots)调用接口请在`base-url`后方添加`/bots`
- `modelscope-chat-completions`:[魔搭社区](https://modelscope.cn/) 请求器,使用魔搭社区的接口,需要确保账户以绑定阿里云账户
- `ppio-chat-completions`:[PPIO](https://ppinfra.com/user/register?invited_by=QJKFYD&utm_source=github_langbot) 请求器
`base-url`:设置接口地址。
+1
View File
@@ -9,6 +9,7 @@
- Anthropic:Claude 系列
- [OneAPI](https://github.com/songquanpeng/one-api)接口聚合平台:Google Gemini Pro / Azure / Anthropic Claude / 智谱 ChatGLM / 百度文心一言 / 讯飞星火认知 / 阿里通义千问 / 360 智脑等市面上所有 LLM 官方接口
- [free-one-api](https://github.com/RockChinQ/free-one-api)逆向工程库聚合平台:ChatGPT / Claude / Google Bard / gpt4free / 通义千问
- [PPIO 派欧云 API](https://ppinfra.com/user/register?invited_by=QJKFYD&utm_source=github_langbot):低价开源模型供应商,支持最新的 Llama、DeepSeek、通义千问、智谱等系列模型
## 功能点列举
+22
View File
@@ -0,0 +1,22 @@
# 接入 PPIO 派欧云 API
1. 修改`data/config/provider.json`
在部署完成 LangBot 后,打开 LangBot 根目录下的`data/config/provider.json`
在`keys`中找到`ppio`,填入密钥,获取地址:https://ppinfra.com/settings/key-management
例如你的密钥为`sk_lA8Ra66Ed0s8Yu9mMw53sj45nNVkFHA-ALeewmqkmd0`,则写为:
![PPIO 设置](/assets/image/ppio_provider.png)
例如要使用模型为`deepseek/deepseek-r1-turbo`,则下面模型设置为
![PPIO 设置](/assets/image/ppio_provider2.png)
2. 修改`data/metadata/llm-models.json`
例如要使用模型为`deepseek/deepseek-r1-turbo`
![PPIO 设置](/assets/image/ppio_llm-models.png)