1.修复创建多个向量库2.查看试卷没有用户答案3.向量化自动出题
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package top.tqx.demo_1.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
@@ -55,7 +56,12 @@ public class ExamGenerateRequest implements Serializable {
|
||||
@Schema(description = "自定义题型分数配置,仅在指定题型模式下有效")
|
||||
private Map<String, BigDecimal> questionScores; // 各题型分数配置
|
||||
|
||||
@JsonProperty("exclude_stems")
|
||||
@Schema(description = "已有题目的题干列表,用于去重,最多100条")
|
||||
private List<String> excludeStems;
|
||||
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class QuestionContent implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -70,6 +76,9 @@ public class ExamGenerateRequest implements Serializable {
|
||||
|
||||
@JsonProperty("explanation")
|
||||
private String explanation;
|
||||
|
||||
@JsonProperty("referenced_chunk_ids")
|
||||
private List<String> referencedChunkIds;
|
||||
}
|
||||
|
||||
@Data
|
||||
|
||||
Reference in New Issue
Block a user