Commit e8f4dd790599dc172362235b295e4b570b297eef

Authored by cherishsince
1 parent 66d02089

添加对话 res 返回信息

yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/vo/ChatConversationRes.java
1 package cn.iocoder.yudao.module.ai.vo; 1 package cn.iocoder.yudao.module.ai.vo;
2 2
  3 +import io.swagger.v3.oas.annotations.media.Schema;
  4 +import lombok.Data;
  5 +import lombok.experimental.Accessors;
  6 +
3 /** 7 /**
4 * 聊天对话 res 8 * 聊天对话 res
5 * 9 *
@@ -7,5 +11,28 @@ package cn.iocoder.yudao.module.ai.vo; @@ -7,5 +11,28 @@ package cn.iocoder.yudao.module.ai.vo;
7 * @time 2024/4/18 16:24 11 * @time 2024/4/18 16:24
8 * @since 1.0 12 * @since 1.0
9 */ 13 */
  14 +@Data
  15 +@Accessors(chain = true)
10 public class ChatConversationRes { 16 public class ChatConversationRes {
  17 +
  18 + @Schema(description = "id")
  19 + private Long id;
  20 +
  21 + @Schema(description = "用户id")
  22 + private Long userId;
  23 +
  24 + @Schema(description = "chat角色Id")
  25 + private Long chatRoleId;
  26 +
  27 + @Schema(description = "chat角色名称")
  28 + private String chatRoleName;
  29 +
  30 + @Schema(description = "聊天标题(有程序自动生成)")
  31 + private String chatTitle;
  32 +
  33 + @Schema(description = "聊天次数(有程序自动生成)")
  34 + private Integer chatCount;
  35 +
  36 + @Schema(description = "对话类型(roleChat、userChat)")
  37 + private String chatType;
11 } 38 }