Quick Start
Getting started with Graphiti
Graphiti uses OpenAI for LLM inference and embedding. Ensure that an OPENAI_API_KEY
is set in your environment. Support for Anthropic and Groq LLM inferences is available, too.
Initialize graphiti
Before running this cell, ensure that you have Neo4j Desktop open, a Project created, a Local DBMS added within that Project, and that the DBMS is started.
Add Episodes
Search the graph
Execute a hybrid search combining semantic similarity and BM25 retrieval Results are combined and reranked using Reciprocal Rank Fusion
Rerank search results based on graph distance
Provide a node UUID to prioritize results closer to that node in the graph. Results are weighted by their proximity, with distant edges receiving lower scores.