forked from apache/hertzbeat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
id: aiConfig | ||
title: AI QuickStart | ||
sidebar_label: AI QuickStartr | ||
keywords: [AI] | ||
--- | ||
|
||
> The dialogue with artificial intelligence is achieved by configuring aiConfig in the application.yml file | ||
### Configuration parameter description | ||
|
||
| Name of the parameter | Parameter help description | | ||
|-----------------------|------------------------------| | ||
| type | Choose a large AI model (such as Zhipu, Tongyi thousand questions...)| | ||
| model | Select the model, which defaults to GLM-4 | | ||
| api-key | Gets the api_key, without which you cannot talk to the large model | | ||
|
||
### Large model options and configuration details | ||
|
||
#### ZhiPu AI | ||
|
||
| Name of the parameter | Example | Link | | ||
|--------------|-----------------------------------------------------|---------------------------------------------------------------| | ||
| type | zhiPu (must be exactly the same as example) | | | ||
| model | glm-4-0520、glm-4 、glm-4-air、glm-4-airx、 glm-4-flash | | | ||
| api-key | xxxxx.xxxxxx | https://open.bigmodel.cn/login?redirect=%2Fusercenter%2Fapikeys | | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/ai_config.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
id: aiConfig | ||
title: AI 快速入门 | ||
sidebar_label: AI 快速入门 | ||
keywords: [人工智能 AI] | ||
--- | ||
|
||
> 通过配置application.yml文件里面的aiConfig实现与人工智能的对话 | ||
### 配置参数说明 | ||
|
||
| 参数名称 | 参数帮助描述 | | ||
| ----------- |------------------------------| | ||
| type | 选择AI大模型(如智普、通义千问...) | | ||
| model | 选择模型,默认为GLM-4 | | ||
| api-key | 获取api_key,如果没有该配置,无法与大模型进行对话 | | ||
|
||
### 大模型选项与配置详解 | ||
|
||
#### 智普AI | ||
|
||
| 参数名称 | 示例 | 链接 | | ||
|--------------|-----------------------------------------------------|----| | ||
| type | zhiPu(必须和示例完全相同) | 无 | | ||
| model | glm-4-0520、glm-4 、glm-4-air、glm-4-airx、 glm-4-flash | 无 | | ||
| api-key | xxxxx.xxxxxx | https://open.bigmodel.cn/login?redirect=%2Fusercenter%2Fapikeys | | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters