package com.pavis.admin.aigc.model.resp;

import lombok.Data;

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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;

import com.pavis.admin.common.model.resp.BaseDetailResp;
import java.io.Serial;
import java.time.*;
import java.math.BigDecimal;

/**
 * 应用和知识库关联详情信息
 *
 * @author semi
 * @since 2025/05/26 17:28
 */
@Data
@ExcelIgnoreUnannotated
@Schema(description = "应用和知识库关联详情信息")
public class AppKnowledgeDetailResp extends BaseDetailResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 应用ID
     */
    @Schema(description = "应用ID")
    @ExcelProperty(value = "应用ID")
    private Long appId;

    /**
     * 知识库ID
     */
    @Schema(description = "知识库ID")
    @ExcelProperty(value = "知识库ID")
    private Long knowledgeId;

    /**
     * 检索配置
     */
    @Schema(description = "检索配置")
    @ExcelProperty(value = "检索配置")
    private String retrievalConfig;

    /**
     * 检索返回数量
     */
    @Schema(description = "检索返回数量")
    @ExcelProperty(value = "检索返回数量")
    private Integer topK;

    /**
     * 相似度阈值
     */
    @Schema(description = "相似度阈值")
    @ExcelProperty(value = "相似度阈值")
    private BigDecimal scoreThreshold;
}