Private RAG development: AI that answers only from your own documents

Retrieval-augmented generation (RAG) lets an AI assistant answer questions using your own contracts, policies, reports and records, and cite the document behind each answer. TECFIQ builds private RAG systems in English and Bangla, and runs the same approach in its own product, Ask The Archive.

  • Answers grounded in your private knowledge base
  • Every answer cites its source document
  • Questions in English or Bangla

What is RAG, and why use it instead of a general chatbot?

A general chatbot answers from what it learned in training. It does not know your contracts, your internal policies or your last quarter's reports, and it can sound confident when it is wrong. RAG fixes this by retrieving relevant passages from your own documents first, then asking the model to answer using only that material.

The result is an assistant that can say where its answer came from. That matters for compliance teams, auditors and anyone who has to trust the answer. If the documents do not contain the answer, a well-built RAG system says so instead of inventing one.

RAG already running in TECFIQ products

  • Ask The Archive

    A retrieval-augmented assistant that turns an archive of contracts, policies, reports, forms and financial records into an answer engine, with sourced answers, summaries and structured reports. See Ask The Archive.

  • XDOCS AI DMS

    A document management system with built-in AI retrieval, approval workflows and role-based access, on the same backbone. See XDOCS AI DMS.

  • Custom RAG builds

    For organisations that need RAG over their own systems, languages or access rules, we build it as a project under AI-ready automation.

How a private RAG system is built

  1. Step 1

    Collect and clean documents

    We gather the source files and, for scans, run OCR first. Poor text in means poor answers out.

  2. Step 2

    Structure and tag

    We split documents sensibly and attach metadata such as type, date, owner and access level.

  3. Step 3

    Index for search

    We index the content so the right passages can be found by meaning, not only by keyword.

  4. Step 4

    Retrieve and answer

    For each question the system retrieves passages and generates an answer with citations.

  5. Step 5

    Control access

    Users only retrieve documents they are permitted to see.

  6. Step 6

    Evaluate and improve

    We test on real questions from your team and tune retrieval and prompts.

Where private RAG helps

  • Compliance and legal teams searching policies, contracts and regulations
  • Banks and NBFIs answering questions from procedures and customer files
  • Newsrooms and publishers searching years of archived stories
  • NGOs and programme teams querying reports, grants and field data
  • HR teams answering policy questions for staff
  • Operations teams looking up SOPs, manuals and past decisions

How to judge a RAG system before you buy

Do not rely on a demo with ideal questions. Test with your own documents and ask the following.

  • Does every answer show the passage and document it came from?
  • Does it say it does not know when the documents do not contain the answer?
  • Does retrieval find the right passage for hard questions, not only easy ones?
  • Does it respect who is allowed to see which documents?
  • How does it handle Bangla, English and mixed-language documents?
  • Can you measure accuracy on a test set of questions you wrote yourself?

We usually recommend a small pilot on a sample of your real documents, so you see actual results before a wider rollout.

RAG over Bangla documents

Many Bangladeshi records are scanned, handwritten or mixed English and Bangla. The quality of the OCR step often decides the quality of the final answers, so we treat capture and text extraction as part of the RAG project. See our overview of Bengali OCR software and the article on the state of Bengali OCR.

Questions can be asked in English or Bangla. Results depend on the documents and the languages involved, which is why we test on your own samples first.

Frequently asked questions

What is RAG (retrieval-augmented generation)?

RAG is a way of making an AI assistant answer from a specific set of documents. The system first retrieves the relevant passages from your records, then generates an answer using only that material, and cites the source.

What does private RAG mean?

Private RAG means the assistant works over your own knowledge base with access controls, rather than the open internet. We discuss where the system runs and how sensitive data is handled during scoping.

Can the assistant answer in Bangla?

Ask The Archive supports questions in English or Bangla. For a custom project we test Bangla, English and mixed-language retrieval on your actual documents before agreeing to a rollout.

How do we stop the AI from making things up?

By grounding answers in retrieved documents, showing the source for every answer, and designing the system to say when the documents do not contain the answer. We also evaluate it on real questions and keep humans in the loop for high-stakes use.

What do we need to get started?

A sample of your documents and ten to twenty real questions your team asks. We will propose a small pilot. Use our contact page to start.

Does TECFIQ also handle scanned documents?

Yes. Scanned and paper records can be captured and converted to text with Captura before they enter the knowledge base.

Bring a sample of your documents and the questions your team asks.

We will propose a small pilot on your real material so you can judge the answers before committing to a larger build.

Talk to TECFIQ