Retrieval-augmented generation (RAG) means the AI model answers from passages retrieved from your own documents, not from its general training. Done well, it turns years of policies, manuals, past tickets and contracts into something people can ask questions of. Done badly, it returns confident answers from the wrong document, or shows a junior employee a passage from a board paper. Orivia Technologies builds RAG assistants where retrieval quality, permissions and honesty are treated as engineering problems.
What makes a RAG assistant trustworthy
- A source for every answer. Each answer links to the passages it used, so the reader can check in one click.
- Permission-aware retrieval. The assistant only retrieves from documents the person asking is allowed to open. Permissions come from where the documents live, not from a separate list someone must maintain.
- "I don't know" is an answer. If the documents do not contain the answer, the assistant says so instead of filling the gap from general knowledge.
- Search that fits the documents. Hybrid retrieval, combining keyword search for codes, names and clause numbers with semantic search for meaning, and chunking matched to each document type.
- Freshness. New and changed documents are re-indexed on a schedule, and superseded versions stop being cited.
How we build it
- Collect real questions. We gather questions people actually ask, and the documents that answer them. That becomes the evaluation set.
- Ingest and index. We connect to where documents live (file shares, SharePoint, Google Drive, a ticketing system, a database), extract text, and index it, often in PostgreSQL with a vector extension so there is no extra database to run.
- Measure retrieval first. Before tuning the answers, we measure whether the right passage is retrieved for each test question. Most bad answers are retrieval failures.
- Then measure answers. Correctness, faithfulness to the sources, and correct refusals, scored on the evaluation set before launch and after every change.
- Launch with feedback. Users can mark answers as wrong; those cases go into the evaluation set.
Typical uses
- Internal policy and HR questions, with answers traced to the current policy version.
- Support teams searching past tickets, product manuals and known-issue notes.
- Compliance and audit teams finding the evidence and clauses that apply to a question.
- Sales and pre-sales answering security questionnaires from approved material, for a person to review.
The same discipline runs through our own early-access products: Orivia Comply checks documents against written clause rules and leaves the decision to a person, and our CBAM work lists every assumption and source behind a number.
In scope and not in scope
In scope: connectors, indexing, retrieval, the assistant interface (web, Teams or Slack, or inside your product), evaluation and hosting in your cloud. Not in scope: making an assistant answer questions your documents do not cover, or skipping the evaluation step to launch faster.
Questions to ask a RAG developer
- How will you measure retrieval quality separately from answer quality?
- How do document permissions carry into the assistant?
- What does the assistant do when the answer is not in our documents?
- How do updated or withdrawn documents stop being cited?
Custom builds start from ₹8 lakh per project. After launch, Run & Improve (hosting, support and small changes) is ₹1–2 lakh a month. If your documents cannot leave your environment, see private LLM deployment.