mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
doc: add tokenpony in workshop
This commit is contained in:
@@ -221,6 +221,10 @@ export default defineConfig({
|
||||
text: "接入来自胜算云的模型",
|
||||
link: "/zh/workshop/shengsuanyun-integration"
|
||||
},
|
||||
{
|
||||
text: "接入来自小马算力的模型",
|
||||
link: "/zh/workshop/tokenpony-integration"
|
||||
},
|
||||
{
|
||||
text: "接入 PPIO API 的模型",
|
||||
link: "/zh/workshop/ppio-integration"
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 92 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 213 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 794 KiB |
@@ -12,7 +12,7 @@
|
||||
|
||||
<img src="/assets/image/zh/workshop/shengsuanyun-integration/llm-models.png" alt="胜算云模型列表" />
|
||||
|
||||
前往 LangBot 模型管理页,添加模型(选择胜算云提供商,填入模型名称和 API Key:
|
||||
前往 LangBot 模型管理页,添加模型(选择胜算云提供商,填入模型名称和 API Key):
|
||||
|
||||
<img src="/assets/image/zh/workshop/shengsuanyun-integration/add-llm-model.png" alt="添加模型" />
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
# 接入来自小马算力的模型
|
||||
|
||||

|
||||
|
||||
TokenPony(小马算力)提供统一的API,可以通过单一端点访问数百个AI模型,同时自动处理回退并选择最具成本效益的选项。在 LangBot 中已完美适配,可按照以下步骤添加来自小马算力的模型。
|
||||
|
||||
## 注册小马算力
|
||||
|
||||
点击[链接](https://www.tokenpony.cn/453z1)注册小马算力账号,完成后点击右上家账户按钮,点击`API Keys`
|
||||
|
||||

|
||||
|
||||
生成并复制 API Key。
|
||||
|
||||

|
||||
|
||||
## 使用聊天模型
|
||||
|
||||
在小马算力顶部进入[`模型`](https://www.tokenpony.cn/#/model),即可查看可用的模型列表,并复制模型名称。
|
||||
|
||||
前往 LangBot 模型管理页,添加模型(选择小马算力提供商,填入模型名称和 API Key):
|
||||
|
||||

|
||||
|
||||
现在即可在流水线中选择使用该模型。
|
||||
Reference in New Issue
Block a user