TASK:LLM;

This commit is contained in:
shahaibo
2025-05-18 12:46:12 +08:00
parent bf92edb267
commit 59ffa38ff7
23 changed files with 600 additions and 8 deletions

View File

@@ -0,0 +1,7 @@
package com.ai.da.mapper.primary;
import com.ai.da.common.config.mybatis.plus.CommonMapper;
import com.ai.da.mapper.primary.entity.ChatMessage;
public interface ChatMessageMapper extends CommonMapper<ChatMessage> {
}

View File

@@ -0,0 +1,35 @@
package com.ai.da.mapper.primary.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("chat_message")
public class ChatMessage implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
private Long projectId;
private String role;
private Integer seq;
private String content;
private Long accountId;
private LocalDateTime createTime;
}

View File

@@ -101,5 +101,9 @@ public class Workspace implements Serializable {
private Long projectId;
private Integer userBrandDna;
private Integer brandPercentage;
}