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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 大模型对话记录新增/修改 Request VO")
@Data
public class ConversationSaveReqVO {

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

    @Schema(description = "对话中的角色: user, assistant, system", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "对话中的角色: user, assistant, system不能为空")
    private String role;

    @Schema(description = "对话的内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "对话的内容不能为空")
    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;

}