Understanding the Graph

Zep’s knowledge graph powers its facts and memory capabilities. Zep’s graph is built on Graphiti, Zep’s open-source temporal graph library, which is fully integrated into Zep. Developers do not need to interact directly with Graphiti or understand its underlying implementation.

Zep’s graph database stores data in three main types:

  1. Entity edges (edges): Represent relationships between nodes and include semantic facts representing the relationship between the edge’s nodes.
  2. Entity nodes (nodes): Represent entities extracted from episodes, containing summaries of relevant information.
  3. Episodic nodes (episodes): Represent raw data stored in Zep, either through chat history or the graph.add endpoint.

Working with the Graph

To learn more about interacting with Zep’s graph, refer to the following sections:

These guides will help you leverage the full power of Zep’s knowledge graph in your applications.