article thumbnail

A Guide to Mastering Large Language Models

Unite.AI

Hybrid retrieval combines dense embeddings and sparse keyword metadata for improved recall. Powerful approximate nearest neighbor algorithms like HNSW , LSH and PQ enable fast semantic search even with billions of documents. For example, Anthropic's Claude LLM uses HNSW for retrieval over a 500 million document index.