File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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": [
Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments