|
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | 7 | "version": "0.36.1.42791", |
8 | | - "templateHash": "2363441728169448979" |
| 8 | + "templateHash": "13054052551237865749" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
|
629 | 629 | "_generator": { |
630 | 630 | "name": "bicep", |
631 | 631 | "version": "0.36.1.42791", |
632 | | - "templateHash": "18372336587051722949" |
| 632 | + "templateHash": "1417417976966483720" |
633 | 633 | } |
634 | 634 | }, |
635 | 635 | "parameters": { |
|
1325 | 1325 | { |
1326 | 1326 | "type": "Microsoft.KeyVault/vaults/secrets", |
1327 | 1327 | "apiVersion": "2021-11-01-preview", |
1328 | | - "name": "[format('{0}/{1}', parameters('keyVaultName'), 'AZURE-OPEN-AI-DEPLOYMENT-MODEL')]", |
| 1328 | + "name": "[format('{0}/{1}', parameters('keyVaultName'), 'AZURE-OPENAI-DEPLOYMENT-MODEL')]", |
1329 | 1329 | "properties": { |
1330 | 1330 | "value": "[parameters('gptModelName')]" |
1331 | 1331 | } |
|
2493 | 2493 | }, |
2494 | 2494 | "appSettings": { |
2495 | 2495 | "value": { |
2496 | | - "AZURE_OPEN_AI_DEPLOYMENT_MODEL": "[parameters('gptModelName')]", |
2497 | | - "AZURE_OPEN_AI_ENDPOINT": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiServicesTarget.value]", |
| 2496 | + "AZURE_OPENAI_DEPLOYMENT_MODEL": "[parameters('gptModelName')]", |
| 2497 | + "AZURE_OPENAI_ENDPOINT": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiServicesTarget.value]", |
2498 | 2498 | "AZURE_OPENAI_API_VERSION": "[parameters('azureOpenAIApiVersion')]", |
2499 | 2499 | "AZURE_OPENAI_RESOURCE": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiServicesName.value]", |
2500 | 2500 | "AZURE_AI_AGENT_ENDPOINT": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.projectEndpoint.value]", |
|
2508 | 2508 | "SQLDB_SERVER": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_sql_db'), '2022-09-01').outputs.sqlServerName.value]", |
2509 | 2509 | "SQLDB_USERNAME": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_sql_db'), '2022-09-01').outputs.sqlDbUser.value]", |
2510 | 2510 | "SQLDB_USER_MID": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_managed_identity'), '2022-09-01').outputs.managedIdentityBackendAppOutput.value.clientId]", |
2511 | | - "OPENAI_API_VERSION": "[parameters('azureOpenAIApiVersion')]", |
2512 | 2511 | "AZURE_AI_SEARCH_ENDPOINT": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiSearchTarget.value]", |
2513 | 2512 | "AZURE_AI_SEARCH_API_KEY": "[format('@Microsoft.KeyVault(SecretUri={0}secrets/AZURE-SEARCH-KEY/)', reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_keyvault'), '2022-09-01').outputs.keyvaultUri.value)]", |
2514 | 2513 | "AZURE_AI_SEARCH_INDEX": "call_transcripts_index", |
|
3217 | 3216 | "type": "string", |
3218 | 3217 | "value": "True" |
3219 | 3218 | }, |
3220 | | - "AZURE_OPEN_AI_DEPLOYMENT_MODEL": { |
| 3219 | + "AZURE_OPENAI_DEPLOYMENT_MODEL": { |
3221 | 3220 | "type": "string", |
3222 | 3221 | "value": "[parameters('gptModelName')]" |
3223 | 3222 | }, |
3224 | | - "AZURE_OPEN_AI_DEPLOYMENT_MODEL_CAPACITY": { |
| 3223 | + "AZURE_OPENAI_DEPLOYMENT_MODEL_CAPACITY": { |
3225 | 3224 | "type": "int", |
3226 | 3225 | "value": "[parameters('gptDeploymentCapacity')]" |
3227 | 3226 | }, |
3228 | | - "AZURE_OPEN_AI_ENDPOINT": { |
| 3227 | + "AZURE_OPENAI_ENDPOINT": { |
3229 | 3228 | "type": "string", |
3230 | 3229 | "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiServicesTarget.value]" |
3231 | 3230 | }, |
3232 | | - "AZURE_OPEN_AI_MODEL_DEPLOYMENT_TYPE": { |
| 3231 | + "AZURE_OPENAI_MODEL_DEPLOYMENT_TYPE": { |
3233 | 3232 | "type": "string", |
3234 | 3233 | "value": "[parameters('deploymentType')]" |
3235 | 3234 | }, |
|
3249 | 3248 | "type": "string", |
3250 | 3249 | "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiServicesName.value]" |
3251 | 3250 | }, |
3252 | | - "OPENAI_API_VERSION": { |
3253 | | - "type": "string", |
3254 | | - "value": "[parameters('azureOpenAIApiVersion')]" |
3255 | | - }, |
3256 | 3251 | "REACT_APP_LAYOUT_CONFIG": { |
3257 | 3252 | "type": "string", |
3258 | 3253 | "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_backend_docker'), '2022-09-01').outputs.reactAppLayoutConfig.value]" |
|
0 commit comments