Skip to content

Commit 7820775

Browse files
committed
zhipu
1 parent 2f4cf26 commit 7820775

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-1
lines changed

config/provider.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,29 @@ ollama 的 key 默认是 ollama。
9898
}
9999
```
100100

101-
### 智浦 GLM
101+
### 智谱 GLM
102+
103+
glm-4-flash 是智谱的免费模型,可以快速接入测试。
104+
105+
首先,注册并登录 https://open.bigmodel.cn/,
106+
107+
然后进入:https://open.bigmodel.cn/usercenter/proj-mgmt/apikeys
108+
109+
点击右上角的 添加新 API Key:
110+
111+
![alt text](../source/images/provider/image-1.png)
112+
113+
随便填写一个名称,添加成功后,点击复制:
114+
115+
![](../source/images/provider/image-2.png)
116+
117+
回到 AstrBot,点击配置、服务提供商配置,点击加号,添加 zhipu:
118+
119+
![](../source/images/provider/image-3.png)
120+
121+
将刚刚复制的 key 填到 API Key 处然后保存即可。
122+
123+
使用 /provider 指令切换到 zhipu。
102124

103125
```json
104126
{

source/images/provider/image-1.png

71.1 KB
Loading

source/images/provider/image-2.png

14.1 KB
Loading

source/images/provider/image-3.png

189 KB
Loading

0 commit comments

Comments
 (0)