AI Cloud Architect

How to debug and optimize RAG agents in Microsoft Foundry

MicrosoftHow-to by Chang LiuMicrosoft Foundry Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Microsoft shows how to evaluate a RAG agent end to end with Groundedness and Relevance evaluators, and how to tune Azure AI Search parameters with document retrieval metrics such as NDCG and XDCG.

Who it is for

Teams building RAG agents on Azure AI Search and Microsoft Foundry that need to measure answer and retrieval quality before deployment.

Key points

  • Document retrieval evaluator needs labeled ground truth (human or LLM judge) on a 0-5 scale
  • Compares text, semantic, vector and hybrid search runs in Foundry
  • Document retrieval comparison visualization is described as a fast-follow available within 30 days

The same at other vendors