Skip to content

Commit

Permalink
Refactoring and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
akshata29 committed Mar 30, 2024
1 parent 92ed244 commit efbc16f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Deployment/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
"minLength": 1,
"defaultValue": "chat16k"
},
"deploymentCapacity": {
"type": "int",
"defaultValue": 20
},
"openAiApiVersion": {
"type": "string",
"minLength": 1,
Expand Down Expand Up @@ -77,17 +81,17 @@
"variables": {
"bingSvcName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'bing')]",
"frSvcName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'fr')]",
"speechSvcName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'speech')]",
"speechSvcName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'spch')]",
"aoaiSvcName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'aoai')]",
"appInsightName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'aisg')]",
"searchSvcName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'azs')]",
"funcStorageName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'funcsa')]",
"funcStorageName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'fsa')]",
"storageName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'stor')]",
"aspName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'asp')]",
"backendName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'app')]",
"funcAppName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'func')]",
"funcAppId": "[resourceId('Microsoft.Web/sites', variables('funcAppName'))]",
"cosmosDbName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'cosmos')]",
"cosmosDbName": "[concat(parameters('prefix'), '-', uniquestring(resourceGroup().id), 'cacc')]",
"cosmosDb": "aoai",
"cosmosContainer": "chatgpt"
},
Expand Down Expand Up @@ -401,7 +405,7 @@
],
"sku": {
"name": "Standard",
"capacity": 50
"capacity": "parameters('deploymentCapacity')"
},
"properties": {
"model": {
Expand All @@ -423,7 +427,7 @@
],
"sku": {
"name": "Standard",
"capacity": 50
"capacity": "parameters('deploymentCapacity')"
},
"properties": {
"model": {
Expand All @@ -444,7 +448,7 @@
],
"sku": {
"name": "Standard",
"capacity": 50
"capacity": "parameters('deploymentCapacity')"
},
"properties": {
"model": {
Expand Down

0 comments on commit efbc16f

Please sign in to comment.