Fix file_path missing in acreate_entity and acreate_relation

This commit is contained in:
yangdx
2025-04-26 22:15:54 +08:00
parent 987c1e4265
commit 90cacdbcc3
2 changed files with 4 additions and 4 deletions

View File

@@ -502,6 +502,7 @@ async def acreate_entity(
"source_id": source_id,
"description": description,
"entity_type": entity_type,
"file_path": entity_data.get("file_path", "manual_creation"),
}
}
@@ -607,6 +608,7 @@ async def acreate_relation(
"description": description,
"keywords": keywords,
"weight": weight,
"file_path": relation_data.get("file_path", "manual_creation"),
}
}