Loading...

Build Intelligent Apps Code-First with Prompty and Azure AI

Build Intelligent Apps Code-First with Prompty and Azure AI

 

bia-1.png

 

 

Building Generative AI applications can feel daunting for traditional app developers. What does the end-to-end application development cycle look like? What models should I use, and where do I find them? What tools should I be using for build, test, and deploy, my AI application? This blog post gives you a sneak peek at a week-long series of posts that were just published, that give you a hands-on journey through the process. Let’s learn more!

 

Kicking Off Azure AI Week!

This week we published a 5-part blog on the Build Intelligent Apps initiative’s #30DaysOfIA series. Our focus was application developers who wanted to build a custom copilot code-first on Azure AI, allowing them to have more control over various decisions made in the end-to-end workflow for generative AI applications. We did this by walking through two core samples (Contoso Chat and Contoso Creative Writer) from prompt to production. Along the way, we shared insights into key tasks and the developer tools to simplify them.

 

In this blog post, we’ll briefly introduce the two applications and give you an overview of what the series covers, with links to each post for deeper dives. Ready? Let’s Go!

 

 

1. What are we building?

Our first application is Contoso Chat, a customer service chatbot that answers user questions about a retailer’s products,  using the Retrieval Augmented Generation pattern (RAG) to ground responses in both the product catalog and customer purchase history.
 
bia-2.png

 

Our second application is Contoso Creative Writer, a content publishing assistant that uses the Multi-Agent Conversation pattern to coordinate and execute multiple tasks autonomously, on behalf of the user.


bia-3.png

 

 

 

2. How are we building it?

The figure below shows the AI Application Architecture for the Contoso Chat retail copilot. User requests are received through an endpoint hosted in Azure Container Apps, then processed using a RAG-based workflow that uses Azure AI Search (product index) and Azure Cosmos DB (customer database) with Azure OpenAI Services (model deployment) to process user requests and return the response back to the UI.


bia-4.png

 

The next figure shows the AI Application Architecture for the Contoso Creative Writer multi-agent copilot which follows a similar user interaction flow – except that processing now requires coordination across multiple agentic AI tasks before final output is generated.

 

bia-5.png

 

3. What does the developer workflow look like?

We’re glad you asked! If you’ve explored generative AI application development before, you’re probably familiar with this GenAIOps application lifecycle which breaks down the developer workflow into 3 stages: ideation (build and validate a prototype), augmentation (iterate & evaluate with larger input datasets), operationalization (deploy to production).

bia-6.png

 

In this blog series, we map this lifecycle to a very clear developer workflow as shown below, giving you an intuitive sense for the task to perform, and the tool to use to accomplish it, at each stage.


bia-7.png

 

 

Get started reading the posts, in this order:

  1. Kicking Off Azure AI Week – Learn about the app scenarios, architecture & lifecycle.
  2. Provision with AZD – Provision Azure infrastructure & setup your dev environment.
  3. Ideate with Prompty – Build an app prototype using Prompty assets and tooling.
  4. Evaluate with AI – Build custom evaluators and use AI-assisted evaluation flows.
  5. Deploy with ACA – Create a FastAPI server & deploy with Azure Container Apps.

 

 

Here's a visual summary of what you'll learn:

nitya_0-1729379600410.png

 

If you found this series valuable, please star the repos to help others discover them!

 

 

5. Next Steps

Want to get hands-on experience building these copilots? Take these actions today!

  1. Register for Microsoft AI Tour - join an instructor-led workshop session.
  2. Register for Microsoft Ignite - look for related lab & breakout sessions on Azure AI.
  3. Browse the AI Templates Collection - explore samples for more scenarios.

Have a scenario you want to build a custom copilot for? Have questions about Prompty, Azure AI Studio, or the GenAI Ops workflow? Want to provide feedback on the samples? Leave us a comment here and let us know! Happy learning!

 



Published on:

Learn more
Azure Developer Community Blog articles
Azure Developer Community Blog articles

Azure Developer Community Blog articles

Share post:

Related posts

Soccer Analytics Copilot with Azure SQL and OpenAI

The Football (aka Soccer in US 😀) Analisys Copilot provides an intuitive interface for users to interact with complex football data without n...

13 hours ago

End-to-End Full-Stack Web Application with Azure AD B2C Authentication: A Complete Guide

Application Overview The purpose of this sample application is to demonstrate the usage of Azure Active Directory B2C (Azure AD B2C) for authe...

1 day ago

Updates to Azure Cosmos DB’s Portal Networking Settings

We are happy to share with you an update to the Azure Cosmos DB networking configuration options within the Azure Portal. This update introduc...

1 day ago

How To Use Power Automate + Azure OpenAI GPT Models

You can use Power Automate to call Azure OpenAI and return a response from the ... The post How To Use Power Automate + Azure OpenAI GPT Model...

2 days ago

Dataverse: Get Azure Key Vault Secret from Plugin

I have an interesting question about how to get the Azure Key Vault Secret from the plugin. The official documentation about the RetrieveEnvir...

3 days ago

New features for Azure Virtual Desktop for Azure Stack HCI

Today, we’re excited to announce new features and capabilities for Azure Virtual Desktop for Azure Stack HCI that will benefit admins responsi...

4 days ago

Selecting the Optimal Container for Azure AI: Docker, ACI, or AKS?

Deploying Azure AI services in containers like Docker, Azure Container Instances (ACI), or Azure Kubernetes Service (...

5 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy