Skip to content
Proximous

Blog

How to Build a Generative AI Assistant on Company Data (RAG)

Proximous Team · November 23, 2026 · 7 min read

Most companies already have the answers their employees need. They are just spread across policy documents, wikis, support tickets, contracts and databases. If you want to build a generative AI assistant on company data, the goal is simple: let people ask a question in plain English and get a correct answer drawn from your own sources, with a link to where it came from. This guide explains how that works, when it is worth doing, and the steps to build one people trust.

What retrieval-augmented generation means in plain words

A large language model (LLM), such as the models from OpenAI or Anthropic Claude, is trained mostly on public text. It writes well, but it knows nothing about your pricing exceptions, your HR policies or last quarter’s product changes.

Retrieval-augmented generation, usually shortened to RAG, solves this without retraining the model. When someone asks a question, the system first searches your approved content for the most relevant passages. It then hands those passages to the model with the question and instructs it to answer only from what it was given. Think of it as an open-book exam: the model is the writer, and your documents are the book.

The benefits for a business:

  • Answers reflect your current content, because updating a document updates what the assistant can retrieve.
  • Each answer can cite the sources it used, so people can check it.
  • You control which content goes in and who can see it.

When a company AI assistant is worth it

RAG tends to pay off when people ask the same kinds of questions over and over, the answers live in documents, finding them today means searching several systems or asking a colleague, and slow or wrong answers cost something real. Good first candidates include an internal help desk for HR and IT policies, a support assistant that drafts replies from your knowledge base, and a sales assistant that answers product and contract questions.

It is a weaker fit for questions that are really about numbers, such as revenue by region last quarter, which belong to your BI tools and a governed metrics layer. It is also a weak fit when the underlying content is missing, outdated or contradictory. An assistant will repeat those problems faster, not fix them.

How to build a generative AI assistant on company data, step by step

1. Pick one narrow use case

Start with one audience, one job and a defined set of sources. “Help support agents answer billing questions using the billing knowledge base” is a good scope. “An assistant that knows everything about the company” is not. Write down who will use it, what they will ask, which sources are in bounds, and what a good answer looks like.

2. Gather and clean the sources

List every source the assistant needs (document libraries, wikis, ticketing systems, CRM records, product databases) and name an owner for each.

Then clean house. Remove duplicates and drafts, archive outdated versions, and fix documents that contradict each other. Tag content with useful metadata such as product, region, department, effective date and owner. This step is unglamorous and usually takes the most time, but it has the largest effect on answer quality. Our AI-ready data checklist covers what to look for.

3. Chunk and index the content

Models can only read a limited amount of text per question, so documents are split into smaller passages, called chunks, and stored in a search index. Most teams combine keyword search with vector (semantic) search, which matches on meaning rather than exact words.

  • Split along natural boundaries such as headings and sections, not arbitrary character counts.
  • Keep the document title, section heading and metadata with each chunk so it makes sense on its own.
  • Handle tables, PDFs and scanned files carefully, because poor text extraction is a common cause of bad answers.
  • Re-index content automatically when it changes, rather than loading it once.

Platforms such as Azure AI, Amazon Bedrock, Google Vertex AI, Snowflake and Databricks all offer building blocks for this, and the right choice usually depends on where your data already lives. This is core data engineering work and deserves the same care as any production pipeline.

4. Enforce permissions so users only see what they are allowed to

This step separates a demo from something you can deploy. If an employee cannot open a document in the source system, the assistant must not quote it to them.

The reliable approach is to carry access controls from each source into the index and, using your single sign-on, filter search results by the user’s identity before anything reaches the model. Keep highly sensitive content (salary data, legal matters, personal customer data) out of scope until the controls are tested. Log questions and answers for auditing, and confirm with your provider how prompts and data are stored and whether they are used for training.

5. Ground answers and show citations

Instruct the model to answer only from the retrieved passages, to say it does not know when the sources do not cover the question, and to cite the documents it used. Show those citations as links, so errors are easy to spot.

6. Evaluate accuracy before launch

Do not launch on the strength of a good demo. Build a test set of real questions from the people who will use the assistant, with the correct answer and source for each. Include tricky cases: questions the content does not cover, policies that recently changed, and questions a given user should not be able to get answered.

Score each response for correctness, completeness, correct citation and appropriate refusal, and have subject matter experts review a sample by hand. Re-run the test set every time you change the prompts, the model, the chunking or the content, so you catch regressions before users do.

7. Monitor quality and cost after launch

Once live, track what people ask, which questions get no good answer, and user ratings. Failures usually point to missing or outdated content.

Watch cost from day one. Spend is driven mainly by question volume, the amount of text sent to the model with each question, and the model you choose. Sending fewer but better chunks and caching common answers both help. Set budgets and alerts so there are no surprises.

Common mistakes to avoid

  • Skipping content cleanup. Outdated and duplicate documents produce confident wrong answers.
  • Treating permissions as a later phase. Retrofitting access control is harder than building it in, and one leak can end the project.
  • No test set. Without one, you cannot tell whether a change made things better or worse.
  • No owner. Someone has to own the content, review feedback and decide what goes in next.
  • Expecting it to calculate from documents. Route metric questions to governed data and analytics instead.

How to measure success

Agree on measures before you build, and capture a baseline so you can compare:

  • Answer quality: accuracy on your test set and the share of live answers rated helpful.
  • Adoption: weekly active users and repeat usage within the target group.
  • Time saved: time to find an answer or resolve a case, compared with the baseline.
  • Deflection: for support and help desks, the share of questions resolved without a ticket or escalation.
  • Cost per answer: total running cost divided by questions answered.

Frequently asked questions

Do we need to train our own AI model?

Usually not. Most company assistants use an existing commercial model and add your content through retrieval. Fine-tuning can help with tone or format, but it does not keep answers current or cited the way RAG does.

Is our data safe if we use a commercial AI model?

It can be, with the right setup. Enterprise offerings from the major cloud and AI providers typically include options to keep your data out of model training, but confirm the terms of your specific contract. Combine that with permission filtering, logging and a clear policy on what content is in scope.

How long does it take to build a company AI assistant?

A focused pilot on one use case with clean sources can often be built in weeks rather than months. The timeline depends mostly on the state of your content, the number of systems to connect and the security review needed, not on the AI itself.

What if the assistant gives a wrong answer?

It will happen sometimes, which is why citations and a feedback button matter. Trace each wrong answer to its cause (missing content, a bad chunk, a retrieval miss or a prompt issue), fix it, and add the question to your test set so it stays fixed.

Talk to us

Proximous helps teams plan, build and run generative AI assistants on their own documents and data, from source cleanup and secure indexing to evaluation and monitoring. If you are weighing a first use case, we are happy to talk it through.

Got a question? We’re here to help.

Tell us about your data, analytics or Salesforce challenge and we’ll get back to you within one business day.

Contact us