Question First
Tepia starts every RAG build from a list of real questions your staff and customers ask, then works backward to the sources that answer them.
Read: Retrieval Augmented Generation (RAG) DevelopmentTo build a RAG system, collect the real questions people ask, index the sources that answer them with permission metadata, combine keyword and vector search, and test against those questions before launch. Tepia builds RAG systems on PostgreSQL with pgvector or Azure AI Search using OpenAI or Anthropic models, usually as the knowledge layer behind a custom AI agent.
A RAG system is only as good as the documents it can find, the permissions it respects and the questions it was tested on.
Tepia starts every RAG build from a list of real questions your staff and customers ask, then works backward to the sources that answer them.
Read: Retrieval Augmented Generation (RAG) DevelopmentTepia pairs keyword search with vector search and a reranker, because part numbers and policy codes rarely match on meaning alone.
Read: Fine Tuning vs RAG: Which Does Your Project Need?Each chunk carries the access rules of its source document, so a technician never sees an HR file just because it ranked well in a search.
Read: Custom AI Agent Development for BusinessBefore launch, answers are scored against an evaluation set of real questions, and the set is rerun whenever prompts or models change.
Industry figures Tepia plans around when building RAG systems on company data.
IDC has estimated that roughly 80 percent of the world's data is unstructured, the documents and messages RAG is built to search.
McKinsey's 2024 State of AI survey found 65 percent of organizations regularly using generative AI, nearly double the prior survey.
Tepia clients report apps averaging 4.5 stars on the App Store and Google Play, and wrong AI answers show up fast in reviews.
Retrieval augmented generation is a pattern, not a product. When someone asks a question, the system searches your own documents and records, passes the most relevant passages to a language model, and the model writes an answer that cites them. The model never has to memorize your handbook; it reads the right page at the moment of the question.
Most custom AI agents need this layer underneath them. An agent that drafts a reply to a warranty claim has to read the warranty terms for that product line, and an agent that helps a field technician has to read the right service bulletin. Tepia usually builds the RAG system first, proves its answers are accurate, then gives the agent tools to act on what it finds. If you are still choosing an approach, our guide to fine tuning vs RAG explains why retrieval wins whenever your facts change every week.
The steps below are the order Tepia follows. Skipping one, especially evaluation, is the usual reason a demo impresses in week two and disappoints in month three.
Tepia runs the first two steps during Discovery, because together they decide whether RAG is the right tool for your problem at all.
A handful of design choices shape accuracy more than the choice of model does. Here is how Tepia frames them with clients.
| Decision | Common options | How to choose |
|---|---|---|
| Vector store | PostgreSQL with pgvector, Azure AI Search, OpenSearch, Pinecone | Use what your team already operates; pgvector suits apps on PostgreSQL, Azure AI Search suits Microsoft 365 shops |
| Chunking | Fixed size, heading based, page based for manuals | Follow the document’s own structure and test two strategies against the evaluation set |
| Search method | Vector only, keyword only, hybrid with reranking | Hybrid whenever users search for SKUs, model numbers, codes or names |
| Model provider | OpenAI, Anthropic, Azure OpenAI, AWS Bedrock | Data residency, existing cloud agreements and measured quality on your questions |
| Freshness | Nightly rebuild or change based incremental sync | Incremental sync when sources change daily or answers carry compliance risk |
| Interface | Chat panel, search box with answer, tool inside an agent | Put answers where the work happens, such as the CRM record or technician app |
There is no universally best embedding model or vector database. Tepia picks the simplest option your team can run, then lets evaluation scores on your own questions settle disagreements instead of vendor benchmarks.
The most damaging RAG failure is not a hallucination. It is a correct answer drawn from a document the user should never have seen. Tepia stores each source document’s access list with its chunks and filters results by the signed in user’s groups, using single sign on through Microsoft Entra ID or Okta so permissions stay managed in one place.
Stale content is the second failure. If a return policy changed on Tuesday and the index rebuilds monthly, the system will confidently repeat the old rule. Tepia builds incremental sync that watches SharePoint or Drive for changes, reindexes only what changed, and retires superseded versions so two conflicting policies never both rank.
Plan for these as well:
Tepia follows the same six phases on every engagement, with a US based project manager owning the plan.
Discovery typically runs 1 to 3 months, development and QA 2 to 6 months, and launch about a month, with a pilot on one well kept source at the short end. See our process for detail on each phase.
If your documents already live in Microsoft 365 or Google Workspace and the main need is staff asking general questions about them, try the assistant built into that suite first. Tepia will say so in Discovery rather than build something you do not need.
A custom build earns its place when:
Tepia builds these through custom AI agent development and standalone RAG development. To measure accuracy before you commit, see LLM evaluation and testing, or talk to Tepia about your sources.
A paragraph or two with information on your product/service or describes a problem your product/service is designed to solve.
CEO
Senior Project Manager
VP & Operations Manager