cognee/README.md
2024-01-26 11:21:21 +01:00

5.9 KiB

Cognee

AI Applications and RAGs - Cognitive Architecture, Testability, Production Ready Apps

promethAI logo

Open-source framework for building and testing RAGs and Cognitive Architectures, designed for accuracy, transparency, and control.

cognee forks cognee stars cognee pull-requests

Share promethAI Repository

Follow _promethAI Share on Telegram Share on Reddit Buy Me A Coffee


This repo is built to test and evolve RAG architecture, inspired by human cognitive processes, using Python. It's aims to be production ready, testable, and give great visibility in how we build RAG applications. It runs in iterations, from POC towards production ready code.

To read more about the approach and details on cognitive architecture, see the blog post: AI Applications and RAGs - Cognitive Architecture, Testability, Production Ready Apps

Try it on Whatsapp with one of our partners Keepi.ai by typing /save {content} followed by /query {content}

Current Focus

Level 5 - Integration to keepi.ai and other apps

Scope: Use Neo4j to map user preferences into a graph structure consisting of semantic, episodic, and procedural memory. Fetch information and store information and files on Whatsapp chatbot using Keepi.ai Use the graph to answer user queries and store new information in the graph.

Image

Installation

Run cognee

Make sure you have Docker, Poetry, and Python 3.11 installed and postgres installed.

Copy the .env.example to .env and fill in the variables

poetry shell

docker compose up

And send API requests add-memory, user-query-to-graph, document-to-graph-db, user-query-processor to the locahost:8000

If you are running natively, change ENVIRONMENT to local in the .env file If you are running in docker, change ENVIRONMENT to postgres in the .env file