AI engineering glossary · RAG vector search
What is knowledge graph?
Knowledge graph: A structured store of entities as nodes and their relationships as labelled edges, such as 'Infosys - headquartered in - Bengaluru'. It supports precise, connected queries that plain text similarity struggles with.
Knowledge graph: an example
A graph links the drug 'metformin' to the condition 'type 2 diabetes' through a 'treats' edge.
Related terms
More RAG vector search terms
- Late interaction
- Layout-aware parsing
- Learned sparse retrieval
- LLM-as-judge
- Locality-sensitive hashing
- M parameter
- Maximal marginal relevance
- Metadata filtering
Where you learn it
Knowledge graph is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.