Pamela Fox: Test Model Swaps Against Your Own Application

A hands-on workshop compares grounding, vision, tool use and evaluation across model configurations.

PFPamela Fox연사 · Microsoft
채널
AI Engineer
게시일
2026년 10월 19일
영상
51:37
읽기
5분
슬라이드
3
원문
영어
YouTube에서 열기
스크롤하면 영상이 오른쪽 아래로 작아져 계속 재생됩니다. 자막은 읽기 언어를 따릅니다.
읽기 언어2개 언어로 읽을 수 있음
이 글은 아직 한국어 번역이 없어 영어 원문으로 표시합니다.
요약

30초 요약

Pamela Fox demonstrates switching models in the same application scenarios, from letter counting and grounded retrieval to image input, tool calls and a travel agent. She emphasizes that benchmark scores cannot substitute for tests of the actual workload. The workshop also covers repeatable evaluations, human-calibrated model judges, ASSERT-generated scenarios and DSPy prompt optimization. Individual results are demonstrations under specific settings, not a universal ranking.

  1. 1Scenario-specific testingBenchmarks alone cannot predict application behavior.
  2. 2Grounded retrievalA model should identify when the supplied sources lack an answer.
  3. 3Tool callsThe model proposes a function and arguments; application code executes them.
  4. 4Calibrate the judgeSeparate application failures from evaluator errors.
  5. 5Optimize and retestDSPy searches prompts against declared constraints and checks.

핵심 정리

  1. Test model behavior on representative application tasks before switching.
  2. Grounded answers must identify missing source information.
  3. Tool evaluation should inspect arguments, traces, latency and final results.
  4. Model judges need calibration with human or expert labels.
  5. Generated tests and optimized prompts still require independent review.
전문

챕터별로 다듬은 전문 읽기

01

Model swaps and simple tests

Fox introduces the workshop and demonstrates letter counting.

Pamela Fox leads a guided workshop comparing model behavior across concrete application scenarios. The examples use models deployed on Microsoft Foundry and are demonstrations from the event, not a permanent ranking.

The goal is to make model substitution practical: services and access can change, so teams should know how another model behaves in their application and what adjustments it needs.

The workshop compares GPT-5.5, Kimi K2.6, DeepSeek V4 Flash and Mistral Large 3 in the configurations available to the presenter. Exact versions, prompts and settings matter.

Benchmarks, cost and throughput offer useful clues, but a benchmark alone cannot tell you whether a model meets your own task requirements. Test the scenario you actually intend to deploy.

The first example counts a letter in a sentence. Fox runs the same request across models and observes different answers; a single run is illustrative rather than a statistically robust comparison.

She changes the prompt to count word by word and sum the results. In that demonstration, the revised instruction helps one model answer correctly, showing why prompts may need retesting after a swap.

02

Grounding, images and languages

She tests source boundaries and multimodal behavior.

The next example tests grounded retrieval. A question asks about two types of bees, but the retrieved documents describe only one; a grounded answer should identify the missing information rather than invent a source.

A grounded retrieval prompt
슬라이드 1 / 3A grounded retrieval promptThe code asks the model to answer from supplied sources and cite them.

Fox shows one response explicitly saying the source lacks the requested details. She then compares other models using the same question and context.

One model supplies information outside the provided source. Fox strengthens the instruction to identify unsupported claims, but the revised answer still includes extra information in the demonstration.

Her practical question for RAG is whether an answer stays within the available evidence and admits gaps. Prompt changes may help, but they do not replace evaluation.

The vision examples include an animal image, crocodiles and a table with small text. She asks models to identify the image or extract a price, comparing outputs against the intended answers.

Testing an image table
슬라이드 2 / 3Testing an image tableThe example checks whether a model can read a small-text table and identify a price.

The selected models differ on these examples; one deployment is text-only and is not included in the image test. Results depend on model capability, the specific image and the setup.

Fox argues that prompting cannot always repair a model’s visual limitations, so teams should test the actual kinds of images they expect to receive. This is her workshop interpretation, not a universal rule.

She changes the language of an image question and sees a different answer. Multilingual applications need examples in each supported language, including ambiguous terms and local usage.

03

Tool calls and agent loops

She examines schemas, efficiency and parallel workflows.

For tool calling, the application supplies function names, descriptions and JSON Schema. The model proposes a tool and arguments; application code, not the model alone, executes the function.

Function and argument descriptions are part of the model-facing interface. Ambiguous names or missing constraints can produce an unexpected attendee, location or date in the calendar example.

Fox compares proposed tool calls and expected arguments. When a result differs, she suggests clarifying the schema and instructions, then rerunning a range of cases.

A calculator loop can solve the same word problem using one combined expression or several calls. Both may reach the right answer, but call count affects latency and cost.

She observes that a model may also make extra calls to check itself. Evaluation should inspect both the final answer and the path taken, while recognizing that some checks can improve reliability.

The workshop then builds a travel-planning agent with tools for flights, hotels, budgets and activities. The example logs tool calls so behavior is visible.

Independent flight and hotel searches can run in parallel. Budget checking depends on their results, and activity selection can then use the remaining budget.

Fox compares both models and agent frameworks, since the tool-calling loop and model choice can each change the trace. In her demonstration, some models use more turns or omit a step.

04

Evaluating applications

She builds cases, discusses judges and demonstrates ASSERT.

Manual inspection helps discover failure modes, but production comparisons need repeatable bulk evaluations. A simple first test can check whether the right function and arguments were returned.

Build cases for date arithmetic, ambiguous durations, different languages and colloquial requests. Add new examples when real users reveal gaps, with appropriate handling of their data.

Model evaluations can be slow and expensive, so decide how often to run them rather than assuming every test belongs on every commit.

For outputs without a single exact answer, an LLM judge can apply a rubric and return pass or fail with a reason. It may need the question, answer, source context and tool traces.

A judge is itself fallible. Fox recommends calibrating it with human or domain-expert labels and distinguishing errors in the application from errors in the evaluator.

She demonstrates ASSERT, a Microsoft Research tool that generates evaluation scenarios and rubrics from a specification. The generated cases are a starting point that still needs review.

The travel specification can include dimensions such as ample, tight or infeasible budgets. Stratifying cases helps test behavior across different conditions.

Scenario-based evaluation results
슬라이드 3 / 3Scenario-based evaluation resultsThe workshop compares violations across specific travel-planning cases and model configurations.

The displayed comparison reports violations for specific model runs and scenarios. Fox treats it as a way to inspect the application, not proof of a model’s performance on all workloads.

05

Prompt optimization and APIs

She demonstrates DSPy and discusses provider differences.

Finally, she shows DSPy optimizing a prompt against declared constraints and checks. The optimizer searches candidate instructions; the resulting prompt still needs independent evaluation.

Her example asks for a structured list satisfying multiple constraints. She supplies a student model, a reflection model and an optimizer, then tests candidate prompts against the specification.

She shows a prompt that worked for the chosen model in this task. A lower-cost model may be sufficient for a specific workload after optimization, but this is not guaranteed for every workload.

Different providers can also expose different APIs and structured citation features. Model substitution may therefore require adapter changes as well as prompt and evaluation changes.

The workshop code remains available, but the temporary demonstration credentials are not a persistent resource. Use your own authorized configuration and test cases when reproducing it.

같은 채널의 다른 글

슬라이드 9장21:32EN
AI Engineer· 2026년 10월 29일Shy Ruparel on AI agent reliability and recovery after failuresShy Ruparel · TemporalTemporal’s survey finds a gap between frequent agent use and dependable deployment. Ruparel demonstrates a synthetic payout workflow that resumes after workers stop.에이전트관측 가능성과 안정성에이전트 엔지니어링+2
슬라이드 7장14:50EN
AI Engineer· 2026년 10월 29일Cole Gannaway on code review, cross-repository risk and AI software factoriesCole Gannaway · QodoA one-line rename can pass local checks while affecting distant clients. Qodo’s Cole Gannaway explains how review context, shared rules and independent agents can expose those risks.Code review & verification코딩 에이전트개발 워크플로와 테스트+2
슬라이드 5장11:47EN
AI Engineer· 2026년 10월 29일Revolut’s David Abitbol on self-hosting AI coding models at scaleDavid Abitbol · RevolutAbitbol shares engineering delivery trends, GPU-serving costs and latency tuning, then describes controls for operating the tools in a regulated bank.Local inferenceAI cost & performanceDeveloper productivity+2
슬라이드 4장21:47EN
AI Engineer· 2026년 10월 28일Patrick Smyth on Open-Source Supply Chain Security in the AI EraPatrick Smyth · ChainguardChainguard’s Patrick Smyth discusses faster exploitation, malware in dependencies, zero-days and the expanding attack surface around developer workflows.CybersecurityOpen-source ecosystemsAI security+2
슬라이드 5장14:09EN
AI Engineer· 2026년 10월 28일Taylor Luttrell-Williams on Finding Logic Vulnerabilities with SonarQube Hunter AgentTaylor Luttrell-Williams · SonarSonar’s Taylor Luttrell-Williams explains how a security agent maps a codebase, investigates logic flaws and presents validated findings alongside conventional scans.CybersecurityAI securityCode review & verification+2
슬라이드 5장16:29EN
AI Engineer· 2026년 10월 28일Chris Vela on Benchmarking vLLM Configurations with Runpod BenchPodChris Vela · RunpodRunpod’s Chris Vela demonstrates a dashboard for comparing LLM serving configurations and choosing performance settings with workload-specific data.InferenceBenchmarksAI cost & performance+2