From 95bafd942c8b0553f45a7987492ac8cbf6e5ad86 Mon Sep 17 00:00:00 2001 From: Igor Ilic Date: Thu, 4 Sep 2025 18:06:02 +0200 Subject: [PATCH] feat: add coding rule search type --- examples/python/memify_coding_agent_example.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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"