mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Perf: pass useless check for tidy graph (#8121)
### What problem does this PR solve? Support passing the attribute check when the upstream has already made sure it. ### Type of change - [X] Performance Improvement
This commit is contained in:
@ -166,7 +166,7 @@ async def generate_subgraph(
|
||||
)
|
||||
if ignored_rels:
|
||||
callback(msg=f"ignored {ignored_rels} relations due to missing entities.")
|
||||
tidy_graph(subgraph, callback)
|
||||
tidy_graph(subgraph, callback, check_attribute=False)
|
||||
|
||||
subgraph.graph["source_id"] = [doc_id]
|
||||
chunk = {
|
||||
|
||||
Reference in New Issue
Block a user