1.6 KiB
cognee, Make data processing for LLMs easy
Open-source framework for creating knowledge graphs and data models for LLMs.
cognee makes it easy to reliably enrich data for Large Language Models (LLMs) like GPT-3.5, GPT-4, GPT-4-Vision, including in the future the open source models like Mistral/Mixtral from Together, Anyscale, Ollama, and llama-cpp-python.
By leveraging various tools like graph databases, function calling, tool calling and Pydantic; cognee stands out for its aim to emulate human memory for LLM apps and frameworks. We leverage Neo4j to do the heavy lifting and dlt to load the data, and we've built a simple, easy-to-use API on top of it by helping you manage your context
Getting Started
pip install -U cognee
You can also check out our cookbook to learn more about how to use cognee.
Why use cognee?
The question of using cognee is fundamentally a question of why to structure data inputs and outputs for your llm workflows.
-
Cost effective — With our upcoming opensource release, cognee will extend the capabilities of your LLMs without the need for expensive data processing tools.
-
Self contained — cognee runs as a library and is simple to use
-
Interpretable — Navigate graphs instead of embeddings to understand your data.
-
User Guided cognee lets you control your input and provide your own Pydantic data models