Waymouth Tech
HomeServicesProductsBlogAboutContact
Book a call
Waymouth Tech

AI implementation consulting and indie software, built and shipped from Melbourne, Australia.

Melbourne, Victoria, Australia
hello@waymouthtech.com

Services

  • AI Implementation
  • AI Enablement
  • AI Education
  • IT Services

Company

  • About
  • Products
  • Blog
  • Contact

Popular reads

  • AI consulting in Melbourne
  • AI implementation roadmap
  • AI enablement for teams
  • Australian Privacy Act & AI

© 2026 Waymouth Tech. All rights reserved.

Based in Melbourne, Victoria, Australia

AI Tools, How-tos & Comparisons

Building Internal RAG Systems: A Practical Overview for 2026

An overview of building internal RAG systems for business — architecture, tooling, costs, and the decisions that make or break a production RAG deployment.

By Yash Shelatkar·21 May 2026·6 min read
A server rack representing the infrastructure layer of an internal RAG system

Building internal RAG systems has gone from cutting-edge research in 2023 to a standard mid-tier business AI project in 2026. The architecture is well-understood. The tooling is mature. And yet roughly half the internal RAG projects we see at Waymouth Tech stall before reaching production. This guide walks through what a production-grade internal RAG implementation actually looks like — architecture, tooling, costs, and the decisions that determine whether you ship.

What RAG actually is

RAG — Retrieval-Augmented Generation — is a pattern, not a product. The shape is simple:

  1. Index your knowledge base into a searchable store (usually a vector database, sometimes hybrid with keyword search).
  2. When a user asks a question, retrieve the most relevant chunks from the store.
  3. Pass those chunks alongside the question into a language model.
  4. The model answers, grounded in your retrieved content.

Underneath the simplicity is a surprising number of decisions. The decisions are what determine whether your RAG system answers reliably or hallucinates plausibly.

Why build internal RAG at all

The case for internal RAG is straightforward: generic AI assistants do not know your business. They have not read your SOPs, your customer history, your contracts, your engineering decisions. RAG closes that gap without trying to retrain the model.

Common use cases that justify the build:

  • Internal knowledge assistant — "How do we onboard a new tenant?" answered from your actual onboarding docs.
  • Customer support copilot — agents querying historical tickets, SOPs, and product docs.
  • Sales enablement — RFP responses, competitive intel, and pricing reasoned over real artefacts.
  • Engineering knowledge base — codebase, ADRs, runbooks made queryable in natural language.
  • Compliance and legal — searching contracts and policies with proper citations.

Where you should not build RAG: when an off-the-shelf assistant grounded in your M365 or Google Workspace tenant already does the job. See our Microsoft Copilot implementation guide — Copilot is a RAG system over your tenant, ready-made.

The reference architecture

A useful production-grade internal RAG system has six layers:

1. Ingestion and pre-processing

Sources include SharePoint, Confluence, Notion, file shares, databases, ticketing systems, CRMs and code. Each source needs a connector, an extraction pipeline, and a normalisation step.

Key decisions:

  • Document chunking strategy. Naive fixed-size chunks (e.g. 500 tokens) are a starting point but rarely optimal. Semantic chunking and document-structure-aware chunking outperform on most knowledge bases.
  • Metadata extraction. Source, author, date, sensitivity classification, document type. This metadata is what powers later filtering.
  • Refresh cadence. Daily, hourly, or event-driven. Stale RAG outputs are a fast trust killer.

2. Embeddings

Each chunk is converted to a vector using an embedding model. Decisions:

  • Model choice. OpenAI text-embedding-3-large, Cohere embed-v3, Voyage and others are all viable. Quality differences are real but smaller than people think.
  • Multilingual support. Important for Australian businesses with operations across APAC.
  • Cost. Embeddings are cheap individually but add up at scale. Plan for re-embedding when you change models.

3. Vector store

Where the embeddings live. See our deeper guide on vector databases explained for business. The shortlist:

  • Pinecone — managed, popular, expensive at scale.
  • Weaviate — open-source with managed option, strong hybrid search.
  • Qdrant — open-source, fast, increasingly popular.
  • pgvector — Postgres extension; brilliant for teams already running Postgres.
  • Azure AI Search / AWS OpenSearch — for teams already in those clouds.

For most Australian mid-market builds, pgvector or Qdrant on AU-region infrastructure is a sensible starting point.

4. Retrieval orchestration

The runtime layer that takes a query, retrieves the right chunks, and assembles the prompt. Where the real engineering work lives:

  • Hybrid search. Combining vector similarity with keyword (BM25) search consistently improves quality.
  • Re-ranking. A second-pass re-ranker (Cohere Rerank, Voyage Rerank, or a custom one) on top of initial retrieval significantly improves precision.
  • Query rewriting. Rewriting vague user queries into more retrievable forms before searching.
  • Permission filtering. Filtering retrieved chunks by what the asking user is allowed to see.

5. Generation

The LLM call itself. Decisions:

  • Model selection. Claude, GPT, Gemini, or open-source on your own infrastructure. See our ChatGPT vs Claude for business comparison for general assistant choice; the same considerations apply to the underlying model in RAG.
  • System prompt design. Critical. Specifies output format, citation behaviour, and "I do not know" handling.
  • Temperature and structure. Low temperature for factual RAG. Structured outputs (JSON) for downstream use.

6. Evaluation and observability

The layer most teams skip and most projects regret skipping:

  • Eval set. 50–200 representative questions with expected answers, refreshed quarterly.
  • Automated scoring. Retrieval precision/recall, answer relevance, faithfulness. Tools like Ragas help.
  • Production logging. Every query, retrieval, prompt, answer, and user feedback signal logged.
  • Drift detection. Watching for retrieval quality degradation as your knowledge base evolves.

The decisions that make or break the project

Across dozens of RAG projects, the same handful of decisions separate success from stall.

Scoping discipline

The single biggest predictor of success is starting narrow. One knowledge domain. One user group. One use case. Teams that try to build a "company-wide knowledge assistant" in their first project almost always stall. Teams that ship a "tenant onboarding question answerer" in eight weeks then iterate.

Permissions modelling

Internal RAG often touches sensitive data. Get permissions right from day one:

  • Filter retrieval by per-user access — never just at display time.
  • Maintain a synced ACL between your source systems and the vector store.
  • Audit log every query, retrieved chunk, and answer for sensitive domains.

Evaluation from day one

A RAG system without a baseline eval set will degrade quietly. Build the eval set during scoping, not after launch.

Realistic latency budgeting

End-to-end RAG latency is the sum of embedding, retrieval, re-ranking, and generation. Aim for sub-three-second end-to-end for interactive use. Streaming helps the perceived experience.

Realistic cost expectations

For a mid-sized internal RAG (10,000–100,000 documents, 100–500 active users) running on managed infrastructure in 2026:

  • Embeddings. AUD 100–1,000 one-off, plus ongoing for updates.
  • Vector store. AUD 200–2,000 per month depending on choice and scale.
  • LLM inference. AUD 500–10,000+ per month depending on usage.
  • Orchestration and infrastructure. AUD 500–3,000 per month.
  • Engineering build cost. AUD 50,000–250,000 for a production-grade first version.

For tactics on controlling the inference component, see our LLM API cost management guide.

When to use a vendor versus build

Increasingly there are credible vendor options for internal RAG — Glean, Microsoft Copilot with custom connectors, AWS Q Business, Vectara, and others. Buy when:

  • Your knowledge sources are mainstream (M365, Google Workspace, Slack, Jira, Confluence).
  • You do not have a strong internal AI engineering capability.
  • Speed to value matters more than long-term flexibility.

Build when:

  • Your knowledge sources are non-standard.
  • You need deep integration with proprietary systems.
  • The retrieval logic itself is part of your differentiation.

Most Australian mid-market businesses we work with end up with a hybrid — a vendor RAG for general knowledge and a custom RAG for the one or two domains that matter most.

What to do next

Pick one narrow domain. Build a prototype in 4–8 weeks. Measure quality against a real eval set. If it holds up, harden it for production. Resist the temptation to build the everything-assistant first.

Talk to a Melbourne AI consultant about scoping and building an internal RAG system.
Book a discovery call →

FAQ

Frequently asked questions.

What is a RAG system?

Retrieval-Augmented Generation (RAG) is a pattern where a language model retrieves relevant content from your own data sources before answering a question. It lets the model reason over your proprietary knowledge without retraining.

How long does it take to build an internal RAG system?

A useful internal RAG prototype takes 4–8 weeks. A production-grade system with proper access controls, evaluation, and observability typically takes 3–6 months depending on data complexity.

Do we need to fine-tune a model for RAG?

Usually not. Frontier models with good retrieval and prompting outperform fine-tuned smaller models for most internal RAG use cases. Fine-tuning is a later-stage optimisation, not a starting point.

What does an internal RAG system cost to run?

Inference costs typically dominate at AUD 500–10,000 per month for mid-sized internal use. Vector database, embeddings, and infrastructure usually add another 20–40% on top depending on data volume.

Should we use LangChain or LlamaIndex?

Both are viable. LlamaIndex tends to be cleaner for retrieval-heavy systems. LangChain is broader but heavier. Increasingly teams roll their own thin orchestration layer rather than commit to either framework.

Waymouth Tech · Melbourne, Australia

Want this implemented in your business?

We’re a Melbourne-based AI implementation consultancy. We scope, build and ship production AI for Australian organisations — typically 8–14 weeks from kickoff to live, billed by scope so you know what you’ll pay before we start.

  • AI Implementation, Enablement & Education
  • IT services & integrations
  • Engineering team that ships real products
  • Australian Privacy Act & AU-region cloud
Book a free 30-min discovery callSee all services

Or email hello@waymouthtech.com — usually back within 24 hours.

Continue reading

More from the archive.

Abstract circuit pattern in gradient colours representing the AI tooling landscapePillar guide
AI Tools, How-tos & Comparisons

Choosing AI Tools for Business: A Decision Framework for 2026

A practical decision framework for choosing AI tools for business in 2026 — covering selection criteria, build vs buy, and a tooling shortlist.

21 May 2026·6 min read
Server infrastructure representing a vector database storing embeddings
AI Tools, How-tos & Comparisons

Vector Databases Explained for Business in 2026

Vector databases explained for business — what they are, when you need one, how to pick between the major options, and what they actually cost.

21 May 2026·6 min read
A Melbourne operations workspace with coffee, a notebook and Notion open on a laptop
AI Tools, How-tos & Comparisons

Notion AI for Operations Teams: What It Actually Does Well

A practical look at Notion AI for operations teams — what it does well, where it falls short, and how to roll it out without creating workspace chaos.

21 May 2026·5 min read