RAG · Lesson 117 of 120
Common Mistakes
And fixes.
Most RAG projects make the same mistakes. Here are the ones to avoid, and what to do instead.

- Same mistakes
- Avoid them
- Do this instead
Building mistakes
Don't blame the model first. Most problems are retrieval. Don't skip evaluation, or every change is a guess. And don't mix embedding models in one index.
Mistake
- Blame the modelSkip evaluationMix embedding models
Instead
- Check retrieval firstBuild a test setOne model per index
Production mistakes
Don't index old versions and personal data. Don't filter permissions after answering. And don't trust retrieved text as instructions.
Mistake
- Index everythingFilter after answeringTrust document text
Instead
- Clean and redactFilter before searchTreat it as data
Summary
Check retrieval first, evaluate everything, and keep your index clean and safe. Next, choosing a vector database.
Key takeaways- Retrieval first
- Evaluate
- Clean index
Next up: Choosing a Vector Database — the options