mirror of https://github.com/jeecgboot/jeecg-boot
AIGC大模型应用功能
parent
a679571a5a
commit
d2365088ce
|
@ -54,7 +54,7 @@
|
||||||
</dependency>-->
|
</dependency>-->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jeecgframework.boot</groupId>
|
<groupId>org.jeecgframework.boot3</groupId>
|
||||||
<artifactId>jeecg-aiflow</artifactId>
|
<artifactId>jeecg-aiflow</artifactId>
|
||||||
<version>1.0.4</version>
|
<version>1.0.4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -583,8 +583,7 @@ public class AiragChatServiceImpl implements IAiragChatService {
|
||||||
flowInputParams.put(FlowConsts.FLOW_INPUT_PARAM_IMAGES, sendParams.getImages());
|
flowInputParams.put(FlowConsts.FLOW_INPUT_PARAM_IMAGES, sendParams.getImages());
|
||||||
flowRunParams.setInputParams(flowInputParams);
|
flowRunParams.setInputParams(flowInputParams);
|
||||||
HttpServletRequest httpRequest = SpringContextUtils.getHttpServletRequest();
|
HttpServletRequest httpRequest = SpringContextUtils.getHttpServletRequest();
|
||||||
// TODO 未改好111
|
flowRunParams.setHttpRequest(httpRequest);
|
||||||
// flowRunParams.setHttpRequest(httpRequest);
|
|
||||||
// 流程结束后,记录ai返回并保存会话
|
// 流程结束后,记录ai返回并保存会话
|
||||||
// sse
|
// sse
|
||||||
SseEmitter emitter = AiragLocalCache.get(AiragConsts.CACHE_TYPE_SSE, requestId);
|
SseEmitter emitter = AiragLocalCache.get(AiragConsts.CACHE_TYPE_SSE, requestId);
|
||||||
|
|
|
@ -25,14 +25,12 @@
|
||||||
<version>${jeecgboot.version}</version>
|
<version>${jeecgboot.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- AI大模型管理
|
<!-- AI大模型管理 -->
|
||||||
TODO 未改好111
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.jeecgframework.boot</groupId>
|
<groupId>org.jeecgframework.boot</groupId>
|
||||||
<artifactId>jeecg-boot-module-airag</artifactId>
|
<artifactId>jeecg-boot-module-airag</artifactId>
|
||||||
<version>${jeecgboot.version}</version>
|
<version>${jeecgboot.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- flyway 数据库自动升级
|
<!-- flyway 数据库自动升级
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
Loading…
Reference in New Issue