课程: Building in Azure AI Foundry
Deploy your AI application
- [Instructor] Let's look at how to deploy your AI application in Azure AI Foundry. Here's the Azure AI Foundry portal. After building my AI chat bot in the playground, I will click deploy in the menu. I will deploy it as a web app. Enter a web app name. For example, webapp-california-tours. Choose my Azure demo subscription and the resource group. Select the location. East US. Select a pricing plan. For the demo, I will choose the basic B1 plan. For the demo, I don't need to enable chat history in the web app. Click deploy. It shows a message. Deploying the web app takes a few minutes. Because the web app uses Microsoft Entra ID as the identity provider by default, it may take a while to activate the authentication. In the menu, click web apps. I can view the app deployment status. After the deployment is succeeded, let's click the web app link. Accept the requested permissions. I can see a demo website with my chat bot enabled. Let's enter a question in the chat. Tell me about Santa Monica Pier. It provides information on the location. I can click share to share the web app. You may notice that the default site logo and the name are for Contoso, which is a demo company often used by Microsoft. How can you change them? Customizing the default web app is outside of the scope of this course. Here, I will just show you the high level approach. Basically, you can go to your Azure portal. Here's the web app we just created on the Azure portal. On the overview page, you can see that it uses an external repository project on GitHub. Click the project link. And this is a project on GitHub. You can clone this GitHub project, make some changes, and use your version to deploy the web app. Go back to the playground in Azure AI foundry. You can also click export to save your work items to a JSON file. Then click export. Later, I can click import. Click import a JSON file. Then upload my chat setup file. Click load file. It will restore my work items to the playground.
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。