Sahana System Limited
Contact Us
Services - RAG Development

RAG
Development

RAG development services for enterprise knowledge, where the hard part is not finding an answer but knowing which one is still true.  

Request a RAG assessment

Fixed scope. You receive a retrieval quality assessment, a permission model review, and a corpus health appraisal covering authority and recency. Yours to keep either way.

01 / THE PROBLEM

The retrieval is right and the answer is still wrong

Most retrieval failures are not the system finding nothing. They are the system finding something relevant and out of date.

A retrieval index has no concept of document authority. A superseded policy and its replacement look almost identical to a similarity search, because cosine distance knows nothing about approval status or recency. The answer comes back confident, sourced, and describing a withdrawn rule.

Permissions then fail in the direction nobody expects: not leakage, but filtering by access control before the search collapsing recall. High cardinality permissions and a stale access replica leave too few candidates to rank, so the system returns generic public documents instead of relevant private ones. Nothing leaked. It just quietly stopped being useful.

Chunking destroys the structure it needs. A fixed chunk size applied across a clean policy PDF and a scanned handwritten note produces nonsense from one of them, and stripping headings and version history removes the signals that distinguish current from superseded: a vector database becomes a library of shredded books.

Then it degrades. Documents are added, policies change, embeddings go stale, nobody re-indexes. Accuracy falls gradually, and because the system still returns something plausible, nobody notices.

02 / OUR APPROACH

RAG pipeline development services built around authority, not similarity

Our deep-tech engineering powers real-time, AI-driven decisions in critical government and commercial enterprises, from digital payments to the front lines, decisions that depend on knowing which source to trust before acting on it. That is the discipline this practice applies to retrieval:

  1. Establish document authority and recency as first-class signals

    Which document supersedes which, what has been approved and by whom, and what has been withdrawn. Similarity alone cannot answer an operational question, because the wrong answer and the right one are often the same words from different years.

  2. Design permission-aware retrieval that stays useful

    Access control applied naively before ranking collapses recall and produces a system that is secure and worthless. The workable approach filters at the right stage, keeps the permission model current rather than replicated and stale, and treats recall under permission constraints as something to be measured rather than assumed.

  3. Route documents by what they actually are

    Clean structured PDFs, scanned images, spreadsheets and email threads need different parsing and different chunking. Enterprise RAG solutions applying one strategy across a heterogeneous corpus fail on whichever part of it does not fit.

  4. Preserve structure through chunking

    Headings, sections, tables and version history carried into the index rather than flattened out of it, because those are the signals that make a chunk interpretable once retrieved.

  5. Evaluate retrieval and generation separately

    A single accuracy figure hides retrieval misses behind fluent answers. Two questions instead: did the right material come back, and was the answer faithful to it. Where labeling an entire corpus is impractical, synthetic question sets and model-assisted relevance scoring give a workable proxy.

  6. Plan for corpus maintenance

    Versioning, metadata upkeep, periodic re-indexing and removal of superseded material. Custom RAG development that ends at launch decays, because the corpus keeps moving after the system stops being worked on.

04 / STACK

Technologies we work with

Platform engineering tooling used across the wider practice is listed on AI & Machine Learning.

Cloud Services & Solutions
Amazon Web Services
Amazon Web Services
Google Cloud
Google Cloud
Microsoft Azure
Microsoft Azure
Docker
Docker
Kubernetes
Kubernetes
Terraform
Terraform
Product & Platform Engineering
Teraform
Teraform
Go
Go
Java
Java
Python
Python
TypeScript
TypeScript
Kubernetes
Kubernetes
Digital Experience
Figma
Figma
Adobe Experience Manager
Adobe Experience Manager
Salesforce Experience Cloud
Salesforce Experience Cloud
Angular
Angular
Next.js
Next.js
React
React
IT Consulting
Device42
Device42
Snyk
Snyk
SonarQube
SonarQube
Aha!
Aha!
Jira Align
Jira Align
Miro
Miro
AI & Machine Learning
Amazon Bedrock
Amazon Bedrock
Anthropic
Anthropic
Azure OpenAI
Azure OpenAI
Google Vertex AI
Google Vertex AI
PyTorch
PyTorch
Databricks
Databricks
Data & Analytics
BigQuery
BigQuery
Databricks
Databricks
Microsoft Fabric
Microsoft Fabric
Snowflake
Snowflake
dbt
dbt
Power BI
Power BI
Enterprise Applications
Microsoft Dynamics 365 Finance & Operations
Microsoft Dynamics 365 Finance & Operations
Oracle NetSuite
Oracle NetSuite
SAP S-4HANA
SAP S-4HANA
Salesforce Sales Cloud
Salesforce Sales Cloud
Microsoft Power Platform
Microsoft Power Platform
MuleSoft Anypoint
MuleSoft Anypoint
Cybersecurity
Snyk
Snyk
Microsoft Defender for Cloud
Microsoft Defender for Cloud
Wiz
Wiz
Microsoft Entra ID
Microsoft Entra ID
CrowdStrike Falcon
CrowdStrike Falcon
Microsoft Sentinel
Microsoft Sentinel
Application Managed Services
Jira Service Management
Jira Service Management
ServiceNow
ServiceNow
Datadog
Datadog
Dynatrace
Dynatrace
Splunk
Splunk
PagerDuty
PagerDuty

Engagement

How we engage

Our RAG development services open with a RAG assessment: what the corpus actually contains including how much is superseded, how documents are parsed and chunked, how permissions are enforced and what they cost in recall, how retrieval quality is currently measured, and what happens when the knowledge base changes. You keep the output regardless of what follows.

Delivery runs against retrieval metrics agreed before anything is built, evaluated separately from answer quality. Where the underlying question is whether retrieval is the right approach at all, that is RAG consulting services and it sits with AI Consulting & Strategy.

Handover includes the evaluation harness, the maintenance procedure and the permission model documentation. Access is scoped to the task, time-bound and logged.

05 / ENGINEERING PROVENANCE

What defense work actually changes about retrieval

Defense intelligence work is organized around a problem that looks trivial and is not: deciding which source to believe. Two reports can be equally credible on their face and contradict each other, and the discipline is establishing provenance, currency and authority before acting, not after.

That is precisely the problem enterprise retrieval has and mostly ignores. A similarity search treats a withdrawn policy and its replacement as near-identical, because the question it answers is what resembles this query, not what is currently true.

Applied here, it means the corpus is treated as a source hierarchy, not a pile of text: what supersedes what, what was approved and when, what is still authoritative, and who is entitled to see it. Retrieval augmented generation development that skips this returns confident answers from documents nobody should act on.

How defense work shapes the way we build

06 / PROOF

Results delivered

AI Research Insights Platform Artificial Intelligence
≤ 24 hrsFull report after fielding
1.9M+Responses analyzed
4,500+Projects delivered

≤ 24 hrs

AI-Generated Insight Reports in 24 Hours or Less

View Case →
New Media Wing Artificial Intelligence
10×Faster media processing
80%Workflow automation
96%Classification accuracy

10×

AI Media Intelligence for the Press Information Bureau

View Case →
Toastmasters International Digital Experience
40%performance improvement
60%increase in website traffic
4 monthsSitecore 8.2 → 10.3 upgrade

40%

Sitecore 10.3, Delivered in Four Months

View Case →
Smart Home IoT Platform Internet of Things
1M+Active devices
0.5M+Homes and active users
0.45M+IoT messages per second

1M+

Smart Lighting with No Rewiring, at Million-Device Scale

View Case →
Sharper Drill, Powered by AI Artificial Intelligence
1sttime the Army used AI to judge the parade
~70%fewer flagged drill errors over the rehearsal week
10drill and turnout parameters scored

1st

AI-Judged Military Drill

View Case →

Request a RAG assessment

Fixed scope, and the entry point to our RAG development services. You receive a corpus health appraisal covering authority and currency, a retrieval quality assessment measured separately from answer quality, a permission model review including recall under access constraints, and a maintenance position.





    07 / FAQ

    RAG Development — FAQs

    Our RAG system returns the wrong answers. Where do we start?

    Usually with the corpus, not the model. Most RAG development services begin with retrieval tuning, which addresses the second problem before the first. Most failures we see are retrieval finding something relevant and superseded, or chunking having stripped the structure that would have distinguished them. Before changing models or prompts, establish what proportion of the corpus is out of date, and whether the index knows which document supersedes which.

    How do you stop users retrieving documents they should not see?

    Permission enforcement at the retrieval layer, tied to a current source of truth, not a replicated copy that drifts. The subtler problem is that naive filtering before ranking collapses recall, so the system stays secure and stops being useful. We measure recall under permission constraints rather than assume it survives.

    Does RAG fix hallucination?

    Not by itself, and done carelessly it makes things worse: a confident answer with an irrelevant source attached is harder to catch than an obvious invention. Retrieval helps when the retrieval is good, which is what this page is about. Designing systems that decline rather than guess sits with Generative AI Development.

    What chunking strategy do you use?

    More than one, since a single strategy across a mixed corpus fails on whatever does not fit it. Clean structured documents, scanned images and tabular data are routed to different processing paths, and structure such as headings and version history is carried into the index, not discarded for embedding convenience.

    How do you measure whether retrieval is working?

    Separately from answer quality, which is the change most teams have not made. Retrieval is assessed on whether the right material was returned; generation on whether the answer was faithful to it. Labeling an entire corpus is impractical, so synthetic question sets and model-assisted scoring provide a proxy that is imperfect and considerably better than a single blended number.

    What happens as our documents change?

    Without maintenance, accuracy decays quietly, because a stale system still returns plausible answers. RAG application development should include versioning, metadata upkeep, scheduled re-indexing and removal of superseded material, and those are operational commitments rather than a one-time build.

    What should we look for in a RAG development company?

    Ask how they handle document authority and recency, and how they measure recall once permissions are applied. Those two answers separate teams who have built retrieval on real enterprise corpora from teams who have built a demonstration on a clean document set.

    Can you work with our existing search infrastructure?

    Usually yes, and it is often the better answer. Organizations frequently have serviceable search and a corpus problem, and replacing the infrastructure addresses neither the authority hierarchy nor the permission model.