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
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.