Seven Ways to Build AI Knowledge Bases Beyond Vector Search
On October 14, goyalshaliniuk published a thread series (with infographics) outlining seven ways to connect knowledge to LLMs, arguing that "connecting documents to an LLM" is not the only path and that selection should be driven by data shape and query needs.
Confirmed
- Vector knowledge base: documents embedded into a vector DB, retrieved by semantic similarity rather than keywords; suited to document search and RAG; commonly Qdrant, Weaviate, Milvus
- Structured data knowledge base: information in relational tables, JSON, or databases queried directly by AI; suited to scenarios needing exact values, filtering, and aggregation such as customer records, product catalogs, finance, and inventory; commonly PostgreSQL/MySQL
- Knowledge graph: entities and relationships; suited to representing relations between facts
- Hybrid search: semantic retrieval combined with exact matching
- Document-centric approach: for document-heavy knowledge
- Hierarchical approach: for large, ordered collections
- Continuously updated pipeline: for frequently changing information
Why it matters
- The author's quick-reference: vector→semantic similarity; knowledge graph→fact relations; hybrid→semantic+exact; structured data→exact queries and computation
- The approaches are not mutually exclusive; production systems often combine them (e.g., hybrid search plus structured queries), so engineering choices should start from requirements rather than defaulting to vector retrieval
2026-10-14 ~ 2026-10-14 · 5 related posts
Primary sources
- 7 Approaches to Building AI Knowledge Bases, from Vectors to Live Updates — goyalshaliniuk · 2026-10-14
- [source] 7 approaches to building AI knowledge bases, from vector RAG to continuously updated pipelines — goyalshaliniuk · 2026-10-14
- Vector Databases vs Knowledge Graphs: Picking the Right AI Knowledge Base — goyalshaliniuk · 2026-10-14
- Beyond RAG: Structured Data and Hybrid Search for AI Knowledge Bases — goyalshaliniuk · 2026-10-14
- Production AI Systems Should Combine Multiple Knowledge Base Approaches — goyalshaliniuk · 2026-10-14