Skip to content

Commit 4a15d13

Browse files
committed
讯飞星辰模型对接步骤
1 parent 15023a0 commit 4a15d13

5 files changed

Lines changed: 7 additions & 2 deletions

File tree

docs/img/model/xunfei_app.png

-175 KB
Loading

docs/img/model/xunfei_app1.png

348 KB
Loading

docs/img/model/xunfei_maas.png

58.6 KB
Loading

docs/user_manual/chat_to_API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
curl https://maxkb.fit2cloud.com/chat/api/xxxxxxxx-3fdf-7941-a6f4-0572478f57f6/chat/completions \
2424
-H "Content-Type: application/json" \
25-
-H "Authorization: Bearer application-xxxxxxxxxx987f1bc06ab16e0ef" \
25+
-H "Authorization: Bearer agent-xxxxxxxxxx987f1bc06ab16e0ef" \
2626
-d '{
2727
"model": "gpt-3.5-turbo",
2828
"messages": [

docs/user_manual/model/spark_model.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## 1 添加模型
22

33
!!! Abstract ""
4-
添加讯飞星火大模型之前,需要先在 [讯飞开放平台](https://www.xfyun.cn/) 中进行注册,并根据不同的模型类型创建不同应用,平台将自动生成APPID、API Secret、APIKey等信息
4+
添加讯飞星火大模型之前,需要先在 [讯飞开放平台](https://www.xfyun.cn/) 中进行注册,并根据不同的模型类型在【控制台】创建不同应用,创建应用后,平台将自动生成 APP ID、API Secret、API Key 等信息
55

66
选择模型供应商为`讯飞星火`,并在模型添加对话框中输入如下必要信息:
77

@@ -16,6 +16,11 @@
1616

1717
![讯飞APP](../../img/model/xunfei_app.png)
1818

19+
!!! Abstract ""
20+
添加[讯飞星辰 MaaS 平台](https://maas.xfyun.cn/modelService)模型时,选择模型 API 调用,创建模型服务,在模型服务列表中查看 API URL、APP ID、API Secret、API Key 等相关信息。
21+
22+
![讯飞APP](../../img/model/xunfei_app1.png)
23+
![讯飞APP](../../img/model/xunfei_maas.png){ width="500px" }
1924

2025
## 2 配置样例
2126

0 commit comments

Comments
 (0)