mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-04-16 17:03:20 +08:00
28 lines
723 B
Plaintext
28 lines
723 B
Plaintext
---
|
|
title: GLM (智谱AI)
|
|
description: 智谱AI GLMモデルの設定
|
|
---
|
|
|
|
```json
|
|
{
|
|
"model": "glm-5-turbo",
|
|
"zhipu_ai_api_key": "YOUR_API_KEY"
|
|
}
|
|
```
|
|
|
|
| パラメータ | 説明 |
|
|
| --- | --- |
|
|
| `model` | `glm-5-turbo`、`glm-5`、`glm-4.7`、`glm-4-plus`、`glm-4-flash`、`glm-4-air`などから選択可能。[モデルコード](https://bigmodel.cn/dev/api/normal-model/glm-4)を参照 |
|
|
| `zhipu_ai_api_key` | [智谱AI Console](https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys)で作成 |
|
|
|
|
OpenAI互換の設定もサポートしています:
|
|
|
|
```json
|
|
{
|
|
"bot_type": "openai",
|
|
"model": "glm-5-turbo",
|
|
"open_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
|
|
"open_ai_api_key": "YOUR_API_KEY"
|
|
}
|
|
```
|