diff --git a/cognee/modules/retrieval/graph_completion_retriever.py b/cognee/modules/retrieval/graph_completion_retriever.py index 3c5e85089..5b78e5b47 100644 --- a/cognee/modules/retrieval/graph_completion_retriever.py +++ b/cognee/modules/retrieval/graph_completion_retriever.py @@ -50,7 +50,7 @@ class GraphCompletionRetriever(BaseRetriever): content = text else: name = node.attributes.get("name", "Unnamed Node") - content = name + content = node.attributes.get("description", name) nodes[node.id] = {"node": node, "name": name, "content": content} return nodes