Enterprise AI Search: Build the Business Case Before Scaling RAG

Oleksandr Melnychenko··
On this page

A client-service team has years of procedures, engagement notes and approved guidance. Staff still ask senior colleagues where to find an answer. An AI search assistant looks useful, but the company needs to know whether it will reduce that dependency or add another answer that somebody must check.

Retrieval-augmented generation (RAG) finds relevant source material and gives it to a language model to help answer a question. A pilot should measure whether staff reach a verified answer faster, including the time spent checking sources and correcting mistakes.

Start with one team and a defined set of questions. Test answer quality and access controls separately before connecting more repositories.

Choose the task before the model

Choose a task with an observable cost: finding the approved procedure for an exception, assembling guidance for a client response or locating the current terms that apply to an engagement. Record how people complete it today, including search time, specialist interruptions and verification. A result that appears faster but needs longer checking may not improve the workflow.

Start with five to ten questions people already ask. For example: “Which version of our supplier policy applies to this region?” or “Where is the approved procedure for this exception?” Record who asks, what source they would trust, and what they should do when no current source answers the question.

A search result may be enough. A generated summary adds value when the user needs information brought together from several permitted documents. A recommendation or automated action is a different scope: it needs its own decision rules and review path.

Retrieval, recommendation and action
ScopeExample outputRequired control
RetrieveFind the current delivery policyCurrent source access and version
RecommendDraft an internal follow-up taskSource evidence and human review
ActCreate the approved task in CRMCurrent write permission, exact approval and recovery

The controls accumulate as the scope grows. A reliable answer about policy does not authorize a change to an order. See the AI agents in CRM and ERP guide for an approved task-creation example and its failure paths.

Inventory documents and ownership

Before funding broad ingestion, identify a business owner who can decide which guidance is authoritative. Conflicting, outdated or unowned material may require document cleanup before an assistant can be evaluated fairly. Price that work and the owner's continuing review time separately from the search technology.

List the repositories, file types, document owners, update frequency and access rules. Decide which drafts, archives and duplicates should be excluded. Preserve the source URL or identifier, version and update time through ingestion so users can inspect the original.

Test representative PDFs, spreadsheets and scans before estimating extraction for the full collection. Check table rows, column headings and source references: a value detached from its heading can change the meaning of an answer.

Keep permissions attached to the source

A user must not receive an answer derived from a document they cannot open. Record the relevant permission information during ingestion and enforce it during retrieval, before text is sent to the model. Test changes in role, group membership and source-document permissions, as well as cached answers. Microsoft’s document-level access guidance describes permission-aware retrieval patterns; the exact implementation depends on your identity and document systems.

Treat retrieved text as untrusted input. It may contain instructions that should be quoted as document content, not followed by the assistant. The application should keep the user’s authorized task and the retrieved material separate.

Test revocation and freshness, including cached answers

Take POLICY-1, an approved document at version 3. An operator can initially read it. The example below changes the permission or source version while leaving the indexed citation at version 3. Cached answers undergo the same checks before reuse.

Source access and cached-answer checks
ScenarioRequired outcomeComputed outcome
Current source, permitted readerSource checks passedSource checks passed
Permission revoked after indexingAccess deniedAccess denied
Indexed version 3; source is now version 4Refresh requiredRefresh required
Cached answer; permission revokedAccess deniedAccess denied
Cached answer; source version changedRefresh requiredRefresh required
Source withdrawn from publicationSource unavailableSource unavailable

On an access failure, withhold the affected content. If a version changed, refresh the source and retrieve again before producing an answer. If the source was withdrawn, exclude it. A cached answer combining several documents must pass the checks for every supporting source; otherwise discard it and rebuild from permitted, current material. Do not simply remove a citation while retaining the answer derived from it.

This example uses supplied permissions and document versions. It has no live document connection and does not generate or evaluate answers. In production, test how quickly permission changes reach search and what happens if that update fails. Recheck cached answers and follow-up context before use; blocking new retrieval cannot erase text already delivered.

For your connector, check which access features are supported in production. Microsoft distinguishes application-managed security filters from native permission features, some of which are in preview. Confirm the limitations before choosing an implementation.

Select retrieval by evidence

Keyword search works well for exact identifiers and terminology. Semantic retrieval can help with different wording. A hybrid approach, filters and reranking may improve results, but each adds cost or complexity. Compare them on questions your users actually ask instead of assuming one architecture always wins.

Create a small evaluation set with the expected source documents. Check whether the right document is retrieved before grading the generated answer. Changing only the answer-generation prompt cannot supply missing source evidence.

Keep a separate set of questions out of prompt and retrieval tuning. Fix the document versions, user permissions and retrieval settings for each comparison, and record changes between runs. Otherwise, a better score may reflect easier questions or newer sources rather than a better retrieval method.

If a question needs two passages and the first five search results contain only one, passage recall at five is 1/2, or 50%, for that question. This uses the standard definition of recall; it measures retrieved evidence, not answer accuracy.

When the permitted documents contain no answer, check whether the assistant declines correctly. Report these cases separately, with counts by question type, so a strong average cannot hide a failing workflow.

Make answers reviewable

Show the passages or documents used for an answer, their dates and a way to open them. Let the system say that it cannot answer when the available sources do not support a conclusion. Identify when a human must review a result, especially if it affects a customer, payment, health or another consequential workflow.

Review incorrect answers with document owners. Distinguish a missing or misread source from a conclusion the source does not support: each needs a different correction. Microsoft’s RAG guidance covers retrieval, citations, access and operating costs.

Budget the first pilot

Start with one team and one source collection. Agree which questions matter, what a satisfactory answer requires and who reviews failures. Use a fixed evaluation set alongside observed user work; a collection of impressive demonstrations can hide the questions the system cannot answer.

Compare the current search workflow with the assistant on supported answers, correct refusals and total time to a verified result. Include the time needed to inspect citations and correct a wrong answer. Assess permission failures separately: useful answers cannot compensate for disclosing another client's material.

Budget source cleanup, connectors, ingestion and refresh, search/model usage, evaluation, hosting and support. Add internal document ownership and review effort. Set a spending cap and an approval point before adding another repository or user group.

The pilot decision can be to expand, narrow the task, improve the underlying documents or retain ordinary search. Expand only where the benefit survives verification effort and the agreed access checks pass. Report time recovered as capacity unless there is a separate, credible plan to turn it into a financial benefit.

Plan for change after launch

Documents are replaced; permissions change; new questions appear. Define who updates the corpus, how quickly a change appears in search, how stale answers are identified, and who reviews recurring failures. Monitor usage without copying unnecessary sensitive content into analytics.

To plan a knowledge assistant, bring the document sources, user roles and questions it should answer. We can compare ordinary search with a generated answer and scope the work needed to test both.