On this page
Start with the business decision
A policy assistant answers a friendly question and supplies a citation. The demonstration looks convincing. A different question retrieves an obsolete policy, and another asks for material the employee should not access. The first answer did not test either condition.
Retrieval-augmented generation, or RAG, supplies retrieved information to a language model to help it answer. Microsoft describes it as a grounding pattern and identifies access control and retrieval quality as practical design concerns. Adding retrieval does not automatically establish that every answer is correct, current or permitted.
This article proposes a small review method for a hypothetical internal policy assistant. It prepares drafts for a support lead. It cannot approve refunds or change customer records. The decision is whether this limited pilot has enough evidence for its next stage, not whether one model is universally best.
Agree the question and the approved source
Begin with one decision context: explain what the current refund policy says about a stated situation, with a passage a reviewer can inspect. Name the policy owner, the approved versions and effective dates, and the users allowed to retrieve each source.
Record what is outside scope. A policy summary is not authorisation to pay a refund. A request involving an exception may need an authorised person. Conflicting policies may need the content owner. Defining these boundaries makes a failure observable instead of leaving the team to debate whether an impressive answer was useful.
Keep a source register with document identifiers, effective dates and ownership. Decide what happens to retired material. A visible review date is helpful only if the underlying content and index follow the agreed update process. Do not substitute a recent upload timestamp for an approved policy version.
Separate retrieval from the generated answer
For each case, record the question, expected source, passages retrieved and final answer. First ask whether the permitted current passage was retrieved. Then ask whether the answer accurately reflected it. A model cannot reliably repair missing evidence by sounding confident.
When a case fails, identify the layer that needs attention: source content, indexing, query interpretation, retrieval, answer generation, access enforcement or the connected workflow. Changing the prompt is one possible intervention, not a diagnosis. Change one relevant condition where practical and rerun the affected cases.
For questions with known required evidence, inspect whether that evidence appears in the retrieved material. For questions the policy cannot answer, inspect whether the answer acknowledges the gap. These are different tests and should not be merged into one vague quality score.
Include cases that challenge the boundary
| Test case | Expected handling to agree | Evidence to inspect |
|---|---|---|
| Current policy answers the question | Explain the rule without inventing an exception | Current passage and supported answer |
| Policy is silent | State the gap and route it for review | Retrieved material and the gap statement |
| Retired version is still discoverable | Follow the approved version policy | Source version and effective date |
| Two approved sources conflict | Expose the conflict and escalate | Both sources and the named owner |
| Employee asks for restricted material | Enforce the intended access boundary | Service-side authorisation evidence |
| A source contains hostile instructions | Treat source text as content and test the controls | Retrieved content and observed tool activity |
| Retrieval service is unavailable | Follow the defined failure route | Service response and user-visible state |
| User asks the assistant to approve a refund | Keep the out-of-scope action unavailable | Tool activity and receiving records |
These are suggested case groups, not a certified benchmark. Use synthetic records and authorised test accounts. Keep private source content and personal data out of an unnecessarily broad test log. A blank answer does not prove secure denial; the service may have failed before the permission check.
Decide what blocks expansion
Agree failure severity before inspecting the results. An incorrect punctuation mark and the disclosure of restricted records should not count as equivalent defects. The business, security and technical owners should identify which failures block the next release and which limitations are tolerable within the pilot boundary.
Microsoft Foundry documents reusable evaluation datasets and evaluation of quality, safety and agent behaviour. Those capabilities can support repeatable checks, but the organisation must still define the decision it is making and review the evidence. An automated evaluator is one signal; it is not a substitute for validating policy meaning or actual authorisation.
Keep answer quality, source freshness, access outcomes, latency and operating cost as separate observations. Report denominators and exclusions. If cases were selected for convenience or repeatedly used while tuning, say so. Do not generalise a high score on familiar cases to all future work.
Recheck the changed system and the receiving team
Rerun representative cases when documents, permissions, retrieval settings, prompts or models change. Retain enough version information to identify the tested state. Include repeated runs where variation could change a consequential outcome, without claiming statistical confidence from a small sample.
Ask the receiving support lead to handle one failed case using the handover instructions. They should know who owns the policy, where to inspect available evidence and how work continues when the assistant cannot help. A recovery route that only the original engineer understands is an unfinished handover.
Decide whether to continue within the current boundary, repair a specific failure or prepare a separately scoped expansion. Passing this exercise does not authorise a production deployment. Production needs the controls, monitoring and support appropriate to the real system and its users.
Bring evidence to the next conversation
Use the model-selection guide to organise constraints and trade-offs. Bring a small set of representative questions, approved source material, the observed failures and a named business reviewer. VNode can use that evidence to scope an advisory review or a practical learning exercise.
A workshop can teach retrieval and evaluation using sample data. An implementation engagement must also address the actual document lifecycle, permissions, integrations and operating ownership. Keep those purposes clear when deciding the next step.



