File tree 4 files changed +26
-2
lines changed
4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,15 @@ azd env set AZURE_OPENAI_URL $$proxy$$
57
57
58
58
</div >
59
59
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
+
60
69
# ### Deploy Azure Infrastructure
61
70
62
71
Now 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$$
58
58
59
59
</div >
60
60
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
+
61
70
# ### Deploy Azure Infrastructure
62
71
63
72
Now 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'
48
48
param chatModelName string // Set in main.parameters.json
49
49
param chatDeploymentName string = chatModelName
50
50
param chatModelVersion string // Set in main.parameters.json
51
- param chatDeploymentCapacity int = 15
51
+ param chatDeploymentCapacity int = useAzureFree ? 1 : 15
52
52
param embeddingsModelName string // Set in main.parameters.json
53
53
param embeddingsModelVersion string // Set in main.parameters.json
54
54
param embeddingsDeploymentName string = embeddingsModelName
55
- param embeddingsDeploymentCapacity int = 30
55
+ param embeddingsDeploymentCapacity int = useAzureFree ? 1 : 30
56
56
57
57
@description ('Id of the user or app to assign application roles' )
58
58
param principalId string = ''
@@ -63,6 +63,9 @@ param useQdrant bool = false
63
63
@description ('Qdrant port' )
64
64
param qdrantPort int // Set in main.parameters.json
65
65
66
+ @description ('Use Azure Free tier' )
67
+ param useAzureFree bool = false
68
+
66
69
// Differentiates between automated and manual deployments
67
70
param isContinuousDeployment bool = false
68
71
Original file line number Diff line number Diff line change 44
44
"qdrantPort" : {
45
45
"value" : " ${QDRANT_PORT=6333}"
46
46
},
47
+ "useAzureFree" : {
48
+ "value" : " ${AZURE_FREE=false}"
49
+ },
47
50
"isContinuousDeployment" : {
48
51
"value" : " ${CI=false}"
49
52
}
You can’t perform that action at this time.
0 commit comments