基于SSM框架的智谱AI大模型双模式二次开发实践

打开文本图片集
中图分类号:TP311.5;TP18 文献标识码:A 文章编号:2096-4706(2025)20-0060-07
Abstract:In response to the development needs of embedding AIcapabilities into applicationsoftware,this stdy explores theinterfacesecondarydevelopment processesandmethods forintegratingtheSSMframework (Spring+SpringMVC+MyBatis) withthe SDKand HTTPmodesof ZhipuAIlarge model.Throughkeysteps such ascontroler definition,service layerdesign, and AI model embeddng,both the SDK and HTTPcaling modes are implemented,covering the developmentof scenarios including NaturalLanguage Processngand text-to-imagegeneration.Experiments show that the SDKapproachlowers the development threshold,whiletheHTTapproachsupportsfexibleparameterconfiguration.Itprovidesareusableachitecture for embedding AIlarge models into industry-specific software systems and offers reference valuefor advancingtheengieering application of AI in vertical fields.
Keywords:SSM;Artificial Intelligence; Zhipu Qingyan; interface secondarydevelopment
0 引言
随着人工智能赋能行业应用的需求增加,在软件开发框架中嵌入人工智能大模型的需求不断增多,人工智能在各行业的应用逐步从“研究”阶段走向“应用嵌入”阶段,在这个阶段,人工智能大模型将与各行业现有的信息化、数字化系统深度结合,赋能行业发展。(剩余11402字)