Skip to content

Commit

Permalink
zhipu
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulter committed Feb 1, 2025
1 parent 2f4cf26 commit 7820775
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion config/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,29 @@ ollama 的 key 默认是 ollama。
}
```

### 智浦 GLM
### 智谱 GLM

glm-4-flash 是智谱的免费模型,可以快速接入测试。

首先,注册并登录 https://open.bigmodel.cn/,

然后进入:https://open.bigmodel.cn/usercenter/proj-mgmt/apikeys

点击右上角的 添加新 API Key:

![alt text](../source/images/provider/image-1.png)

随便填写一个名称,添加成功后,点击复制:

![](../source/images/provider/image-2.png)

回到 AstrBot,点击配置、服务提供商配置,点击加号,添加 zhipu:

![](../source/images/provider/image-3.png)

将刚刚复制的 key 填到 API Key 处然后保存即可。

使用 /provider 指令切换到 zhipu。

```json
{
Expand Down
Binary file added source/images/provider/image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/provider/image-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/images/provider/image-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7820775

Please sign in to comment.