InterviewBuddy
All interview questions

Why are embeddings useful in retrieval?

Intermediate

Answer

An embedding maps content to a vector. Similarity search compares vectors to retrieve semantically related chunks, which may use different words from the query.

Explanation

Similarity is not the same as truth or authorization. Apply access filters and evaluate retrieved context before sending it to a model.

Example

question → embed → vector search → candidate passages