diff --git a/examples/python/memify_coding_agent_example.py b/examples/python/memify_coding_agent_example.py index 7f8c58802..0238cf775 100644 --- a/examples/python/memify_coding_agent_example.py +++ b/examples/python/memify_coding_agent_example.py @@ -85,14 +85,15 @@ async def main(): ) # Find the new specific coding rules added to graph through memify (created based on chat conversation between team members) - print( - await cognee.search( - query_text="List me the coding rules", - query_type=cognee.SearchType.CODING_RULES, - node_name=["coding_agent_rules"], - ) + coding_rules = await cognee.search( + query_text="List me the coding rules", + query_type=cognee.SearchType.CODING_RULES, + node_name=["coding_agent_rules"], ) + for coding_rule in coding_rules: + print(coding_rule) + # Visualize new graph with added memify context file_path = os.path.join( pathlib.Path(__file__).parent, ".artifacts", "graph_visualization_after_memify.html"