feat: Integrate Neo4j driver into SystemHandler for enhanced graph database support

- Updated SystemHandler to include a Neo4j driver, allowing for improved interaction with graph databases.
- Modified NewSystemHandler to accept the Neo4j driver as a parameter.
- Adjusted getGraphDatabaseEngine method to return the appropriate engine name based on Neo4j driver availability.
This commit is contained in:
wizardchen
2025-11-20 16:35:07 +08:00
parent 0dbb853860
commit a879bbdbb5
3 changed files with 31 additions and 7 deletions
@@ -0,0 +1,11 @@
-- 000011_remove_kb_rerank_model.down.sql
-- Reintroduce rerank_model_id column to knowledge_bases table
BEGIN;
ALTER TABLE knowledge_bases
ADD COLUMN IF NOT EXISTS rerank_model_id VARCHAR(64);
COMMIT;