AIGC大模型应用功能

springboot3_sas
JEECG 2025-05-16 11:27:48 +08:00
parent a679571a5a
commit d2365088ce
3 changed files with 4 additions and 7 deletions

View File

@ -54,7 +54,7 @@
</dependency>-->
<dependency>
<groupId>org.jeecgframework.boot</groupId>
<groupId>org.jeecgframework.boot3</groupId>
<artifactId>jeecg-aiflow</artifactId>
<version>1.0.4</version>
</dependency>

View File

@ -583,8 +583,7 @@ public class AiragChatServiceImpl implements IAiragChatService {
flowInputParams.put(FlowConsts.FLOW_INPUT_PARAM_IMAGES, sendParams.getImages());
flowRunParams.setInputParams(flowInputParams);
HttpServletRequest httpRequest = SpringContextUtils.getHttpServletRequest();
// TODO 未改好111
// flowRunParams.setHttpRequest(httpRequest);
flowRunParams.setHttpRequest(httpRequest);
// 流程结束后,记录ai返回并保存会话
// sse
SseEmitter emitter = AiragLocalCache.get(AiragConsts.CACHE_TYPE_SSE, requestId);

View File

@ -25,15 +25,13 @@
<version>${jeecgboot.version}</version>
</dependency>
<!-- AI大模型管理
TODO 未改好111
<!-- AI大模型管理 -->
<dependency>
<groupId>org.jeecgframework.boot</groupId>
<artifactId>jeecg-boot-module-airag</artifactId>
<version>${jeecgboot.version}</version>
</dependency>
-->
<!-- flyway 数据库自动升级
<dependency>
<groupId>org.flywaydb</groupId>