This commit is contained in:
2026-04-30 16:08:39 +08:00
parent f95aa18724
commit 1503b26959
41 changed files with 4503 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package com.learn.dto;
import jakarta.validation.constraints.NotBlank;
public class RAGQueryRequest {
@NotBlank(message = "问题不能为空")
private String question;
private int topK = 3;
public String getQuestion() { return question; }
public void setQuestion(String question) { this.question = question; }
public int getTopK() { return topK; }
public void setTopK(int topK) { this.topK = topK; }
}