refactor: update cognee tasks to add frequency tracking script

This commit is contained in:
Christina_Raichel_Francis 2025-12-17 10:36:59 +00:00
parent aeda1d8eba
commit ee29dd1f81

View file

@ -0,0 +1,7 @@
from cognee.modules.graph.cognee_graph.CogneeGraph import CogneeGraph
async def extract_subgraph(subgraphs: list[CogneeGraph]):
for subgraph in subgraphs:
for edge in subgraph.edges:
yield edge