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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 大模型对话推理聊天 Request VO")
@Data
public class ChatReqVO {

    @Schema(description = "模型类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "模型类型不能为空")
    private Integer modelType;
    @Schema(description = "模型ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "模型ID不能为空")
    private Long modelId;
    @Schema(description = "应用ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long applicationId;
    @Schema(description = "对话的内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "对话的内容不能为空")
    private String prompt;
    @Schema(description = "对话ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String uuid;
    @Schema(description = "系统提示语")
    private String systemPrompt;
    @Schema(description = "知识库id")
    private Long knowledge;
}
