diff --git a/README.md b/README.md index 5be2758ef..9fd5635ae 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Let’s try Cognee in just a few lines of code. For detailed setup and configura ### Prerequisites -- Python 3.10 to 3.12 +- Python 3.10 to 3.13 ### Step 1: Install Cognee @@ -180,17 +180,17 @@ cognee-cli -ui See Cognee in action: -### Cognee Cloud Beta Demo +### Persistent Agent Memory -[Watch Demo](https://github.com/user-attachments/assets/fa520cd2-2913-4246-a444-902ea5242cb0) +[Cognee Memory for LangGraph Agents](https://github.com/user-attachments/assets/e113b628-7212-4a2b-b288-0be39a93a1c3) -### Simple GraphRAG Demo +### Simple GraphRAG -[Watch Demo](https://github.com/user-attachments/assets/d80b0776-4eb9-4b8e-aa22-3691e2d44b8f) +[Watch Demo](https://github.com/user-attachments/assets/f2186b2e-305a-42b0-9c2d-9f4473f15df8) ### Cognee with Ollama -[Watch Demo](https://github.com/user-attachments/assets/8621d3e8-ecb8-4860-afb2-5594f2ee17db) +[Watch Demo](https://github.com/user-attachments/assets/39672858-f774-4136-b957-1e2de67b8981) ## Community & Support diff --git a/cognee/modules/retrieval/cypher_search_retriever.py b/cognee/modules/retrieval/cypher_search_retriever.py index 9978f2536..01816f3df 100644 --- a/cognee/modules/retrieval/cypher_search_retriever.py +++ b/cognee/modules/retrieval/cypher_search_retriever.py @@ -1,4 +1,6 @@ from typing import Any, Optional +from fastapi.encoders import jsonable_encoder + from cognee.infrastructure.databases.graph import get_graph_engine from cognee.modules.retrieval.base_retriever import BaseRetriever from cognee.modules.retrieval.utils.completion import generate_completion @@ -50,7 +52,7 @@ class CypherSearchRetriever(BaseRetriever): logger.warning("Search attempt on an empty knowledge graph") return [] - result = await graph_engine.query(query) + result = jsonable_encoder(await graph_engine.query(query)) except Exception as e: logger.error("Failed to execture cypher search retrieval: %s", str(e)) raise CypherSearchError() from e diff --git a/pyproject.toml b/pyproject.toml index 5f0aef1d8..be500ce39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "cognee" -version = "0.3.9" +version = "0.4.0" description = "Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning." authors = [ { name = "Vasilije Markovic" },