Skip to content

Commit cb2a475

Browse files
committed
Updated README, Default set to NonWAF, Param for tokenCount
1 parent ad8c639 commit cb2a475

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

documentation/DeploymentGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
148148
3. Provide an `azd` environment name (e.g., "macaeapp").
149149
4. Select a subscription from your Azure account and choose a location that has quota for all the resources.
150150

151-
- This deployment will take _4-6 minutes_ to provision the resources in your account and set up the solution with sample data.
151+
- The default deployment will take _4-6 minutes_ to provision the resources in your account and set up the solution with sample data. The WAF aligned deployment will take between _25-45 minuntes_.
152152
- If you encounter an error or timeout during deployment, changing the location may help, as there could be availability constraints for the resources.
153153

154154
5. Once the deployment has completed successfully, open the [Azure Portal](https://portal.azure.com/), go to the deployed resource group, find the App Service, and get the app URL from `Default domain`.

infra/main.bicep

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata description = 'This module contains the resources required to deploy th
55
@maxLength(19)
66
param solutionPrefix string = 'macae${uniqueString(deployer().objectId, deployer().tenantId, subscription().subscriptionId, resourceGroup().id)}'
77

8+
@description('Capacity of the AI Foundry AI Services resource. The default value is 140.')
9+
param aiFoundryCapacity int
10+
811
@description('Optional. Location for all Resources.')
912
param solutionLocation string = resourceGroup().location
1013

@@ -717,7 +720,8 @@ var aiFoundryAiServicesModelDeployment = {
717720
version: '2024-08-06'
718721
sku: {
719722
name: 'GlobalStandard'
720-
capacity: 50
723+
//Curently the capacity is set to 140 for opinanal performance.
724+
capacity: aiFoundryCapacity
721725
}
722726
raiPolicyName: 'Microsoft.Default'
723727
}

infra/main.bicepparam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ using './main.bicep'
33
param enableTelemetry = true
44
param solutionPrefix = null //Type a string value to customize the prefix for your resource names
55
param solutionLocation = 'australiaeast'
6+
param aiFoundryCapacity= 140
67
param logAnalyticsWorkspaceConfiguration = {
78
dataRetentionInDays: 30
89
}
910
param applicationInsightsConfiguration = {
1011
retentionInDays: 30
1112
}
1213
param virtualNetworkConfiguration = {
13-
enabled: true
14+
enabled: false
1415
}
1516
param aiFoundryStorageAccountConfiguration = {
1617
sku: 'Standard_LRS'

0 commit comments

Comments
 (0)