How to Build Knowledge Graphs Using AI Agents and Vector Search - Demo Overview
Blog post from Memgraph
Sabika Tasneem discusses a novel approach to resolving redundancy and inconsistency in knowledge graphs by using AI agents and vector search, as demonstrated by Carl Kugblenu during a hackathon at Finland's VTT. Kugblenu developed a pipeline that employs large language models (LLMs) and Memgraph’s vector search to tackle the complex problem of entity disambiguation, ensuring that each unique concept is represented only once in a knowledge graph. The process involves context-aware similarity search analysis, where vector embeddings and cosine similarity are used to identify candidate pairs of mentions, which are then processed by a GPT-powered agent resolution pipeline for merging or node creation. The live demonstration showcased the transformation of a chaotic dataset into a clean, canonical graph, opening up advanced analytics possibilities like PageRank and community detection. Despite challenges such as LLM hallucinations and embedding dimension issues, the project highlighted the importance of metadata-rich contexts and the benefits of combining LLMs with similarity-based approaches, providing valuable insights for organizations aiming to implement similar systems.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Vector Search | 20 | 1,744 | 310 | 142 | -4% |
| LLM | 6 | 4,633 | 712 | 227 | -3% |
| AI Agents | 2 | 2,358 | 540 | 182 | -15% |
| MCP | 2 | 3,727 | 385 | 128 | -6% |
| Real-time | 1 | 5,309 | 1,304 | 269 | +26% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.