package cn.iocoder.yudao.module.llm.controller.admin.conversation.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 大模型对话记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ConversationPageReqVO extends PageParam {

    @Schema(description = "对话中的角色: user, assistant, system")
    private String role;

    @Schema(description = "对话的内容")
    private String content;

    @Schema(description = "推理参数，采用 JSON 格式")
    private String modelParams;

    @Schema(description = "提示词")
    private String prompt;

    @Schema(description = "知识库相关信息", example = "15002")
    private String knowledgeBaseId;

    @Schema(description = "应用ID", example = "31046")
    private Long applicationId;

    @Schema(description = "模型服务ID", example = "2904")
    private Long modelServiceId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}