WhoBuilt

Creating and scaling your own custom copilots with Azure AI Studio

Feb 6, 2025· 24 min· 318 views·Watch on YouTube

Speaker

Hanchi Wang, a software engineering lead at Microsoft Azure AI, explains how Azure AI Studio and Prompt flow help engineers build, evaluate, and monitor AI applications.

Building beyond the model

Wang says enterprise AI applications need domain knowledge and tools, as well as safeguards, evaluation, and ongoing monitoring. She introduces Azure AI Studio as a development platform and Prompt flow as a set of tools for building and testing applications. Prompt flow is open source and can run locally, with cloud collaboration and asset tracking available through Azure AI Studio.

Tracing an AI chatbot

Wang demonstrates a chatbot that answers questions about an outdoor equipment company's sales data. It uses an Assistant API with one tool to turn questions into SQL and retrieve data, and a code interpreter to create charts. Prompt flow traces capture inputs, outputs, and LLM interactions; its local UI lets developers inspect a request from the chat response down to the generated SQL and chart code.

Evaluating quality and model choices

Wang evaluates the SQL tool using a prepared dataset of questions and ground-truth queries. The evaluation combines a content safety check with custom measures for execution time, error rate, and SQL similarity. In her comparison, GPT-4 Turbo was slowest but had the highest SQL similarity, while Mistral Large was faster and had the same error rate; she judged GPT-4 Turbo the best fit when speed was not a concern.

Monitoring production workloads

Wang says deployment starts a new phase of engineering work: monitoring individual requests and overall system behavior. Her example dashboard uses traces collected in Application Insights to show performance, usage, and failures. It showed GPT-4 Turbo taking longer, most tokens going to prompts, and traces available for investigating failures.

Takeaways

  • Instrument LLM calls and tools so you can trace how an answer was produced.
  • Build a representative test dataset and evaluate quality, safety, speed, and errors regularly.
  • Compare models on your own workload; benchmark rankings alone may not identify the best fit.
  • Use production telemetry to find latency, prompt-token costs, and failures that evaluations may miss.

Mentioned in this talk

Search inside this talk

What was claimed 11

  • works at
    Software Engineer Lead, Azure AI
    “I'm a software engineering lead at Azure AI at Microsoft”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    Google AI Studio: Development tool for building AI applications
    “the development tool for building AI applications”
    YouTube
    Unverified1 source· Talk
  • metric
    Google AI Studio: More than 20,000 monthly enterprise customers
    “more than 20,000 monthly enterprise customers using the platform”
    YouTube
    Unverified1 source· Talk
  • launched
    Google AI Studio: General availability
    “Last month at Microsoft Build, Satya announced the general availability of Azure AI Studio”
    YouTube
    Unverified1 source· Talk
  • feature
    Prompt flow: 100% open source and free
    “Prompt flow is 100% open source and free”
    YouTube
    Unverified1 source· Talk
  • feature
    Prompt flow: SDK, CLI, VS Code extension, and tools to build, test, trace, and evaluate AI applications
    “provides an SDK, CLI, VS Code extension, and other developer tools”
    YouTube
    Unverified1 source· Talk
  • integrates with
    “configure your collectors to send traces to your preferred destination, like Azure Monitor”
    YouTube
    Unverified1 source· Talk
  • uses
    “all the instrumentation emitted by Prompt flow consists of OpenTelemetry traces and events”
    YouTube
    Unverified1 source· Talk
Show all 11 facts

Related talks