feat: kb rerank — per-KB config via the llm gateway

This commit is contained in:
zhongqin
2026-09-17 07:47:28 +08:00
parent 30dccb5a76
commit b2d4fadb74
19 changed files with 920 additions and 19 deletions
+3
View File
@@ -1625,6 +1625,9 @@ CREATE TABLE IF NOT EXISTS kb_knowledge_bases (
chunking_config TEXT,
embedding_model TEXT,
embedding_dim BIGINT,
rerank_model TEXT,
rerank_window BIGINT,
rerank_threshold REAL,
status TEXT NOT NULL DEFAULT 'active',
created_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%SZ','now')),
updated_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%SZ','now'))