<mxfile host="app.diagrams.net" modified="2026-10-28T00:00:00.000Z" agent="OpenAI Codex" version="24.7.17" type="device"><diagram id="production-rag-evaluation-pipeline-azure" name="Production RAG evaluation pipeline"><mxGraphModel dx="1600" dy="1050" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1600" pageHeight="1050" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="eval-lane" value="OFFLINE EVALUATION RUN" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#fffefa;strokeColor=#c5c2ba;strokeWidth=1.5;fontColor=#55534e;fontSize=16;fontStyle=1;verticalAlign=top;spacingTop=18;" vertex="1" parent="1"><mxGeometry x="48" y="150" width="1504" height="354" as="geometry"/></mxCell><mxCell id="release-lane" value="RELEASE AND LEARNING LOOP" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#fffefa;strokeColor=#c5c2ba;strokeWidth=1.5;fontColor=#55534e;fontSize=16;fontStyle=1;verticalAlign=top;spacingTop=18;" vertex="1" parent="1"><mxGeometry x="48" y="548" width="1504" height="310" as="geometry"/></mxCell><mxCell id="data" value="01  TEST DATA&#xa;&#xa;Versioned dataset&#xa;Queries and access context&#xa;Relevant document labels&#xa;Expected answer behavior" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#efeee9;strokeColor=#333333;strokeWidth=2;fontColor=#222222;fontSize=16;align=left;verticalAlign=middle;spacing=18;" vertex="1" parent="1"><mxGeometry x="70" y="238" width="270" height="192" as="geometry"/></mxCell><mxCell id="config" value="02  PIN CONFIGURATION&#xa;&#xa;Candidate build&#xa;Application and prompt version&#xa;Search index and query settings&#xa;Model and evaluator versions" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#e2edf5;strokeColor=#333333;strokeWidth=2;fontColor=#222222;fontSize=16;align=left;verticalAlign=middle;spacing=18;" vertex="1" parent="1"><mxGeometry x="362" y="238" width="270" height="192" as="geometry"/></mxCell><mxCell id="app" value="03  RUN THE SYSTEM&#xa;&#xa;RAG application&#xa;Azure AI Search retrieval&#xa;Context assembly and citations&#xa;Microsoft Foundry model" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#e4efe7;strokeColor=#333333;strokeWidth=2;fontColor=#222222;fontSize=16;align=left;verticalAlign=middle;spacing=18;" vertex="1" parent="1"><mxGeometry x="654" y="238" width="270" height="192" as="geometry"/></mxCell><mxCell id="evidence" value="04  KEEP EVIDENCE&#xa;&#xa;Run trace&#xa;Retrieved IDs, rank, citations&#xa;Versions, latency, token use&#xa;Redacted content as required" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#e9e5f0;strokeColor=#333333;strokeWidth=2;fontColor=#222222;fontSize=16;align=left;verticalAlign=middle;spacing=18;" vertex="1" parent="1"><mxGeometry x="946" y="238" width="270" height="192" as="geometry"/></mxCell><mxCell id="score" value="05  SCORE BY RISK&#xa;&#xa;Quality measures&#xa;Retrieval and answer quality&#xa;Access, abstention, citations&#xa;p95 latency and cost" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#f6edcf;strokeColor=#333333;strokeWidth=2;fontColor=#222222;fontSize=16;align=left;verticalAlign=middle;spacing=18;" vertex="1" parent="1"><mxGeometry x="1238" y="238" width="270" height="192" as="geometry"/></mxCell><mxCell id="gate" value="06  APPLY POLICY&#xa;&#xa;Quality gate&#xa;Hard safety and access checks&#xa;Quality and regression limits" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#f6edcf;strokeColor=#333333;strokeWidth=2;fontColor=#222222;fontSize=16;align=left;verticalAlign=middle;spacing=20;" vertex="1" parent="1"><mxGeometry x="160" y="632" width="320" height="158" as="geometry"/></mxCell><mxCell id="decision" value="07  MAKE A DECISION&#xa;&#xa;Block or release&#xa;Compare by risk cohort&#xa;Review important failures" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#efeee9;strokeColor=#333333;strokeWidth=2;fontColor=#222222;fontSize=16;align=left;verticalAlign=middle;spacing=20;" vertex="1" parent="1"><mxGeometry x="640" y="632" width="320" height="158" as="geometry"/></mxCell><mxCell id="monitor" value="08  OPERATE&#xa;&#xa;Canary and monitor&#xa;Latency, cost, errors&#xa;Reviewed user feedback" style="rounded=1;whiteSpace=wrap;html=0;fillColor=#e4efe7;strokeColor=#333333;strokeWidth=2;fontColor=#222222;fontSize=16;align=left;verticalAlign=middle;spacing=20;" vertex="1" parent="1"><mxGeometry x="1120" y="632" width="320" height="158" as="geometry"/></mxCell><mxCell id="e1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;strokeColor=#333333;strokeWidth=2;fontColor=#55534e;" edge="1" parent="1" source="data" target="config"><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=#333333;strokeWidth=2;fontColor=#55534e;" edge="1" parent="1" source="config" target="app"><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=#333333;strokeWidth=2;fontColor=#55534e;" edge="1" parent="1" source="app" target="evidence"><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=#333333;strokeWidth=2;fontColor=#55534e;" edge="1" parent="1" source="evidence" target="score"><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=#333333;strokeWidth=2;fontColor=#55534e;" edge="1" parent="1" source="score" target="gate"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1373" y="520"/><mxPoint x="500" y="520"/><mxPoint x="500" y="711"/></Array></mxGeometry></mxCell><mxCell id="e6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;strokeColor=#333333;strokeWidth=2;fontColor=#55534e;" edge="1" parent="1" source="gate" target="decision"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="e7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;strokeColor=#333333;strokeWidth=2;fontColor=#55534e;" edge="1" parent="1" source="decision" target="monitor"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="feedback" value="Reviewed production failures become new test cases" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;endArrow=block;endFill=1;dashed=1;dashPattern=8 6;strokeColor=#66635d;strokeWidth=2;fontColor=#55534e;fontSize=14;labelBackgroundColor=#fbfaf7;exitX=0.5;exitY=1;entryX=0;entryY=0.5;" edge="1" parent="1" source="monitor" target="data"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="1280" y="928"/><mxPoint x="48" y="928"/><mxPoint x="48" y="334"/></Array></mxGeometry></mxCell><mxCell id="footer" value="Illustrative pattern. Define evaluation criteria and trace retention for the system's risk." style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;fontColor=#69665f;fontSize=14;" vertex="1" parent="1"><mxGeometry x="300" y="966" width="1000" height="34" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>
