All technologiesHow pgvector answers a similarity query
Database
pgvector
Step 1 of 5
Embed docs
Each chunk is turned into a vector by an embedding model. The default size for the course's example model is 1536 numbers.
Vector search lives beside your normal data, so one query can combine meaning and filters.
Tutorial series
Labs
Projects
Architecture patterns
RAG system
Retrieval-augmented generation: ground the LLM in your private data by retrieving relevant chunks and injecting them into the prompt.
Hybrid search
Combine dense vector search with sparse keyword (BM25) search and fuse the results for more robust retrieval.
GraphRAG hybrid search
Combine entity-relationship knowledge graphs, hierarchical community summaries, dense vector search, and sparse BM25 keyword matching for global corpus understanding and multi-hop reasoning.