Get started with Cognee quickly and efficiently
.add
— Adds documents to Cognee so they can be cognified. In this case, we added a single document (the string “Frodo carried the One Ring to Mordor”)..cognify
— This is where the cognification happens. All documents are chunked, entities are extracted, relationships are made, and summaries are generated. In this case, we can expect entities like Frodo, One Ring, and Mordor..search
— Queries the knowledge graph using vector similarity and graph traversal to find relevant information and return contextual results.