mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-19 03:30:06 +08:00
添加对话 res 返回信息
This commit is contained in:
parent
66d0208920
commit
e8f4dd7905
@ -1,5 +1,9 @@
|
|||||||
package cn.iocoder.yudao.module.ai.vo;
|
package cn.iocoder.yudao.module.ai.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 聊天对话 res
|
* 聊天对话 res
|
||||||
*
|
*
|
||||||
@ -7,5 +11,28 @@ package cn.iocoder.yudao.module.ai.vo;
|
|||||||
* @time 2024/4/18 16:24
|
* @time 2024/4/18 16:24
|
||||||
* @since 1.0
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
public class ChatConversationRes {
|
public class ChatConversationRes {
|
||||||
|
|
||||||
|
@Schema(description = "id")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
@Schema(description = "用户id")
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
@Schema(description = "chat角色Id")
|
||||||
|
private Long chatRoleId;
|
||||||
|
|
||||||
|
@Schema(description = "chat角色名称")
|
||||||
|
private String chatRoleName;
|
||||||
|
|
||||||
|
@Schema(description = "聊天标题(有程序自动生成)")
|
||||||
|
private String chatTitle;
|
||||||
|
|
||||||
|
@Schema(description = "聊天次数(有程序自动生成)")
|
||||||
|
private Integer chatCount;
|
||||||
|
|
||||||
|
@Schema(description = "对话类型(roleChat、userChat)")
|
||||||
|
private String chatType;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user