Skip to main content

Parameters

Metadata filters

Filter search results by metadata stored on entities. Uses PostgreSQL JSONB containment (@>) for fast filtering with GIN indexes.

Graph RAG (graph depth)

Mengram uses Graph RAG — retrieval-augmented generation over a knowledge graph. Instead of flat vector search, it traverses entity relationships to find connected context.
Searching for “database issues” also surfaces that OOM bug on Railway — connected through the knowledge graph, not through keyword or embedding similarity. Control traversal depth with graph_depth:
Search all 3 memory types in a single call:
Search facts by time range: