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

import lombok.Data;

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

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

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

    @Serial
    private static final long serialVersionUID = 1L;

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

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

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

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

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

    /**
     * 修改人
     */
    @Schema(description = "修改人")
    private Long updateUser;

    /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
}