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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 大模型对话记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ConversationRespVO {

    @Schema(description = "对话记录的唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "17037")
    @ExcelProperty("对话记录的唯一标识")
    private Integer id;

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

    @Schema(description = "对话的内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("对话的内容")
    private String content;

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

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

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

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

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

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}