{"repo": "apache/hertzbeat", "files": {"home/versioned_docs/version-1.6.x/help/ai_config.md": {"12463f6ab72d211de74384515a52d16f3f4989a3": {"t": 1785768224.1803043, "n": 4941, "h": "12f159bfcc3afc73", "c": "---\nid: aiConfig\ntitle: AI QuickStart \nsidebar_label: AI QuickStartr\nkeywords: [AI]\n---\n\n> The dialogue with artificial intelligence is achieved by configuring aiConfig in the application.yml file\n\n## Configuration parameter description\n\n| Name of the parameter | Parameter help description |\n|-----------------------|-----------------------------------------------------------------------|\n| type | Choose a large AI model (such as Zhipu, Tongyi thousand questions...) |\n| model | Select the model, which defaults to GLM-4 |\n| api-key | Gets the api_key, without which you cannot talk to the large model |\n\n### Large model options and configuration details\n\n#### ZhiPu AI\n\n| Name of the parameter | Example | Link |\n|-----------------------|-----------------------------------------------------|-----------------------------------------------------------------|\n| type | zhiPu (must be exactly the same as example) | |\n| model | glm-4-0520、glm-4 、glm-4-air、glm-4-airx、 glm-4-flash | |\n| api-key | xxxxx.xxxxxx | [https://open.bigmodel.cn/login?redirect=%2Fusercenter%2Fapikeys](https://open.bigmodel.cn/login?redirect=%2Fusercenter%2Fapikeys) |\n\n#### Alibaba AI\n\n| Name of the parameter | Example | Link |\n|-----------------------|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| type | alibabaAi (must be exactly the same as example) | |\n| model | qwen-turbo、qwen-plus、qwen-max、qwen-max-0428、qwen-max-0403、qwen-max-0107、qwen-max-longcontext | [https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction?spm=a2c4g.11186623.0.0.4e0246c1RQFKMH](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction?spm=a2c4g.11186623.0.0.4e0246c1RQFKMH) |\n| api-key | xxxxxxxxxxx | [https://help.aliyun.com/zh/dashscope/developer-reference/activate-dashscope-and-create-an-api-key?spm=a2c4g.11186623.0.i10](https://help.aliyun.com/zh/dashscope/developer-reference/activate-dashscope-and-create-an-api-key?spm=a2c4g.11186623.0.i10) |\n\n#### Kimi AI\n\n| Name of the parameter | Example | Link |\n|-----------------------|-------------------------------------------------|-----------------------------------------------|\n| type | kimiAi (must be exactly the same as example) | |\n| model | moonshot-v1-8k、moonshot-v1-32k、moonshot-v1-128k | |\n| api-key | xxxxxxxxxxx | [https://platform.moonshot.cn/console/api-keys](https://platform.moonshot.cn/console/api-keys) |\n\n#### sparkDesk AI\n\nQuickStart: [https://www.xfyun.cn/doc/platform/quickguide.html](https://www.xfyun.cn/doc/platform/quickguide.html)\n\n| Name of the parameter | Example | Link |\n|-----------------------|--------------------------------------------------|---------------------------------------|\n| type | sparkDesk (must be exactly the same as example) | |\n| model | general、generalv2、generalv3、generalv3.5、4.0Ultra | |\n| api-key | xxxxxxxxxxx | [https://console.xfyun.cn/services/cbm](https://console.xfyun.cn/services/cbm) |\n| api-secret | xxxxxxxxxxx | [https://console.xfyun.cn/services/cbm](https://console.xfyun.cn/services/cbm) |\n\n| sparkDesk version | model |\n|-------------------|-------------|\n| Spark4.0 Ultra | 4.0Ultra |\n| Spark Max | generalv3.5 |\n| Spark Pro | generalv3 |\n| Spark V2.0 | generalv2 |\n| Spark Lite(free) | general |\n"}}, "home/i18n/zh-cn/docusaurus-plugin-content-docs/version-1.7.x/help/ai_config.md": {"12463f6ab72d211de74384515a52d16f3f4989a3": {"t": 1785768224.97296, "n": 5774, "h": "7a91ba1be51a205e", "c": "---\nid: ai_config\ntitle: AI 快速入门 \nsidebar_label: AI 快速入门\nkeywords: [人工智能 AI]\n---\n\n> 通过配置application.yml文件里面的aiConfig实现与人工智能的对话\n\n## 配置参数说明\n\n| 参数名称 | 参数帮助描述 |\n|---------|------------------------------|\n| type | 选择AI大模型(如智普、通义千问...) |\n| model | 选择模型,默认为GLM-4 |\n| api-key | 获取api_key,如果没有该配置,无法与大模型进行对话 |\n\n### 大模型选项与配置详解\n\n#### 智普AI\n\n| 参数名称 | 示例 | 链接 |\n|---------|-----------------------------------------------------|-----------------------------------------------------------------|\n| type | zhiPu(必须和示例完全相同) | 无 |\n| model | glm-4-0520、glm-4 、glm-4-air、glm-4-airx、 glm-4-flash | 无 |\n| api-key | xxxxx.xxxxxx | [https://open.bigmodel.cn/login?redirect=%2Fusercenter%2Fapikeys](https://open.bigmodel.cn/login?redirect=%2Fusercenter%2Fapikeys) |\n\n#### 阿里巴巴AI\n\n| 参数名称 | 示例 | 链接 |\n|---------|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| type | alibabaAi(必须和示例完全相同) | 无 |\n| model | qwen-turbo、qwen-plus、qwen-max、qwen-max-0428、qwen-max-0403、qwen-max-0107、qwen-max-longcontext | [https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction?spm=a2c4g.11186623.0.0.4e0246c1RQFKMH](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction?spm=a2c4g.11186623.0.0.4e0246c1RQFKMH) |\n| api-key | xxxxxxxxxxx | [https://help.aliyun.com/zh/dashscope/developer-reference/activate-dashscope-and-create-an-api-key?spm=a2c4g.11186623.0.i10](https://help.aliyun.com/zh/dashscope/developer-reference/activate-dashscope-and-create-an-api-key?spm=a2c4g.11186623.0.i10) |\n\n#### 月之暗面AI\n\n| 参数名称 | 示例 | 链接 |\n|---------|-------------------------------------------------|-----------------------------------------------|\n| type | kimiAi(必须和示例完全相同) | 无 |\n| model | moonshot-v1-8k、moonshot-v1-32k、moonshot-v1-128k | 无 |\n| api-key | xxxxxxxxxxx | [https://platform.moonshot.cn/console/api-keys](https://platform.moonshot.cn/console/api-keys) |\n\n#### 科大讯飞AI\n\n快速入门:[https://www.xfyun.cn/doc/platform/quickguide.html](https://www.xfyun.cn/doc/platform/quickguide.html)\n\n| 参数名称 | 示例 | 链接 |\n|------------|--------------------------------------------------|---------------------------------------|\n| type | sparkDesk (must be exactly the same as example) | |\n| model | general、generalv2、generalv3、generalv3.5、4.0Ultra | |\n| api-key | xxxxxxxxxxx | [https://console.xfyun.cn/services/cbm](https://console.xfyun.cn/services/cbm) |\n| api-secret | xxxxxxxxxxx | [https://console.xfyun.cn/services/cbm](https://console.xfyun.cn/services/cbm) |\n\n| 模型版本 | 模型类型(application.yml的model参数) |\n|-----------------|-------------------------------|\n| Spark4.0 Ultra | 4.0Ultra |\n| Spark Max | generalv3.5 |\n| Spark Pro | generalv3 |\n| Spark V2.0 | generalv2 |\n| Spark Lite(免费版) | general |\n\n#### Ollama AI\n\n快速入门: [https://github.com/ollama/ollama/tree/main/docs](https://github.com/ollama/ollama/tree/main/docs)\n\n| 参数名称 | 示例 | 链接 |\n|-----------------------|--------------------------------------------------|---------------------------------------|\n| type | ollama (必须和示例完全相同) | |\n| model | deepseek-r1:latest、qwen3:latest、llama4:16x17b | [https://ollama.com/search](https://ollama.com/search) |\n| api-url | [http://127.0.0.1:11434/v1/chat/completions](http://127.0.0.1:11434/v1/chat/completions) | |\n\n#### OpenRouter\n\n快速入门: [https://openrouter.ai/docs/quickstart](https://openrouter.ai/docs/quickstart)\n\n| 参数名称 | 示例 | 链接 |\n|---------|------------------------------------------|----------------------------------------------------|\n| type | openRouter (必须和示例完全相同) | |\n| model | openai/gpt-4o, anthropic/claude-sonnet-4 | [https://openrouter.ai/models](https://openrouter.ai/models) |\n| api-key | xxxxxxxxxxx | [https://openrouter.ai/settings/provisioning-keys](https://openrouter.ai/settings/provisioning-keys) |\n"}}, "home/i18n/zh-cn/docusaurus-plugin-content-docs/version-1.6.x/help/ai_config.md": {"12463f6ab72d211de74384515a52d16f3f4989a3": {"t": 1785768225.1257355, "n": 4345, "h": "6bb5bce7aecd2dd0", "c": "---\nid: aiConfig\ntitle: AI 快速入门 \nsidebar_label: AI 快速入门\nkeywords: [人工智能 AI]\n---\n\n> 通过配置application.yml文件里面的aiConfig实现与人工智能的对话\n\n## 配置参数说明\n\n| 参数名称 | 参数帮助描述 |\n|---------|------------------------------|\n| type | 选择AI大模型(如智普、通义千问...) |\n| model | 选择模型,默认为GLM-4 |\n| api-key | 获取api_key,如果没有该配置,无法与大模型进行对话 |\n\n### 大模型选项与配置详解\n\n#### 智普AI\n\n| 参数名称 | 示例 | 链接 |\n|---------|-----------------------------------------------------|-----------------------------------------------------------------|\n| type | zhiPu(必须和示例完全相同) | 无 |\n| model | glm-4-0520、glm-4 、glm-4-air、glm-4-airx、 glm-4-flash | 无 |\n| api-key | xxxxx.xxxxxx | [https://open.bigmodel.cn/login?redirect=%2Fusercenter%2Fapikeys](https://open.bigmodel.cn/login?redirect=%2Fusercenter%2Fapikeys) |\n\n#### 阿里巴巴AI\n\n| 参数名称 | 示例 | 链接 |\n|---------|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| type | alibabaAi(必须和示例完全相同) | 无 |\n| model | qwen-turbo、qwen-plus、qwen-max、qwen-max-0428、qwen-max-0403、qwen-max-0107、qwen-max-longcontext | [https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction?spm=a2c4g.11186623.0.0.4e0246c1RQFKMH](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction?spm=a2c4g.11186623.0.0.4e0246c1RQFKMH) |\n| api-key | xxxxxxxxxxx | [https://help.aliyun.com/zh/dashscope/developer-reference/activate-dashscope-and-create-an-api-key?spm=a2c4g.11186623.0.i10](https://help.aliyun.com/zh/dashscope/developer-reference/activate-dashscope-and-create-an-api-key?spm=a2c4g.11186623.0.i10) |\n\n#### 月之暗面AI\n\n| 参数名称 | 示例 | 链接 |\n|---------|-------------------------------------------------|-----------------------------------------------|\n| type | kimiAi(必须和示例完全相同) | 无 |\n| model | moonshot-v1-8k、moonshot-v1-32k、moonshot-v1-128k | 无 |\n| api-key | xxxxxxxxxxx | [https://platform.moonshot.cn/console/api-keys](https://platform.moonshot.cn/console/api-keys) |\n\n#### 科大讯飞AI\n\n快速入门:[https://www.xfyun.cn/doc/platform/quickguide.html](https://www.xfyun.cn/doc/platform/quickguide.html)\n\n| 参数名称 | 示例 | 链接 |\n|------------|--------------------------------------------------|---------------------------------------|\n| type | sparkDesk (must be exactly the same as example) | |\n| model | general、generalv2、generalv3、generalv3.5、4.0Ultra | |\n| api-key | xxxxxxxxxxx | [https://console.xfyun.cn/services/cbm](https://console.xfyun.cn/services/cbm) |\n| api-secret | xxxxxxxxxxx | [https://console.xfyun.cn/services/cbm](https://console.xfyun.cn/services/cbm) |\n\n| 模型版本 | 模型类型(application.yml的model参数) |\n|-----------------|-------------------------------|\n| Spark4.0 Ultra | 4.0Ultra |\n| Spark Max | generalv3.5 |\n| Spark Pro | generalv3 |\n| Spark V2.0 | generalv2 |\n| Spark Lite(免费版) | general |\n"}}}}