File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,15 @@ azd env set AZURE_OPENAI_URL $$proxy$$
5757
5858</div >
5959
60+ <div class =" important " data-title =" Important " >
61+
62+ > If you're using an Azure for Students or Free Trial account that you just created, you need to run the following command:
63+ > ``` sh
64+ > azd env set USE_AZURE_FREE true
65+ > ` ` `
66+
67+ < /div>
68+
6069# ### Deploy Azure Infrastructure
6170
6271Now it' s time to deploy the Azure infrastructure for the workshop. Execute the following command:
Original file line number Diff line number Diff line change @@ -58,6 +58,15 @@ azd env set AZURE_OPENAI_URL $$proxy$$
5858
5959</div >
6060
61+ <div class =" important " data-title =" Important " >
62+
63+ > If you're using an Azure for Students or Free Trial account that you just created, you need to run the following command:
64+ > ``` sh
65+ > azd env set USE_AZURE_FREE true
66+ > ` ` `
67+
68+ < /div>
69+
6170# ### Deploy Azure Infrastructure
6271
6372Now it' s time to deploy the Azure infrastructure for the workshop. Execute the following command:
Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ param frontendLocation string = 'eastus2'
4848param chatModelName string // Set in main.parameters.json
4949param chatDeploymentName string = chatModelName
5050param chatModelVersion string // Set in main.parameters.json
51- param chatDeploymentCapacity int = 15
51+ param chatDeploymentCapacity int = useAzureFree ? 1 : 15
5252param embeddingsModelName string // Set in main.parameters.json
5353param embeddingsModelVersion string // Set in main.parameters.json
5454param embeddingsDeploymentName string = embeddingsModelName
55- param embeddingsDeploymentCapacity int = 30
55+ param embeddingsDeploymentCapacity int = useAzureFree ? 1 : 30
5656
5757@description ('Id of the user or app to assign application roles' )
5858param principalId string = ''
@@ -63,6 +63,9 @@ param useQdrant bool = false
6363@description ('Qdrant port' )
6464param qdrantPort int // Set in main.parameters.json
6565
66+ @description ('Use Azure Free tier' )
67+ param useAzureFree bool = false
68+
6669// Differentiates between automated and manual deployments
6770param isContinuousDeployment bool = false
6871
Original file line number Diff line number Diff line change 4444 "qdrantPort" : {
4545 "value" : " ${QDRANT_PORT=6333}"
4646 },
47+ "useAzureFree" : {
48+ "value" : " ${AZURE_FREE=false}"
49+ },
4750 "isContinuousDeployment" : {
4851 "value" : " ${CI=false}"
4952 }
You can’t perform that action at this time.
0 commit comments