All Questions
Rag And Retrieval easy

Support engineers search a RAG system for error codes such as 'ERR-40213'. Dense-only retrieval keeps returning chunks about similar but different error codes. Which change best fixes this?

  1. A Increase the embedding dimension so the vectors can distinguish between numerically nearby codes.
  2. B Fine-tune the LLM so it learns every error code and can answer without any retrieval step.
  3. C Shrink chunks to 50 tokens so that each error code gets its own dedicated embedding vector.
  4. D Add lexical search such as BM25 alongside dense retrieval and merge the two result lists.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions