mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 14:35:52 +08:00
Fix: parameter error. (#5641)
### What problem does this PR solve? #5600 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
ca04ae9540
commit
02c955babb
@ -186,7 +186,7 @@ class Extractor:
|
|||||||
src_id: str,
|
src_id: str,
|
||||||
tgt_id: str,
|
tgt_id: str,
|
||||||
edges_data: list[dict],
|
edges_data: list[dict],
|
||||||
all_relationships_data
|
all_relationships_data=None
|
||||||
):
|
):
|
||||||
if not edges_data:
|
if not edges_data:
|
||||||
return
|
return
|
||||||
@ -229,7 +229,8 @@ class Extractor:
|
|||||||
source_id=source_id
|
source_id=source_id
|
||||||
)
|
)
|
||||||
self._set_relation_(src_id, tgt_id, edge_data)
|
self._set_relation_(src_id, tgt_id, edge_data)
|
||||||
all_relationships_data.append(edge_data)
|
if all_relationships_data is not None:
|
||||||
|
all_relationships_data.append(edge_data)
|
||||||
|
|
||||||
async def _handle_entity_relation_summary(
|
async def _handle_entity_relation_summary(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user