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

Azure Database for PostgreSQL Flexible Server - Elastic Clusters, faster disks, and AI updates

Increase scalability, optimize performance, and integrate advanced AI features with Azure Database for PostgreSQL Flexible Server. Scale up wi...

2 days ago

Introducing the new Linux-based Azure Cosmos DB Emulator (Preview)

We are excited to announce the preview release of the new Linux-based Azure Cosmos DB Emulator! This latest version is built to provide faster...

4 days ago

Azure Cosmos DB Shines at Microsoft Ignite 2024!

Microsoft Ignite 2024 took over the Windy City this week, bringing with it new technological innovation and exciting product announcements apl...

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