mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
【调整】message 修改引入的modal改为model
This commit is contained in:
parent
fd6ce5a627
commit
9ad977bdb9
@ -2,7 +2,7 @@ package cn.iocoder.yudao.module.ai.dal.dataobject.chat;
|
||||
|
||||
import cn.iocoder.yudao.framework.ai.chat.messages.MessageType;
|
||||
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
||||
import cn.iocoder.yudao.module.ai.dal.dataobject.model.AiChatModalDO;
|
||||
import cn.iocoder.yudao.module.ai.dal.dataobject.model.AiChatModelDO;
|
||||
import cn.iocoder.yudao.module.ai.dal.dataobject.model.AiChatRoleDO;
|
||||
import cn.iocoder.yudao.module.ai.enums.AiModelEnum;
|
||||
import com.baomidou.mybatisplus.annotation.KeySequence;
|
||||
@ -70,7 +70,7 @@ public class AiChatMessageDO extends BaseDO {
|
||||
/**
|
||||
* 模型编号
|
||||
*
|
||||
* 关联 {@link AiChatModalDO#getId()} 字段
|
||||
* 关联 {@link AiChatModelDO#getId()} 字段
|
||||
*/
|
||||
private Long modelId;
|
||||
|
||||
|
@ -21,7 +21,7 @@ import cn.iocoder.yudao.module.ai.dal.mysql.AiChatConversationMapper;
|
||||
import cn.iocoder.yudao.module.ai.dal.mysql.AiChatMessageMapper;
|
||||
import cn.iocoder.yudao.module.ai.dal.mysql.AiChatRoleMapper;
|
||||
import cn.iocoder.yudao.module.ai.service.AiChatConversationService;
|
||||
import cn.iocoder.yudao.module.ai.service.AiChatModalService;
|
||||
import cn.iocoder.yudao.module.ai.service.AiChatModelService;
|
||||
import cn.iocoder.yudao.module.ai.service.AiChatRoleService;
|
||||
import cn.iocoder.yudao.module.ai.service.AiChatService;
|
||||
import lombok.AllArgsConstructor;
|
||||
@ -52,7 +52,7 @@ public class AiChatServiceImpl implements AiChatService {
|
||||
private final AiChatMessageMapper aiChatMessageMapper;
|
||||
private final AiChatConversationMapper aiChatConversationMapper;
|
||||
private final AiChatConversationService chatConversationService;
|
||||
private final AiChatModalService aiChatModalService;
|
||||
private final AiChatModelService aiChatModalService;
|
||||
private final AiChatRoleService aiChatRoleService;
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
|
Loading…
Reference in New Issue
Block a user