feat: improve knowledge sync and entity alignment
This commit is contained in:
1 parent
7dbac9cc56
commit
dea4697ea0
38 files changed
+3742
-634
No files matched your search
@@ -589,13 +589,14 @@ llmwiki:
|
||||
timeout_seconds: 30
|
||||
# 本地 Wiki 向量化:用于普通知识库“下载向量化数据包”和助手知识库向量检索。
|
||||
# 已有相同内容哈希 + 相同 embedding fingerprint 的 Wiki 向量会直接复用,不会重复编码。
|
||||
# local 模式使用 CPU BGE-M3,需安装 local-embedding 依赖并预下载官方 ONNX 权重。
|
||||
# auto_sync=true 才会后台自动增量同步;服务启动时只启动定时器,不会立刻全量向量化。
|
||||
# local 模式使用 CPU BGE-M3;离线包必须包含 fastembed,并提前放置完整 ONNX 权重。
|
||||
# 启动后先补扫一次,此后按间隔自动增量向量化并沉淀到“知识梳理总库”。
|
||||
local_wiki_index:
|
||||
enabled: true
|
||||
# 免登录 POST /api/knowledge/vector-search 返回的 Wiki 一键跳转链接前缀。
|
||||
frontend_base_url: "http://127.0.0.1:5174"
|
||||
auto_sync: false
|
||||
auto_sync: true
|
||||
sync_interval_seconds: 30
|
||||
database_batch_size: 50
|
||||
embedding:
|
||||
provider: local
|
||||
@@ -603,6 +604,11 @@ llmwiki:
|
||||
dimensions: 1024
|
||||
batch_size: 2
|
||||
local_threads: 2
|
||||
# 独立子进程承载大模型内存;编码器异常退出不会带停 DeerFlow 主服务。
|
||||
local_process_isolation: true
|
||||
# 离线部署必须指向提前放置好的完整 BGE-M3 模型目录;也可设置
|
||||
# DEERFLOW_BGE_M3_MODEL_PATH。系统不会联网下载模型。
|
||||
local_model_path: ""
|
||||
base_url: ""
|
||||
api_key: ""
|
||||
|
||||
|
||||
Reference in new issue
Block a user