AI & Data

Building Enterprise RAG Applications in India: A Practical Playbook for LLM Adoption

Retrieval-augmented generation is the fastest, safest way for Indian enterprises to put large language models to work on their own data. Here is how to scope, build, evaluate and run a RAG system that people actually trust.

Every boardroom conversation about AI eventually arrives at the same question: "Can it answer questions about our business?" A general-purpose large language model (LLM) knows a great deal about the world, but nothing about your vendor contracts, your SOPs, your product manuals or last quarter's customer tickets.

Retrieval-augmented generation (RAG) closes that gap. Instead of retraining a model, you retrieve the most relevant pieces of your own content at query time and hand them to the model as context. The model then answers grounded in that evidence, and can cite where the answer came from.

For Indian enterprises, many of which run on a mix of modern SaaS, legacy ERPs, scanned PDFs and multilingual documents, RAG is usually the most pragmatic first step into generative AI. This playbook walks through how we approach it.

Why RAG before fine-tuning

Fine-tuning changes how a model behaves; RAG changes what a model knows at the moment it answers. For most knowledge-centric use cases, RAG wins on four counts:

  • Freshness: update a document and the next answer reflects it. No retraining cycle.
  • Traceability: every answer can point back to its sources, which is essential for audit, legal and customer-facing teams.
  • Access control: retrieval can respect who is allowed to see what. A fine-tuned model cannot "unlearn" a confidential document for one user.
  • Cost: indexing documents is far cheaper than training runs, and you can swap the underlying model as better or cheaper ones arrive.

Fine-tuning still has a place, for tone, strict output formats or domain-specific reasoning patterns, but it is typically a second-phase optimisation layered on a working RAG system.

Step 1: Pick a use case with a measurable outcome

The most common reason AI pilots stall is that nobody defined what "good" looks like. Before writing code, agree on:

  1. The user: a support agent, a site engineer, a procurement officer, a customer?
  2. The question set: collect 50-100 real questions those users ask today.
  3. The baseline: how long does it take to find the answer now, and how often is it wrong?
  4. The target: for example, "80% of questions answered correctly with a citation in under 10 seconds."

Strong first use cases in Indian enterprises include internal policy and HR assistants, sales enablement over product catalogues, customer support deflection, compliance and tender-document Q&A, and technical assistants over equipment manuals.

Step 2: Treat ingestion as a data engineering problem

RAG quality is decided long before the LLM sees a prompt. Garbage in, confident garbage out.

Source inventory

List every source: SharePoint and Google Drive folders, ticketing systems, ERP exports, wikis, email archives, and scanned PDFs. Note the owner, update frequency and sensitivity of each.

Parsing and cleaning

  • Use layout-aware parsers for PDFs so tables, headers and multi-column pages survive extraction.
  • Run OCR on scanned documents, and validate a sample by hand. Regional-language scans need specific attention.
  • Strip boilerplate such as headers, footers and disclaimers that would pollute retrieval.

Chunking strategy

Chunking is where many teams lose accuracy. Split by meaning, not by arbitrary character counts. Respect headings and sections, keep tables intact, and attach metadata (document title, section path, date, department, access level) to every chunk. A chunk that knows it came from "Procurement Policy v4 › Section 3.2 › Emergency Purchases" is far more useful than an anonymous paragraph.

Step 3: Retrieval that actually finds the right passage

Pure vector similarity is a good start but rarely enough on its own.

  • Hybrid search: combine dense embeddings with keyword (BM25) search. Product codes, part numbers, GSTINs and acronyms are exactly where embeddings struggle and keywords shine.
  • Metadata filtering: narrow by department, region, document type or date before ranking.
  • Re-ranking: retrieve 30-50 candidates, then use a cross-encoder re-ranker to choose the best five to eight.
  • Multilingual embeddings: if your users ask questions in Hindi, Kannada, Tamil or Hinglish, choose embedding models that handle code-mixed text and test them on your own queries.

Step 4: Prompting, grounding and citations

Your system prompt should instruct the model to answer only from the supplied context, to say clearly when the context does not contain the answer, and to cite chunk identifiers. Render those citations as clickable links in the UI. Users trust what they can verify.

Add guardrails around the generation step: input checks for prompt injection, output checks for personal data leakage, and refusal behaviour for out-of-scope topics.

Step 5: Evaluation is not optional

Build an evaluation harness on day one, using the question set from Step 1 with reference answers and source documents. Measure:

Metric What it tells you
Retrieval recall@k Did the right chunk appear in the top results?
Faithfulness Is the answer supported by the retrieved context?
Answer correctness Does it match the reference answer?
Citation accuracy Do the cited sources actually contain the claim?
Latency & cost per query Is it viable at production volume?

Combine automated LLM-as-judge scoring with periodic human review by domain experts. Run the suite on every change to chunking, prompts, models or retrieval settings. This is regression testing for AI, and it is where an in-house QA discipline pays for itself.

Step 6: Security, privacy and the DPDP Act

India's Digital Personal Data Protection Act raises the bar for how personal data is processed. For RAG systems, that means:

  • Document-level and row-level access control enforced at retrieval time, mirroring your existing identity provider groups.
  • Data residency choices: decide which workloads can use global model APIs and which require models hosted in Indian cloud regions or on-premises.
  • PII redaction in logs, and clear retention policies for prompts and responses.
  • Audit trails that record who asked what, which sources were used and what was returned.

Step 7: Run it like a product

A RAG assistant is not a one-off project. Plan for:

  • Feedback loops: thumbs up/down and "report a wrong answer" buttons that feed the evaluation set.
  • Content operations: owners for each source who keep documents current.
  • Observability: dashboards for usage, failure categories, latency and token spend.
  • Model portability: an abstraction layer so you can switch between providers or open-weight models as price and performance evolve.

A realistic timeline

For a focused use case with accessible data, a typical path looks like this: two weeks for discovery and the evaluation set, four to six weeks to build a pilot with ingestion, hybrid retrieval and a usable interface, and four weeks of hardening with access control, monitoring and user training. The best programmes then expand source by source, use case by use case.

Where VCNR fits

We build RAG and LLM applications end to end: data pipelines, retrieval, application UX, evaluation and quality engineering, on cloud or on-premises infrastructure. If you are weighing where generative AI can create real value in your organisation, start a conversation with our AI & LLM team. We will help you pick the use case worth proving first.

Further reading

Keep reading

Have an idea, a process to fix, or a system to modernize?

Tell us where you are. We’ll reply within one business day with honest next steps, even if they don’t involve us.