Service · Retrieval-augmented generation
An LLM that answers from your data — and shows where it found it.
Retrieval-augmented generation (RAG) connects a language model to your documents, wiki, tickets and databases, so answers come from your knowledge, not from the model’s memory. We build RAG systems that are accurate, permission-aware and measurable — not a chatbot that sounds confident and is wrong one time in five.
When RAG is the right tool
RAG shines when people spend time finding and re-reading information that already exists somewhere in your company. Typical signals: support agents searching the knowledge base during calls, engineers asking the same questions about internal systems, sales teams digging through product docs, or compliance teams checking policies. If the problem is behaviour or format rather than missing knowledge, RAG is the wrong tool — our RAG vs fine-tuning guide explains the difference.
Support copilot
Draft replies to tickets from help articles, past resolutions and product docs, with links agents can verify.
Internal knowledge assistant
One place to ask about policies, processes and systems across Confluence, SharePoint, Notion or Google Drive.
Customer-facing help
Answers on your website or in your app, restricted to public documentation and with a clean hand-off to a human.
Sales & pre-sales
Answer security questionnaires and RFPs from approved content, with a reviewer in the loop.
Engineering assistant
Questions about your codebase, runbooks, incidents and architecture decisions.
Contract & policy search
Find clauses and obligations across hundreds of documents, with exact quotes.
Where RAG quality actually comes from
When a RAG system gives a bad answer, the model is rarely the culprit. Most failures happen earlier: a PDF table was parsed into gibberish, the relevant paragraph was split across two chunks, the search returned a similar-sounding but outdated document, or the answer lived in a spreadsheet nobody indexed. That’s why we spend most of the effort on the pipeline, not on the prompt.
| Stage | What goes wrong | What we do |
|---|---|---|
| Parsing | Tables, scans and multi-column PDFs turn into noise | Layout-aware parsing, OCR where needed, table extraction checked on real files |
| Chunking | The answer is split across chunks or drowned in irrelevant text | Structure-aware chunks (headings, sections) with overlap tuned on your content |
| Search | Pure vector search misses exact terms: product codes, names, error IDs | Hybrid search (keyword + vector) and a reranker for the final ordering |
| Freshness | Old versions of a policy outrank the current one | Incremental re-indexing, version metadata and date-aware ranking |
| Permissions | The assistant quotes documents the user may not see | Access-control filters applied in the search query, not after the fact |
| Answering | The model fills gaps with plausible fiction | Answer-only-from-context instructions, “I don’t know” paths and mandatory citations |
How we measure a RAG system
Before building, we collect a set of real questions with known good answers — typically 50 to 200, written with the people who will use the system. Every change to parsing, chunking, search, prompts or models is re-run against that set. You see the numbers, not just a few hand-picked demo questions. More on this in LLM evals for non-ML teams.
- Retrieval recall: did the right passage make it into the context at all?
- Answer correctness: is the answer right, judged against the reference?
- Faithfulness: is every claim supported by the cited sources?
- Refusal quality: does it say “I don’t know” when the answer isn’t in the data?
- Latency and cost per question, tracked alongside quality so trade-offs are visible.
Reference architecture
Interfaces
- Web chat
- Slack / Teams bot
- Helpdesk sidebar
- API
Orchestration
- Query rewriting
- Hybrid retrieval
- Reranking
- Prompt assembly
- Citations
Safety & quality
- Permission filters
- Prompt-injection checks
- Evals in CI
- Feedback capture
Ingestion
- Connectors
- Parsing & OCR
- Chunking
- Embeddings
- Incremental sync
Storage (your cloud)
- Vector / search index
- Metadata DB
- Object storage
- Audit logs
For storage we pick what fits your stack: PostgreSQL with pgvector when you already run Postgres, Azure AI Search on Azure, OpenSearch or Elasticsearch where you have them, or a dedicated vector database for very large collections. The trade-offs are in our vector database comparison.
How a RAG project runs with Nythrex
- 1
Source audit (days, not weeks)
We look at your real documents and systems: formats, volume, permissions, how often they change and who owns them.
- 2
Test set
Together with future users, we write the questions and reference answers the system must get right.
- 3
Proof of concept
A thin end-to-end pipeline on a representative slice of your data. Output: accuracy, failure analysis, latency and cost per question — and a go / no-go.
- 4
Production build
Connectors for all sources, permissions, UI where people already work, monitoring, feedback loop, evals in CI and deployment in your cloud.
- 5
Operate and improve
Weekly review of unanswered and down-voted questions; they become new test cases and content fixes.
What you own at the end
Frequently asked questions
Keep reading
Want a second opinion on your project?
Tell us what you’re building and where you’re stuck. We’ll reply within one business day with the most practical next step — even if that step isn’t us.
