FDEInterviews logo

embeddings

FDE interview questions tagged embeddings, across every topic.

17 questions · 8 unlocked for you

Concepts behind "embeddings"

The curriculum that explains the ideas these questions test.

Foundational
🧠 Foundations of LLMs & GenAI
Embeddings & Vector RepresentationsAn embedding turns a piece of text into a list of numbers positioned so that similar meanings land near each other in space, which lets you search by meaning instead of by keyword. Embeddings are the engine under RAG, semantic search, clustering, and deduplication, so FDE loops expect you to explain cosine similarity and the pitfalls that quietly break a vector index.
Foundational
🤖 Retrieval & Agents
Retrieval-Augmented Generation (RAG)RAG grounds a language model in your own data by retrieving relevant passages at query time and putting them in the prompt, so the model answers from real sources instead of memory. It is the default pattern for almost every enterprise FDE deployment, which is why nearly every loop tests it.
Foundational
🤖 Retrieval & Agents
Vector DatabasesA vector database stores embeddings alongside metadata and answers nearest-neighbor queries fast using approximate indexes. The real interview question is not how they work but when you actually need one instead of a library or plain Postgres with pgvector.
Core
🤖 Retrieval & AgentsSign in
Chunking StrategiesChunking is how you split documents into the units you embed and retrieve, and it quietly sets the recall ceiling for your entire RAG system. Get the size, boundaries, and metadata wrong and no reranker or prompt can recover the answer that never got retrieved.
Advanced
🤖 Retrieval & Agents🔒 Premium
Embedding Versions and DriftTwo versions of an embedding model produce unrelated coordinate systems, so a document's old and new vector are no more similar to each other than to a random document. Mixing them in one index cannot raise an error, which is why a half-finished migration returns confident nonsense at full speed.
Advanced
🤖 Retrieval & Agents🔒 Premium
Late-Interaction Retrieval (ColBERT)A bi-encoder crushes a document into one vector and loses which words carried the meaning. A cross-encoder keeps everything but cannot precompute, so it only reranks. Late interaction keeps one vector per token and compares them at query time, buying most of the accuracy of the second at roughly the scan cost of the first, and paying for it in storage.