Skip to main content
Version: v1.6.x

AI QuickStart

The dialogue with artificial intelligence is achieved by configuring aiConfig in the application.yml file

Configuration parameter description

Name of the parameterParameter help description
typeChoose a large AI model (such as Zhipu, Tongyi thousand questions...)
modelSelect the model, which defaults to GLM-4
api-keyGets the api_key, without which you cannot talk to the large model

Large model options and configuration details

ZhiPu AI

Name of the parameterExampleLink
typezhiPu (must be exactly the same as example)
modelglm-4-0520、glm-4 、glm-4-air、glm-4-airx、 glm-4-flash
api-keyxxxxx.xxxxxxhttps://open.bigmodel.cn/login?redirect=%2Fusercenter%2Fapikeys

Alibaba AI

Name of the parameterExampleLink
typealibabaAi (must be exactly the same as example)
modelqwen-turbo、qwen-plus、qwen-max、qwen-max-0428、qwen-max-0403、qwen-max-0107、qwen-max-longcontexthttps://help.aliyun.com/zh/dashscope/developer-reference/model-introduction?spm=a2c4g.11186623.0.0.4e0246c1RQFKMH
api-keyxxxxxxxxxxxhttps://help.aliyun.com/zh/dashscope/developer-reference/activate-dashscope-and-create-an-api-key?spm=a2c4g.11186623.0.i10

Kimi AI

Name of the parameterExampleLink
typekimiAi (must be exactly the same as example)
modelmoonshot-v1-8k、moonshot-v1-32k、moonshot-v1-128k
api-keyxxxxxxxxxxxhttps://platform.moonshot.cn/console/api-keys

sparkDesk AI

QuickStart: https://www.xfyun.cn/doc/platform/quickguide.html

Name of the parameterExampleLink
typesparkDesk (must be exactly the same as example)
modelgeneral、generalv2、generalv3、generalv3.5、4.0Ultra
api-keyxxxxxxxxxxxhttps://console.xfyun.cn/services/cbm
api-secretxxxxxxxxxxxhttps://console.xfyun.cn/services/cbm
sparkDesk versionmodel
Spark4.0 Ultra4.0Ultra
Spark Maxgeneralv3.5
Spark Progeneralv3
Spark V2.0generalv2
Spark Lite(free)general