Skip to content

Incremental engine for long horizon agents 🌟 Star if you like it!

1.0 KB
Raw Blame
{
  "alt": "Three Markdown docs from markdown_files/ become Document nodes in Neo4j, each joined by a MENTION edge to the shared CocoIndex entity; LLM-extracted triples become RELATIONSHIP edges such as CocoIndex supports Incremental Processing, Incremental Processing relies on change detection, and triple becomes relationship; editing incremental_processing.md re-derives only its Document node and MENTION edge, and the Cypher query \"How concepts relate\" lists those triples.",
  "needs": ["Docker (for Neo4j)", "Python 3.11+", "OPENAI_API_KEY (or a local Ollama model)"],
  "run": [
    { "note": "Start Neo4j", "cmd": "docker run -d -p 7474:7474 -p 7687:7687 -e NEO4J_AUTH=neo4j/cocoindex --name cocoindex-neo4j neo4j:5.26-community" },
    { "note": "Configure (set OPENAI_API_KEY) and install", "cmd": "cp .env.example .env && pip install -e ." },
    { "note": "Build the graph from markdown_files/", "cmd": "cocoindex update main" },
    { "note": "Explore it in Neo4j Browser (neo4j / cocoindex)", "cmd": "open http://localhost:7474" }
  ]
}