Book a free call

RAG Partners for Mid-Market Companies: How to Choose One

A RAG partner builds the system that lets your model answer from your own documents. How mid-market teams compare partners, run a pilot and sign a deal.

Hertiv engineering teamReviewed by a senior engineer
7 min read
RAG Partners for Mid-Market Companies: How to Choose One
On this page

Short answer

A RAG partner is a vendor or consultancy that builds and runs a retrieval-augmented generation system for your company, so a language model answers from your own documents instead of guessing. Mid-market teams should choose one by comparing partner types, checking data handling and retrieval quality, and running a paid pilot on real documents before signing.

What is a RAG partner?

A RAG partner is a company that builds, runs or supports a retrieval-augmented generation system for you. RAG, or retrieval-augmented generation, is the technique of finding the relevant passages in your own documents first, then letting a language model write its answer from those passages.

Mid-market companies usually need a partner because they have the documents and the use case but not the team to build the system: a few hundred to a few thousand documents, a support or sales team that needs answers, and no in-house machine learning engineers.

A partner can take one of three roles, and the right one depends on how much you want to own:

  • Build and hand over. The partner builds the system, documents it and trains your team to run it.
  • Build and run. The partner hosts and maintains the system while your team uses it.
  • Advise and review. Your team builds it, and the partner reviews the design, the retrieval quality and the safety checks.

Be clear about which role you are buying before you talk to anyone. A build-and-run partner and an advisory partner sell very different things, and comparing them on price alone will mislead you. For the basics of what a partner builds, see RAG development.

If you are still deciding between approaches, RAG vs fine-tuning explains when retrieval wins and when fine-tuning is the better spend.

What kinds of RAG partners are there?

RAG partners fall into four types, and each fits a different kind of buyer. The table below shows what each type delivers and where it fits best.

Partner type What they deliver Best for
AI consultancy Custom system, built to your documents Messy documents, strict data rules
Product vendor Ready-made RAG product, configured Standard documents, fast start
Systems integrator RAG inside a larger platform rollout CRM or ERP replacement projects
Specialist agency One use case, such as support answers A single team, a tight budget

Consultancies suit teams whose documents are scattered across drives, inboxes and old systems, because the hard work is cleaning and connecting them. Product vendors suit teams whose documents are already organised and who want to start in weeks rather than months.

Ask every partner the same question: who on your team has shipped a RAG system that is still running today, and can we talk to that customer? A partner that cannot name a live system is selling a plan, not a track record.

What should you check before you sign?

Before signing, check four things in this order: data handling, retrieval quality, ownership and support. Each one is harder to fix after the contract is signed than before.

Data handling comes first. Ask where your documents are stored, whether they are used to train models, how long they are kept, and what happens to them when the contract ends. If the partner cannot answer in writing, do not proceed. Your documents may include contracts, prices and customer data.

Retrieval quality comes second. Ask how the system picks passages, how it handles out-of-date documents, and what happens when no document answers the question. A good partner shows you a test set of real questions with known good answers, and reports how often the system gets them right.

Ownership and support come third. Ask who owns the code, the prompts and the evaluation set, what the handover looks like, and how fast the partner responds when the system gives wrong answers. A system you cannot leave is a system you do not control.

How do you run a pilot with a RAG partner?

You run a pilot by giving the partner a small, real slice of your documents and questions, then scoring the answers against a fixed test set before you commit to a full rollout.

  1. Pick one use case. Support answers or internal policy questions are good first choices: high volume, easy to score, low risk if an answer is wrong.
  2. Assemble real documents. Give the partner 200 to 500 real documents, including the messy ones, not a cleaned sample. Messy documents are where systems fail.
  3. Write 40 test questions. Use real questions your team has already answered, with the correct answer written down. This is your evaluation set.
  4. Score the answers. Check each answer against the source document. Count how many are right, how many cite a source, and how many invent facts.
  5. Decide with a threshold. Agree before the pilot what score is good enough to proceed, so the decision is not a matter of opinion afterwards.

Pay for the pilot. A free pilot gets the partner's junior team and no attention when it goes wrong. A paid pilot of two to four weeks is cheap compared with a full contract for a system that does not work. If you are weighing building against buying, build vs buy RAG covers the trade-off.

What does a RAG partnership cost?

A RAG partnership costs what the work costs: scoping, document preparation, building, hosting and support. The price depends far more on your documents and your data rules than on the model itself, so no single figure applies to every team.

The cost drivers, in rough order of size, are:

  • Document preparation. Cleaning, deduplicating and connecting documents is usually the largest share of the work, and it is the part teams underestimate most.
  • Integration. Connecting the system to your CRM, help desk or document store, with the right permissions for each user.
  • Hosting and model use. Ongoing charges for storage, retrieval and model calls, which grow with the number of users and questions.
  • Support and improvement. Monitoring answers, fixing retrieval failures and updating the system as documents change.

Ask for prices in writing, broken down by these drivers, and ask what is excluded. Vendor pricing pages change often, so confirm the current price on the vendor's own site, or write "see vendor site" in your budget rather than a figure you cannot verify. A partner that quotes one flat number without asking about your documents has not done the work to price it.

Example (hypothetical): a 200-person distributor picks a partner

Example (hypothetical): a 200-person distributor wants its support team to answer product questions from 800 manuals and price lists. It shortlists three partners and runs a two-week paid pilot with each.

Each partner gets the same 300 documents and the same 40 test questions, written by the support team with the correct answers attached. The first partner answers 24 of 40 correctly, the second 31, and the third 29, but the third cites a source document for every answer while the others cite one for only half.

The team picks the second partner on accuracy, then asks it to fix the 9 missed questions before signing. The pilot costs two weeks of one support lead's time plus the pilot fee, against a full contract that would have locked the team in for a year. The scoring takes one afternoon: 40 questions times 3 partners is 120 answers to check, at about 2 minutes each, which is 4 hours of review.

What are the common mistakes?

The most common mistakes when choosing a RAG partner are skipping the pilot, trusting a demo on clean data, and signing a contract that gives away ownership of your own system.

  • Judging a demo on the vendor's documents. Every system looks good on clean sample data. Test it on your messy, real documents.
  • No evaluation set. Without 40 real questions and known good answers, you cannot compare partners or tell whether the system is improving.
  • Ignoring data handling. Documents sent to a partner that trains on them or keeps them after the contract ends are a risk you cannot undo.
  • Buying the whole company rollout first. Start with one team and one use case, then expand once the answers are trusted.
  • No ownership clause. If the partner owns the prompts, the evaluation set and the code, leaving means starting again.
  • Choosing on price alone. The cheapest partner is often the one that skipped document preparation, which is where most RAG systems fail.

Key takeaways

  • A RAG partner builds or runs the system that answers from your documents
  • Consultancies fit messy documents; product vendors fit organised documents and fast starts
  • Check data handling, retrieval quality, ownership and support before you sign
  • Run a paid pilot on real documents with 40 test questions and a pass threshold
  • Ask for prices broken down by cost driver, and confirm them on the vendor's site

Frequently asked questions

What is the difference between a RAG partner and a RAG product?

A RAG product is software you configure and run yourself, while a RAG partner is a company that builds, runs or supports the system for you. Partners suit teams without in-house machine learning staff; products suit teams that want to own the system and have the engineers to run it.

How long does it take a RAG partner to deliver a working system?

A pilot on one use case usually takes two to four weeks when the documents are ready. A full rollout across teams takes longer, mostly because of document preparation and integration with your existing systems. The model work itself is rarely the slow part.

Should a mid-market company build RAG in-house instead?

Build in-house if you have engineers who can own retrieval, evaluation and support for the long term. Use a partner if you need the system running soon and your team is small. Many mid-market companies start with a partner, then bring the system in-house once it is proven.

What documents does a RAG partner need from us?

The documents your team already answers questions from: manuals, price lists, policies, contracts and past support replies. Expect the partner to ask for a few hundred real documents, including outdated and duplicate ones, because those are the cases that test the system.

How do we know if the RAG answers are accurate?

Score them against a fixed test set of real questions with known good answers, and check that each answer cites its source document. Track the share of answers that are right, the share that cite a source, and the share that invent facts. Review the failures weekly at first.

What happens to our documents if we leave a RAG partner?

That depends on the contract. Before signing, confirm in writing that your documents are deleted on exit, that you keep the prompts and the evaluation set, and that you receive the code or configuration needed to run the system elsewhere. If the contract is silent on this, assume you lose it.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: AI and agent systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Looking for a RAG partner for your own documents? Talk to Hertiv.

A senior engineer replies within one business day. Or see our RAG Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call