Zep Q2 Feature Round-up

In Q2, we focused on expanding the flexibility of Zep's knowledge graph capabilities, improving observability, and making it easier to work with episodes and relationships. Here’s a look at the major features and improvements shipped this quarter.
Custom Entity Types
This release introduces support for custom entity types using Pydantic-like classes, enabling you to define and manage the key entities relevant to your application. You can now create and retrieve memory around the entities that matter most to your use case. Learn more
Custom Edge Types (Experimental)
Building on custom entity types, we’ve added experimental support for custom edge types—letting you define specific relationships, user actions, events, or preferences as edges in your knowledge graphs. See details
Debug and API Logs in the Web App
The web app now provides detailed debug logs for the ingestion process of each episode, allowing you to track when ingestion starts and completes. Debug logs can be enabled on the project page and accessed from the user or group page. API logs, showing errors and warnings, are also available from the project page. Read the docs

Episode Search
You can now set the search scope to episodes, allowing you to search the raw messages or data chunks sent to Zep. This complements the existing ability to search nodes and edges, making it easier to find relevant information at the episode level. Episode search documentation
Other Features
Other updates this quarter include:
- Check data ingestion status: Episodes now have a
processed
field to indicate whether they’ve been processed. - Cite sources of Zep results: The
source_description
field can be set ingraph.add
to identify the source of a node or edge. - Bulk episode ingestion: Add non-temporal data in bulk for more efficient ingestion.
- You can now delete users, sessions, and groups in the web app.
- Get the nodes and edges mentioned in an episode.
- Get the episodes that mention a given node.
- Get the neighboring edges of a node.
- Session ID added to Episode objects.
- Exposed
created_at
ingraph.add
: allows you to set a reference time for when data was originally generated. - Improved the quality of graph search.
- Additional improvements to the data ingestion process into Zep knowledge graphs.