fix: 修复 txt 索引 content_list 变量未定义 + 简化示例对齐
GraphRAG CI/CD / build-and-deploy (push) Successful in 5m12s
GraphRAG CI/CD / build-and-deploy (push) Successful in 5m12s
- txt 流程中 content_list 不存在导致 stats 阶段崩溃 - Few-shot 示例简化,使用短句精确匹配避免对齐失败
This commit is contained in:
@@ -218,7 +218,7 @@ def _run_pipeline(job_id: str) -> None:
|
||||
|
||||
elapsed = round(time.time() - start_time, 1)
|
||||
stats = {
|
||||
"blocks": len(content_list),
|
||||
"blocks": total_pages if ext in ("txt",) else len(content_list),
|
||||
"block_types": block_types,
|
||||
"pages": total_pages,
|
||||
"raw_extractions": len(records),
|
||||
|
||||
Reference in New Issue
Block a user