Hybrid retrieval in one query
Find semantically similar entities, then traverse their relationships to build connected context — in a single pipeline, without round-tripping between systems.
Similarity and structure in a single engine. Run vector search and graph traversal together or use Memgraph alongside your existing vector database.
Vector search finds what's semantically similar. Graph traversal finds what's structurally connected. Memgraph handles both in a single engine — with 85% less memory for vector storage.
No separate vector database, no data duplication, no synchronization overhead.
Keep Pinecone, Weaviate, Qdrant, Chroma, or Milvus. Add Memgraph as the graph layer.
CREATE VECTOR INDEX movies_index ON :Movie(embedding) WITH CONFIG {'dimension': 384, 'capacity': 10000, 'metric': 'cos'};
CALL vector_search.search('movies_index', 5, $query_vector) YIELD node, similarity
CALL vector_search.search('movies_index', 5, $query_vector) YIELD node, similarity MATCH (node)-[:DIRECTED_BY]->(director)-[:DIRECTED]->(other) RETURN other.title, similarity ORDER BY similarity DESC
One query. Both similarity and structure. No external system required.
Find semantically similar entities, then traverse their relationships to build connected context — in a single pipeline, without round-tripping between systems.
When vectors and graph live in the same engine, there's no ETL between databases, no eventual consistency, no data drift between your vector index and your knowledge graph.
Both vector search and graph traversal run in memory. No disk IO for either operation. Sub-millisecond latency for both.
Memgraph toolkit with 7+ tools for building stateful, multi-actor agent applications with graph-backed state management.
Read docsCreate knowledge graphs from unstructured data and query with natural language via Memgraph graph store.
Read docsFast retrieval-augmented generation combining graph databases with LLMs for creating and querying knowledge graphs.
Read docs