Six teams have each built their own RAG pipeline, and leadership offers you a choice: buy a vendor RAG platform for about ₹1.5 crore a year, or put five engineers on a shared internal one. How do you decide?
RAG · Pro 3
Short answer
I would decide by where our difficulty is. If the six pipelines struggle with the same generic work, such as parsing and indexing, buying is reasonable. If quality depends on our data and ranking, we must own retrieval and evals. I would test the vendor on our evals, check permissions and exit cost, and compare three-year cost.
Deeper answer
Five engineers cost roughly as much as the licence, so price alone does not decide. The question is what the company must control. Evaluation sets, the document permission model and the data itself should stay ours in both cases, because they are how we judge any platform and how we leave one. Connectors, parsing and index operations are generic and expensive to maintain.
A concrete test: take the two hardest pipelines, for example legal contracts and Hindi support articles, and run the vendor for four weeks against our existing recall and answer-quality numbers. Check that per-document permissions are enforced at query time, how data is exported, and what the price is at five times the volume. Interviewers listen for a candidate who separates generic work from what makes the product different, insists on a trial with their own evals, counts migration and exit cost, and considers a mixed answer.
What a strong answer covers
- Separates generic plumbing from the parts that decide quality
- Keeps eval sets and data under own control either way
- Runs a trial on the hardest pipelines with existing metrics
- Checks permissions, export and exit cost
- Compares multi-year cost including migration and maintenance
Answer it out loud in the mock interview about 3 min
Follow-ups to expect
- The vendor does well on four pipelines and badly on two. What now?
- What would you put in the contract to keep your exit cost low?
- How do you get six teams to give up pipelines they built?
Common mistakes
- Deciding from the vendor demo instead of your own eval sets
- Comparing licence price with salaries only
- Forgetting document permissions and data export
Learn it
- How do you choose a chunk size for RAG?
- Your RAG app gives wrong answers. How do you find the cause?
- Design a RAG system that lets a law firm search and ask questions about 50,000 contracts.
- How would you detect hallucinations in a production RAG application?
- What are embeddings, and how are they used in search?
- How do you make a RAG system cite sources and stay grounded?
- What are hybrid search and reranking, and when do they help?
- How do you keep a RAG index up to date as documents change?
- How do metadata filters improve retrieval?
- How would you build RAG over documents full of charts and images?
- Your RAG system must handle scanned PDFs, tables and slides. How do you ingest them?
- How do you make sure users only get answers from documents they are allowed to see?
- What are query rewriting and HyDE, and when do they help?
- Your HR assistant keeps quoting last year's leave policy. How do you fix it?
- Tell me about a RAG system you built and how you measured whether it worked.
- Can you do retrieval for long documents without a vector database?
- Your search index holds 80 million chunks, and a new embedding model gives 6% better recall on your test set, but moving to it means re-embedding everything. Would you do it, and how would you run the change with no downtime?
- What is RAG, and why would you use it?
- When would you use graph RAG instead of standard vector RAG?