<mxfile host="app.diagrams.net" modified="2026-10-25T00:00:00.000Z" agent="OpenAI Codex" version="24.7.17" type="device"><diagram id="rag-on-azure" name="RAG on Azure: From Data to Grounded Answer"><mxGraphModel dx="1440" dy="920" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1440" pageHeight="920" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="s1" value="RETRIEVAL-AUGMENTED GENERATION" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fffefa;fillOpacity=45;strokeColor=#222222;strokeWidth=2;dashed=1;dashPattern=8 6;fontColor=#676761;fontSize=14;fontStyle=1;verticalAlign=top;spacingTop=12;" vertex="1" parent="1"><mxGeometry x="45" y="205" width="1350" height="430" as="geometry"/></mxCell><mxCell id="documents" value="&lt;div style=&quot;text-align:left&quot;&gt;&lt;small&gt;01 · DATA&lt;/small&gt;&lt;br&gt;&lt;b&gt;Source content&lt;/b&gt;&lt;br&gt;Policies · manuals&lt;br&gt;Records · tickets&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#efeee9;strokeColor=#222222;strokeWidth=2;fontColor=#222222;fontSize=16;spacing=12;arcSize=14;" vertex="1" parent="1"><mxGeometry x="80" y="370" width="205" height="122" as="geometry"/></mxCell><mxCell id="prepare" value="&lt;div style=&quot;text-align:left&quot;&gt;&lt;small&gt;02 · INGEST&lt;/small&gt;&lt;br&gt;&lt;b&gt;Prepare and index&lt;/b&gt;&lt;br&gt;Extract · chunk · embed&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e4efe7;strokeColor=#222222;strokeWidth=2;fontColor=#222222;fontSize=16;spacing=12;arcSize=14;" vertex="1" parent="1"><mxGeometry x="330" y="370" width="220" height="122" as="geometry"/></mxCell><mxCell id="search" value="&lt;div style=&quot;text-align:left&quot;&gt;&lt;small&gt;03 · RETRIEVE&lt;/small&gt;&lt;br&gt;&lt;b&gt;Azure AI Search&lt;/b&gt;&lt;br&gt;Hybrid retrieval · filters&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e2edf5;strokeColor=#222222;strokeWidth=2;fontColor=#222222;fontSize=16;spacing=12;arcSize=14;" vertex="1" parent="1"><mxGeometry x="600" y="370" width="220" height="122" as="geometry"/></mxCell><mxCell id="prompt" value="&lt;div style=&quot;text-align:left&quot;&gt;&lt;small&gt;04 · AUGMENT&lt;/small&gt;&lt;br&gt;&lt;b&gt;Grounding context&lt;/b&gt;&lt;br&gt;Question + evidence&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f6edcf;strokeColor=#222222;strokeWidth=2;fontColor=#222222;fontSize=16;spacing=12;arcSize=14;" vertex="1" parent="1"><mxGeometry x="870" y="370" width="220" height="122" as="geometry"/></mxCell><mxCell id="answer" value="&lt;div style=&quot;text-align:left&quot;&gt;&lt;small&gt;05 · GENERATE&lt;/small&gt;&lt;br&gt;&lt;b&gt;Model response&lt;/b&gt;&lt;br&gt;Answer · citations&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f4e2df;strokeColor=#222222;strokeWidth=2;fontColor=#222222;fontSize=16;spacing=12;arcSize=14;" vertex="1" parent="1"><mxGeometry x="1140" y="370" width="220" height="122" as="geometry"/></mxCell><mxCell id="controls" value="&lt;div style=&quot;text-align:left&quot;&gt;&lt;small&gt;TRUST CONTROLS&lt;/small&gt;&lt;br&gt;&lt;b&gt;Access control · safety · evaluation&lt;/b&gt;&lt;br&gt;Check permissions before context reaches the model.&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#efeee9;strokeColor=#222222;strokeWidth=2;fontColor=#222222;fontSize=16;spacing=12;arcSize=14;" vertex="1" parent="1"><mxGeometry x="360" y="690" width="720" height="105" as="geometry"/></mxCell><mxCell id="e1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;strokeColor=#222222;strokeWidth=2;fontColor=#676761;fontSize=12;labelBackgroundColor=#fbfaf7;" edge="1" parent="1" source="documents" target="prepare"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;strokeColor=#222222;strokeWidth=2;fontColor=#676761;fontSize=12;labelBackgroundColor=#fbfaf7;" edge="1" parent="1" source="prepare" target="search"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;strokeColor=#222222;strokeWidth=2;fontColor=#676761;fontSize=12;labelBackgroundColor=#fbfaf7;" edge="1" parent="1" source="search" target="prompt"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;strokeColor=#222222;strokeWidth=2;fontColor=#676761;fontSize=12;labelBackgroundColor=#fbfaf7;" edge="1" parent="1" source="prompt" target="answer"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;strokeColor=#222222;strokeWidth=2;dashed=1;dashPattern=8 6;fontColor=#676761;fontSize=12;labelBackgroundColor=#fbfaf7;" edge="1" parent="1" source="search" target="controls"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;strokeColor=#222222;strokeWidth=2;dashed=1;dashPattern=8 6;fontColor=#676761;fontSize=12;labelBackgroundColor=#fbfaf7;" edge="1" parent="1" source="answer" target="controls"><mxGeometry relative="1" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>