You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/workshop.md
+21-14Lines changed: 21 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
published: true
3
3
type: workshop
4
4
title: Build serverless intelligent Apps with Azure Functions Flex Consumption and extension for OpenAI
5
-
short_title: Intelligent app with Flex Consumption and Azure OpenAI
5
+
short_title: Build intellignet Apps with Flex Consumption and Azure OpenAI
6
6
description: In this workshop you will learn how to build an intelligent application that summarizes audio files using Azure Functions Flex Consumption and Azure OpenAI
7
7
level: beginner # Required. Can be 'beginner', 'intermediate' or 'advanced'
8
8
navigation_numbering: false
@@ -13,13 +13,13 @@ contacts: # Required. Must match the number of authors
# Build serverless intelligent Apps with Azure Functions Flex Consumption and extension for OpenAI
21
21
22
-
Welcome to this Azure Functions Workshop. You'll be experimenting with the Azure Functions service in multiple labs to achieve a real world scenario. For all of these labs, you will use Functions' new [Flex Consumption plan](https://learn.microsoft.com/azure/azure-functions/flex-consumption-plan), which is now in general availability at Ignite. Don't worry, this is a step by step lab, and you will be guided through the whole process.
22
+
Welcome to this Azure Functions Workshop. You'll be experimenting with the Azure Functions service in multiple labs to achieve a real world scenario. For all of these labs, you will use Functions' new [Flex Consumption plan](https://learn.microsoft.com/azure/azure-functions/flex-consumption-plan), which was released in general availability at Ignite 2024. Don't worry, this is a step by step lab, and you will be guided through the whole process.
23
23
24
24
During this workshop you will have the instructions to complete each steps. The solutions are placed under the 'Toggle solution' panel.
25
25
@@ -80,6 +80,7 @@ In this workshop, by default, you will be provided with instructions and solutio
80
80
<divclass="task"data-title="Task">
81
81
82
82
> - Use the provided Azure subscription details to log into the [Azure Portal][az-portal].
83
+
> - Ensure that you are in the project directory `hands-on-lab-azure-functions-flex-openai`
83
84
> - In your command prompt, log into the provided Azure subscription using Azure CLI.
84
85
> - In your command prompt, log into the provided Azure subscription using Azure Developer CLI.
85
86
@@ -96,7 +97,7 @@ az login -u <username> -p <password>
96
97
# Display your account details
97
98
az account show
98
99
99
-
#Go to the project directory
100
+
#Ensure you are in the project directory
100
101
cd hands-on-lab-azure-functions-flex-openai
101
102
102
103
# Authenticate using azd
@@ -113,18 +114,20 @@ azd auth login
113
114
114
115
In this lab, your function apps are already provisioned in Azure for you. This section will guide you in deploying the project code, the functions, to be hosted on those function apps.
115
116
117
+
Before you do so, you'll need to refresh your azd environment so that your deployments land on the function apps provisioned for you.
118
+
116
119
Refresh your azd environment using the following commands:
117
120
118
121
<divclass="important"data-title="Important">
119
122
120
123
> - The value of the `AZURE_LOCATION` option should be set depending on where your resources are deployed.
121
-
> - If the resources are deployed in East US you should use `eastus`, if they are deployed in East US 2 you should use `eastus2`
124
+
> - If you are performing the lab at MCAPS Tech Connect, they are deployed in East US 2 and you should use `eastus2`
122
125
123
126
</div>
124
127
125
128
```sh
126
-
azd env set AZURE_LOCATION <YOUR-RESOURCE-LOCATION> -e ignite --no-prompt
127
-
azd env refresh -e ignite
129
+
azd env set AZURE_LOCATION eastus2 -e techconnect --no-prompt
130
+
azd env refresh -e techconnect
128
131
```
129
132
130
133
Now you can deploy the project code to the function apps by using the following command:
@@ -151,7 +154,11 @@ azd up
151
154
152
155
## Application deployment with VS Code
153
156
154
-
**Skip this section** if you have deployed the project code using the [Azure Developer CLI (azd)][azd].
157
+
<divclass="important"data-title="Important">
158
+
159
+
> -**Skip this section** if you have deployed the project code using the [Azure Developer CLI (azd)][azd].
160
+
161
+
</div>
155
162
156
163
If you encounter any issues, you can also deploy the functions manually using the [Azure Functions extension for VS Code][vscode-azure-functions-extension] in VS Code:
157
164
@@ -245,7 +252,7 @@ Using RBAC is a security best practice which helps you manage who has access to
245
252
246
253
<divclass="task"data-title="Task">
247
254
248
-
> - Which role is being used by the uploader function to publish telemetry data to Application Insights?
255
+
> - Which role is being used by the uploader function to publish telemetry data to Application Insights?
249
256
250
257
</div>
251
258
@@ -515,17 +522,17 @@ By now you should have a solution that invokes Azure OpenAI to create a summary
515
522
516
523
Congratulations!
517
524
518
-
Well done on completing the lab at Ignite! Your dedication and hard work have truly paid off. Keep up the great work!
525
+
Well done on completing the lab at Tech Connect! Your dedication and hard work have truly paid off. Keep up the great work!
519
526
520
-
Continue on for a bonus lab to integrate your functions with Azure API Management. If not, visit us at the Serverless booth to learn more about the technologies you tried out today:
527
+
Continue on for a bonus lab to integrate your functions with Azure API Management. If not, connect with the product group to learn more about the technologies you tried out today:
521
528
522
529
- Azure Functions Flex Consumption plan
523
530
- Azure Durable Functions
524
531
- Azure OpenAI text completion binding
525
532
- Azure AI Speech to text
526
533
- Azure Functions' triggers and bindings
527
534
528
-

535
+

529
536
530
537
---
531
538
@@ -674,15 +681,15 @@ If you want to see more scenarios regarding APIs and Azure Open AI you can look
674
681
675
682
# Closing the workshop
676
683
677
-
If you are attending an instructor-led session at Ignite, please:
684
+
**If you are attending an instructor-led session at Tech Connect, please:**
678
685
679
686
<divclass="task"data-title="Task">
680
687
681
688
> Visit the Skillable Lab page and click End Session to end the session and release all resources. This allows the lab to be run again without quota issues for others.
682
689
683
690
</div>
684
691
685
-
If you are doing it outside an instructor-led session at Ignite:
692
+
**If you are doing it outside an instructor-led session at Tech Connect:**
686
693
687
694
Once you're done with this lab you can delete the resource group you created at the beginning.
0 commit comments