On this page
Define the application boundary
A retrieval-augmented generation demonstration can be built around a small approved document set and a few friendly questions. A production application must also handle source changes, access permissions, incomplete evidence, failures and support ownership.
Define the question types the application may answer and the actions it may perform. Record whether it drafts advice or changes operational records. Treat the examples below as proposed architecture reviews, not a report of measured client results.
Preserve source meaning when preparing documents
Document preparation should preserve the context needed to answer the intended questions. A table row may need its headers; a policy clause may depend on an exception in the next paragraph. Fixed-size chunks are one option to test, not a sufficient explanation of a document strategy.
Keep identifiers, effective dates and source ownership with the material. Compare candidate preparation approaches using questions with known required evidence. An improvement needs observed retrieval and answer results on your own cases. No universal quality gain or cost reduction follows from selecting a named chunking technique.
Compare retrieval approaches using actual questions
Azure AI Search supports hybrid search that runs full-text and vector retrieval and combines their ranked results using Reciprocal Rank Fusion. Exact identifiers and conceptual questions can place different demands on retrieval.
Create cases that reflect both. Compare the returned passages, missing evidence and inappropriate matches. Keep query settings and corpus versions in the record. A benefit shown on one dataset does not establish a percentage improvement for another organisation. This article makes no numerical claim about VNode customer query performance.
Evaluate before tuning for a demo
Use a stable set of representative questions, including missing information, conflicting sources and questions outside scope. Inspect retrieval and generated-answer quality separately. Retain some acceptance cases that were not repeatedly used while tuning.
Microsoft Foundry documents evaluation and observability capabilities. Choose the workflow and supported metrics appropriate to the application, and keep domain review alongside automated signals. A fluent response or a citation is not evidence that the source was current or that access was authorised.
Use access and safety controls alongside output review
Enforce the intended document access in the application and connected services. Review how identity reaches retrieval and any tools. Test restricted operations with authorised test accounts. Prompts and citations do not enforce access.
Azure AI Content Safety Prompt Shields detect attack patterns in supplied text. They do not establish factual accuracy or source grounding, and handling depends on the selected integration. Treat detection as one control within the application design. Before wider use, test failure handling, source updates, monitoring and a supported recovery route, with named owners.




