Skip to navigation

Working with Context

Ingest data, shape Context Graphs, and retrieve context

Zep turns business data, documents, JSON, and conversations into temporal Context Graphs of entities, relationships, facts, and source episodes. An application can then retrieve selected graph data as context for a task.

Work through the stages in order, or jump to the one you need.

StageWhat you doStart here
IngestAdd conversations, business data, documents, or JSON to the correct user or shared Context GraphIngest
Shape the GraphCustomize extraction — ontology, domain terminology, summaries, and observationsShape the Graph
RetrieveSearch a graph or assemble facts, entities, summaries, and other context typesRetrieve
GovernControl which callers can retrieve each graph and source, trace facts to source episodes, and review recorded activityGovernance

Ingest and Retrieve are required for each implementation. Zep extracts entities, relationships, and summaries automatically. Shape the graph when the domain needs a specific ontology, terminology, or summary configuration. Apply governance before an application retrieves production context.

Graph search is part of the Retrieve stage. Graph reads and CRUD are also documented under Working with Graphs, starting with searching the graph.

The graph scope remains part of the application design. User graphs support user and thread workflows. Shared Context Graphs addressed with graph_id support customer, account, project, product, and business-domain context.