THR1010 · Theater
RAG: Two years later
Speakers: Spencer Schneidenbach
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Spencer Schneidenbach (Microsoft MVP) revisits Retrieval Augmented Generation two years on, starting with basic terms (LLM, context window) and why RAG matters: training cutoffs, internal data and fewer hallucinations. He contrasts the RAG of two years ago (128k–250k token windows, careful data balancing) with today's 1M-token windows, sub-agents and tool calls during reasoning, and names 'agentic search' as his main takeaway. A healthcare call-analytics case study reports an estimated 80% time saving for internal users. A demo over a Postgres work-order database on Azure compares classic embeddings RAG with agentic search, then shows the same agent deployed to Microsoft Foundry and published to Copilot.
Best for: Developers and architects new to agentic retrieval who want a concrete comparison of embeddings-based RAG and tool-driven agentic search deployed through Microsoft Foundry.
New material: no clear start of new material was found in this session.
Where to skip: Skip the basics up to 10:51; skim the then-vs-now overview (10:51) and the case study (13:49) for the agentic search idea, and watch the demo at 20:11 plus the Foundry/Copilot deployment at 25:07; the closing at 26:25 adds nothing new.
Chapters (8)
- 00:02 Recap Depth 100 · Novelty 0/3
Speaker intro, agenda and basic terms: LLM, chat interfaces, context window
Spencer Schneidenbach, a Microsoft MVP and CTO of a software and AI consulting company, outlines the agenda: basic terms, why RAG matters, a brief history, a client case study and demos in Microsoft Foundry. He explains that he uses AI and LLM interchangeably and that chat interfaces now do web search, research and document lookups. He defines the context window as everything the LLM sees and notes that a growing context window classically increases the chance of errors.
- 03:23 Recap Depth 100 · Novelty 0/3
What RAG is and why it matters: freshness, internal data, fewer hallucinations
RAG (Retrieval Augmented Generation) is described as filling the context window with relevant information just in time, e.g. via web search, a company knowledge base or database queries. It matters because models have a training cutoff, are not trained on internal company data, and RAG reduces hallucination. Examples include connecting agents to SQL Server, Postgres, Cosmos, SharePoint or other document stores, Jira/Linear, and for marketing HubSpot, Apollo, analytics and GitHub.
- 08:15 Recap Depth 200 · Novelty 1/3
The business case: Foundry agent over SharePoint with Entra identity flow, stakeholder needs
The speaker argues RAG must be explained to stakeholders in terms of money. He mentions that a Microsoft Foundry agent can connect to SharePoint, noting it is in preview, with the user's Entra identity flowing through from Copilot so users only see documents they have access to. Stakeholders want real insights and dislike hallucination, illustrated by a law firm example where contracts for bank A must not be mixed with bank B.
- 10:51 Deep dive Depth 200 · Novelty 1/3
RAG then vs now: 1M-token context, sub-agents, tool calls during reasoning
Two years ago engineers had to carefully balance how much data to send because context windows were 128k to about a quarter million tokens and models used context poorly. Now context windows reach a million tokens and models find information in them better, though thoughtful engineering is still required. Key innovations named are large context windows, sub-agents for specialised research with separate tools, and pre-answer thinking with tool calls, which started with the o3 model and is now standard in frontier models.
- 13:49 Customer story Depth 200 · Novelty 1/3
Case study: healthcare call analytics agent rebuilt with agentic search, 80% time saved
A healthcare data analytics client analyses customer service calls, with some clients sending millions of calls a year, and wanted a chat agent answering questions like unhappy callers in a given month. The first version 2.5 years ago did single queries without reasoning; the new version gives a reasoning model tools to analyse data at macro level and drill down to individual conversations for quotes, which the speaker calls agentic search, his main takeaway. Impact reported: an employee prepared a presentation in 10 minutes including branded PowerPoint generation, internal users save an estimated 80% of time finding insights, and the client sells more licences.
- 20:11 Demo Depth 300 · Novelty 1/3
Demo: classic embeddings RAG vs agentic search over hospital work orders and contracts
The fictional Lakeshore Health work order system runs on a Postgres database hosted on Azure with about 50,000 records. Side by side, a simple embeddings-based RAG gives a generic answer, while the agentic search agent, guided by a 'how you investigate' prompt and tools to query and slice data and individual work orders, identifies Acme Manufacturing as the bottleneck. A second question adds a chunked contract document store; the agentic version finds Acme is contractually obliged to supply parts within two business days for urgent orders and must pay the difference if another vendor is used.
- 25:07 Demo Depth 200 · Novelty 1/3
Deploying the agentic search agent to Microsoft Foundry and publishing to Copilot
The speaker notes the agent could proactively monitor trends such as missed SLAs. He shows the same plumbing question running in an agent deployed to Microsoft Foundry and published to Copilot, using the same tools and producing essentially the same reasoning and output, without the custom chart UI. He offers the demo code on request.
- 26:25 Closing Depth 100 · Novelty 0/3
Closing: tie RAG to revenue or cost savings; prototype to deployment is shorter
The speaker concludes that RAG deployments must be tied to revenue or cost savings for stakeholders. RAG is not easy now, but the path from prototype to deployment is shorter than two years ago. He invites questions and mentions he will be at the Foundry tools area from 11 to 2:30.
Announcements (0)
No specific announcement was made in this session.
Demos (2)
-
Hospital facilities staff investigate why plumbing work orders close slowly and whether a parts vendor meets its contract, comparing classic RAG with agentic search.
Steps (6)
- Show the Postgres database on Azure with about 50,000 work orders (priority, category, description).
- Enter the question about plumbing jobs and run both the classic embeddings RAG (left) and the agentic search agent (right).
- Inspect the agent prompt section describing how to investigate step by step and the list of tools for querying and slicing data and individual work orders.
- Review the agentic result identifying Acme Manufacturing as the bottleneck.
- Add a document store with vendor contracts and ask the Tower B question about the parts vendor.
- Compare the chunked-document answer with the agentic answer citing the two-business-day SLA and the remedy of buying elsewhere at the vendor's cost.
Prerequisites: A Postgres database hosted on Azure with work order data and a document store with vendor contracts; custom agent code with investigation instructions and query tools.
-
Make the custom agentic search agent available to end users in Copilot by deploying it to Microsoft Foundry.
Steps (3)
- Deploy the agent with its tool set to Microsoft Foundry.
- Publish the Foundry agent to Copilot.
- Ask the question about plumbing jobs in Copilot and review the agent's thinking and output.