Merge branch 'fix/update-mcp-tools-documentation' of https://github.com/armelhbobdad/cognee into fix/update-mcp-tools-documentation
This commit is contained in:
commit
4fcbc96e85
3 changed files with 10 additions and 8 deletions
12
README.md
12
README.md
|
|
@ -98,7 +98,7 @@ Let’s try Cognee in just a few lines of code. For detailed setup and configura
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- Python 3.10 to 3.12
|
- Python 3.10 to 3.13
|
||||||
|
|
||||||
### Step 1: Install Cognee
|
### Step 1: Install Cognee
|
||||||
|
|
||||||
|
|
@ -180,17 +180,17 @@ cognee-cli -ui
|
||||||
|
|
||||||
See Cognee in action:
|
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
|
### 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
|
## Community & Support
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
from typing import Any, Optional
|
from typing import Any, Optional
|
||||||
|
from fastapi.encoders import jsonable_encoder
|
||||||
|
|
||||||
from cognee.infrastructure.databases.graph import get_graph_engine
|
from cognee.infrastructure.databases.graph import get_graph_engine
|
||||||
from cognee.modules.retrieval.base_retriever import BaseRetriever
|
from cognee.modules.retrieval.base_retriever import BaseRetriever
|
||||||
from cognee.modules.retrieval.utils.completion import generate_completion
|
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")
|
logger.warning("Search attempt on an empty knowledge graph")
|
||||||
return []
|
return []
|
||||||
|
|
||||||
result = await graph_engine.query(query)
|
result = jsonable_encoder(await graph_engine.query(query))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("Failed to execture cypher search retrieval: %s", str(e))
|
logger.error("Failed to execture cypher search retrieval: %s", str(e))
|
||||||
raise CypherSearchError() from e
|
raise CypherSearchError() from e
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[project]
|
[project]
|
||||||
name = "cognee"
|
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."
|
description = "Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning."
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Vasilije Markovic" },
|
{ name = "Vasilije Markovic" },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue