# We built an internal Q&A bot on RAG and nobody trusts its answers. Fix it or replace it?


URL: https://getunblocked.com/answers/internal-rag-qa-bot-nobody-trusts-fix-or-replace/
Published: 2026-12-01T15:30:00Z
Updated: 2026-11-30T20:51:53Z
Author: Brandon Waselnuk
Categories: Context Engine, Engineering Insights

**Short answer:** Find out why people stopped trusting it first. Missing citations and a few stale documents are fixable in a sprint. If the bot cannot follow each source's permissions, settle conflicts between old docs and newer code, or read the code at all, replace it. Unblocked answers from code, PRs, tickets, docs and Slack together and cites every source it used.

---
Diagnose before you decide. An internal bot built on RAG loses trust for one of five reasons: it shows no sources, it retrieves stale documents, it ignores permissions, it cannot tell an old answer from a current one, or it never reads the code. The first two are fixable in a sprint. The last three are design limits, and fixing them means rebuilding most of the pipeline, so replacing the bot is usually cheaper. Unblocked is one replacement: it answers from code, pull requests, tickets, docs and Slack together, and every answer links to the sources it used. **A trust failure** is a wrong or unverifiable answer that teaches people to stop asking. For example, an Unblocked answer that cites a two-year-old wiki page can be checked in one click, and the page can be archived so no future answer uses it.

## Why nobody trusts your internal RAG bot

Engineers do not need a perfect bot. They need one they can check. The 2026 Stack Overflow Developer Survey found that "to trust what the AI gives requires source attribution (93%)" ([Stack Overflow](https://stackoverflow.blog/2026/10/06/the-results-of-the-2026-developer-survey-are-here/), October 2026). A bot that answers without links asks people to take it on faith, and one bad answer ends that.

The five causes, in the order to check them:

| Cause | What people see | Fix in a sprint? |
| --- | --- | --- |
| No citations | An answer with no link to the page, PR or thread it came from | Yes |
| Stale sources | The runbook from before the migration, quoted as current | Mostly |
| No permissions | One service account that shows too much, or only public pages | Rarely |
| No recency | A 2023 design doc beats last month's merged PR because its chunk scored higher | No |
| No code | "How does retry work" gets the intended design, not the shipped one | No |


Stale sources do more harm than missing ones. A September 2026 study found that "outdated retrieval flips 30% of Llama and 37% of Qwen answers even without instructions to trust the document" ([arXiv 2609.31342](https://arxiv.org/abs/2609.31342)). Those were questions the models answered correctly with no retrieval at all.

## What you can fix in a sprint

**Citations** are a prompt and rendering change. Return the source URL with each retrieved chunk, require the model to cite it, and show the links under the answer. If the bot cannot say where an answer came from, tell it to say so.

**Stale sources** need a way out of the index. Add a delete or ignore action people can use from the answer itself, and a title rule for documents marked deprecated. Unblocked does both: you can archive a cited source straight from an answer and add a reason your teammates can see, and documents with `[deprecated]`, `[archived]` or `[outdated]` in the title are skipped ([Unblocked docs](https://docs.getunblocked.com/unblocked-chat/archiving-cited-sources.md)).

If these two fixes bring trust back, keep the bot. Many homegrown bots fail here and nowhere else.

## What usually means replacing the RAG bot

**Permissions** are the first hard limit. Microsoft's Azure AI Search docs call document-level access control "essential for building secure AI agentic systems grounding data, retrieval-augmented generation (RAG) applications, and enterprise search solutions." The same page warns that "Permission refresh doesn't provide immediate revocation or a corpus-wide freshness SLA" ([Microsoft Learn](https://learn.microsoft.com/en-us/azure/search/search-document-level-access-overview), updated November 2026). That is one vendor's search index. A homegrown bot has to sync permissions for Confluence, Jira, Google Drive and GitHub, each with its own model.

**Recency** is the second. Ranking by similarity has no idea which of two sources is current. For example, say the onboarding doc says payments retry three times, and a PR merged in October cut it to one after an incident. Both chunks match "how many times do payments retry," and the doc is longer and better written, so it wins. Fixing it means tracking dates per source, knowing that a merged PR outranks the design doc it replaced, and learning from corrections. Our post on [how the Unblocked context engine ranks sources](https://getunblocked.com/blog/inside-the-unblocked-context-engine/) covers what that takes.

**Code** is the third. Most engineering questions end in the code or the PR that changed it. Indexing repositories well means parsing them, keeping up with every merge, and linking each change to its review thread.

Unblocked handles all three. With Data Shield on, answers respect each source's permissions, and Data Shield is always on for Slack ([Unblocked docs](https://docs.getunblocked.com/team-settings/data-shield.md)). Pull requests and conversations arrive in near real time, and code, docs and issues refresh within minutes to hours ([Unblocked docs](https://docs.getunblocked.com/data-sources/data-sources-overview.md)). When someone corrects an answer in a shared conversation, Unblocked checks the correction against connected sources and applies it to everyone's later answers ([Unblocked docs](https://docs.getunblocked.com/unblocked-chat/shared-memories.md)). The same answers reach Slack, the web app and coding agents such as Claude Code and Cursor through MCP.

Alec Robins, CTO & Co-founder, Rally: "It wasn't worth our time to cobble that together internally. And going to market, the enterprise solutions didn't make sense for our size of company. For what we needed, there really wasn't anything that solved this except for Unblocked."

## A 20-question test to decide fix or replace

Run this over two weeks before you commit either way. It is a smaller version of the checklist in [how to evaluate a context engine](https://getunblocked.com/blog/how-to-evaluate-a-context-engine/).

1. Collect 20 questions the bot got wrong or that people stopped asking it. Pull them from the channel history.
2. Tag each wrong answer with one of the five causes above.
3. Ship the sprint fixes (citations and source removal) and ask the 20 again.
4. Ask the same 20 in any replacement you are weighing, from an account without access to every source.

If most failures were citations and stale pages, and the sprint fixed them, keep the bot and give it an owner. If most were permissions, recency or code, a sprint will not fix them, and those failures will grow as the company adds sources. Our [build or buy answer](https://getunblocked.com/answers/build-or-buy-context-layer-for-ai-coding-agents/) covers the cost of keeping a homegrown system staffed.

## Where to go next

If the bot lives in Slack, our answer on [what teams use instead of a homegrown Slack answer bot](https://getunblocked.com/answers/alternatives-to-homegrown-slack-answer-bot/) compares Slack AI, channel assistants and context engines. If you built on vector and graph databases, see [whether a homegrown knowledge base is worth continuing](https://getunblocked.com/answers/homegrown-vector-graph-knowledge-base-keep-or-buy/). Our [homegrown context stacks](https://getunblocked.com/blog/homegrown-context-stacks/) write-up draws on 194 conversations held between May and August 2026 with engineering teams evaluating context tooling. Teams with Slack answer bots liked the interface and disliked the answers, and one described its bot as wrong most of the time. The post gives the methodology and shows where those builds stall.

## Read more

- [What 194 Engineering Teams Told Us About Their Homegrown Context Stacks](https://getunblocked.com/blog/homegrown-context-stacks/)
- [Inside the Unblocked context engine: how we decide what your agent needs to know](https://getunblocked.com/blog/inside-the-unblocked-context-engine/)

## Related answers

- [What enterprise search works for a 50 to 300 person engineering team when Glean feels like too much?](https://getunblocked.com/answers/enterprise-search-mid-size-engineering-team/)
- [How do we cut ramp-up time for engineers joining a large existing codebase?](https://getunblocked.com/answers/cut-ramp-up-time-large-codebase/)
- [How do I give Claude Code docs for our internal SDK that isn't on the public internet?](https://getunblocked.com/answers/claude-code-docs-internal-sdk/)
- [Which AI assistants answer engineering questions in Slack with links to their sources?](https://getunblocked.com/answers/ai-assistant-engineering-questions-slack-sources/)
