mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-17 11:39:59 +08:00
Fix:When parsing documents with graph, an error occurred:[ERROR][Exception]: 'method' (#6836)
[When parsing documents with graph, an error occurred:[ERROR][Exception]: 'method'] (https://github.com/infiniflow/ragflow/issues/6835) ### What problem does this PR solve? Close #6786 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe): Co-authored-by: cm <caiming@sict.ac.cn>
This commit is contained in:
parent
dc87c91f9d
commit
d64c6870bb
@ -57,14 +57,14 @@ async def run_graphrag(
|
||||
|
||||
subgraph = await generate_subgraph(
|
||||
LightKGExt
|
||||
if row["parser_config"]["graphrag"]["method"] != "general"
|
||||
if row["kb_parser_config"]["graphrag"]["method"] != "general"
|
||||
else GeneralKGExt,
|
||||
tenant_id,
|
||||
kb_id,
|
||||
doc_id,
|
||||
chunks,
|
||||
language,
|
||||
row["parser_config"]["graphrag"]["entity_types"],
|
||||
row["kb_parser_config"]["graphrag"]["entity_types"],
|
||||
chat_model,
|
||||
embedding_model,
|
||||
callback,
|
||||
|
Loading…
x
Reference in New Issue
Block a user