flâneur — a map of the web's best reading

Vinija's Notes • NLP • Retrieval Augmented Generation

vinija.ai · 29,198 words · saved by 1 readers

A potential solution could be to combine the strengths of both databases: indexing parsed entity relationships with vector representations in a graph database for more flexible information retrieval. It remains to be seen if such a hybrid model exists. The image below (source) displays the high-level working of RAG. Prompting uses pre-selected static contexts provided in the prompt.

Overview Motivation Lexical Retrieval Semantic Retrieval Hybrid Retrieval (Lexical + Semantic) The Retrieval Augmented Generation (RAG) Pipeline Benefits of RAG RAG vs. Fine-tuning Ensemble of RAG Choosing a Vector DB using a Feature Matrix Building a RAG pipeline Ingestion Chunking Figuring out the ideal chunk size Retriever Ensembling and Reranking Embeddings Naive Chunking vs. Late Chunking vs. Late Interaction (ColBERT and ColPali) Overview Naive/Vanilla Chunking What is Naive/Vanilla Chunking? Example Advantages and Limitations Late Chunking What is Late Chunking? How Late Chunking Works

Explore this link on the map →

related reading