This commit is contained in:
phernandez
2025-01-03 18:20:33 -06:00
parent ecbe612fdc
commit 4feb8aa4e0
2 changed files with 63 additions and 15 deletions
@@ -76,12 +76,7 @@ class KnowledgeWriter:
# Outgoing relations
for rel in entity.to_relations:
sections.append(f"- [[{rel.from_entity.name}]] {rel.relation_type}")
# Incoming relations
for rel in entity.from_relations:
sections.append(f"- [[{rel.to_entity.name}]] {rel.relation_type}")
sections.append(f"- {rel.relation_type} [[{rel.from_entity.name}]] ")
sections.append("")
if metadata: