34 lines
1.1 KiB
Java
34 lines
1.1 KiB
Java
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 = "主表ID(ai_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;
|
||
}
|