Files
smartDriveEE/src/main/java/com/rj/dto/AiQaCustomerAskRequestDto.java

34 lines
1.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.rj.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* AI 问答:客户向大模型提问的请求参数
*/
@Data
@Schema(description = "AI 问答客户提问请求")
public class AiQaCustomerAskRequestDto {
@Schema(description = "主表IDai_qa_main.id", requiredMode = Schema.RequiredMode.REQUIRED)
private String parentId;
@Schema(description = "客户问题类型", requiredMode = Schema.RequiredMode.REQUIRED)
private String questionType;
@Schema(description = "客户问题内容", requiredMode = Schema.RequiredMode.REQUIRED)
private String questionContent;
@Schema(description = "模型名,默认取配置 ai.qa.local.default-model如 Qwen2.5-7B-Instruct")
private String model;
private String loginAccount;
private String userName;
@Schema(description = "可选系统提示词,不传则使用默认助手设定")
private String systemPrompt;
@Schema(description = "max_tokens不传则使用配置 ai.qa.local.max-tokens默认 512")
private Integer maxTokens;
}