diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 5300f7c15..90aa4b502 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -216,6 +216,10 @@ export default defineConfig({ { text: "在 LangBot 接入完整 MCP 生态", link: "/workshop/mcp-details" + }, + { + text: "接入 PPIO API", + link: "/workshop/ppio-integration" } ], }, diff --git a/docs/assets/image/ppio_llm-models.png b/docs/assets/image/ppio_llm-models.png new file mode 100644 index 000000000..27157b584 Binary files /dev/null and b/docs/assets/image/ppio_llm-models.png differ diff --git a/docs/assets/image/ppio_provider.png b/docs/assets/image/ppio_provider.png new file mode 100644 index 000000000..93e588536 Binary files /dev/null and b/docs/assets/image/ppio_provider.png differ diff --git a/docs/assets/image/ppio_provider2.png b/docs/assets/image/ppio_provider2.png new file mode 100644 index 000000000..6409f0c65 Binary files /dev/null and b/docs/assets/image/ppio_provider2.png differ diff --git a/docs/config/function/provider.md b/docs/config/function/provider.md index b9c6caedd..b901ca5d0 100644 --- a/docs/config/function/provider.md +++ b/docs/config/function/provider.md @@ -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`:设置接口地址。 diff --git a/docs/insight/intro.md b/docs/insight/intro.md index 6000b3918..791f87d4f 100644 --- a/docs/insight/intro.md +++ b/docs/insight/intro.md @@ -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、通义千问、智谱等系列模型 ## 功能点列举 diff --git a/docs/workshop/ppio-integration.md b/docs/workshop/ppio-integration.md new file mode 100644 index 000000000..bade2ad01 --- /dev/null +++ b/docs/workshop/ppio-integration.md @@ -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) +