mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-25 18:03:29 +08:00
fix: stabilize knowledge compilation navigation updates (#17345)
This commit is contained in:
@@ -163,7 +163,14 @@ class Compiler(ProcessBase, LLM):
|
||||
try:
|
||||
from rag.advanced_rag.knowlege_compile.dataset_nav import upsert_dataset_nav_doc
|
||||
|
||||
await upsert_dataset_nav_doc(tenant_id, kb_id, doc_id, tree)
|
||||
await upsert_dataset_nav_doc(
|
||||
tenant_id,
|
||||
kb_id,
|
||||
doc_id,
|
||||
tree,
|
||||
embd_mdl=embedding_model,
|
||||
chat_mdl=chat_mdl_by_tid[template_id],
|
||||
)
|
||||
except Exception:
|
||||
logging.exception("Compiler: tree-template %s dataset navigation upsert failed for doc %s", template_id, doc_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user