feat(knowdge-base): 知识库-dify配置增加一些top-k等参数

This commit is contained in:
sophie committed 2026-08-20 14:26:04 +08:00
1 parent 9722de1621
commit 7736a6991e
14 files changed
+587 -292

No files matched your search

+6
View File
@@ -112,6 +112,12 @@ export interface KbDifySettings {
KB_DIFY_INDEXING_TECHNIQUE: string;
KB_DIFY_SEARCH_METHOD: string;
KB_DIFY_DOC_FORM: string;
KB_DIFY_RERANKING_ENABLE: boolean | string;
KB_DIFY_TOP_K: number | string;
KB_DIFY_SCORE_THRESHOLD_ENABLED: boolean | string;
KB_DIFY_SCORE_THRESHOLD: number | string;
KB_DIFY_SEGMENT_MAX_TOKENS: number | string;
KB_DIFY_SEGMENT_CHUNK_OVERLAP: number | string;
dify_api_configured?: boolean;
}