#Embeddings(9)

September 2026
#RAG #LLM #Retrieval #Embeddings #Python

Parent Document Retrieval: Search Small, Answer Big

Small chunks search precisely but read like fragments. Parent document retrieval matches on child chunks, then feeds the whole parent to the model.

Read more →
September 2026
#AI #RAG #VectorSearch #Embeddings #FAISS

IVF Vector Search: Search Fewer Vectors

Brute-force vector search compares every embedding. How an IVF index partitions vectors into cells, probes only the nearest, and where the nprobe knob bites.

Read more →
August 2026
#AI #LLM #RAG #Embeddings #Search

Contextual Retrieval for RAG, Step by Step

Vector search misses chunks that lost their document context. Contextual Retrieval prepends a short LLM-written summary to each chunk before you embed it.

Read more →
August 2026
#AI #RAG #VectorSearch #Embeddings #FAISS

Product Quantization for Vector Search

HNSW makes vector search fast, but the embeddings still fill your RAM. Product quantization compresses them ~32x with a small recall hit. Here is how it works.

Read more →
August 2026
#AI #RAG #Embeddings #Vector Search #LLM

Matryoshka Embeddings: Smaller Vectors for RAG

Matryoshka embeddings front-load meaning into a vector's first dimensions, so you can truncate them for cheaper, faster RAG search without losing much recall.

Read more →
July 2026
#AI #LLM #RAG #Embeddings #Search

How to Choose an Embedding Model for RAG

The embedding model sets the ceiling on RAG retrieval quality. How to choose one by task fit, sequence length, dimensions, and domain, plus the silent bugs.

Read more →
July 2026
#AI #LLM #Caching #Embeddings #Python

How to Build a Semantic Cache for LLM Apps

Exact-match caching misses paraphrases, so LLM bills stay high. Here is how to build a semantic cache with embeddings, a similarity threshold, and its traps.

Read more →