@@ -25,17 +25,17 @@ param secondaryLocation string
2525 'Standard'
2626 'GlobalStandard'
2727])
28- param deploymentType string = 'GlobalStandard '
28+ param deploymentType string = 'Standard '
2929
3030@minLength (1 )
3131@description ('Name of the GPT model to deploy:' )
3232@allowed ([
3333 'gpt-4o'
3434 'gpt-4'
3535])
36- param gptModelName string = 'gpt-4o '
36+ param gptModelName string = 'gpt-4 '
3737
38- param gptModelVersion string = '2024-05-01-preview'
38+ param azureOpenAIAPIVersion string = '2024-05-01-preview'
3939
4040@minValue (10 )
4141@description ('Capacity of the GPT deployment:' )
@@ -62,7 +62,7 @@ var solutionPrefix = 'dg${padLeft(take(uniqueId, 12), 12, '0')}'
6262var resourceGroupLocation = resourceGroup ().location
6363
6464var solutionLocation = resourceGroupLocation
65- var baseUrl = 'https://raw.githubusercontent.com/microsoft/Generic-Build-your-own-copilot-Solution-Accelerator/dcgn_template /'
65+ var baseUrl = 'https://raw.githubusercontent.com/microsoft/Generic-Build-your-own-copilot-Solution-Accelerator/dev /'
6666
6767var ApplicationInsightsName = 'appins-${solutionPrefix }'
6868var WorkspaceName = 'worksp-${solutionPrefix }'
@@ -97,7 +97,7 @@ module aifoundry 'deploy_ai_foundry.bicep' = {
9797 keyVaultName : kvault .outputs .keyvaultName
9898 deploymentType : deploymentType
9999 gptModelName : gptModelName
100- gptModelVersion : gptModelVersion
100+ gptModelVersion : azureOpenAIAPIVersion
101101 gptDeploymentCapacity : gptDeploymentCapacity
102102 embeddingModel : embeddingModel
103103 embeddingDeploymentCapacity : embeddingDeploymentCapacity
@@ -377,7 +377,7 @@ module appserviceModule 'deploy_app_service.bicep' = {
377377 AzureOpenAIEndpoint :aifoundry .outputs .aiServicesTarget
378378 AzureOpenAIModel : gptModelName //'gpt-4o-mini'
379379 AzureOpenAIKey :keyVault .getSecret ('AZURE-OPENAI-KEY' )
380- azureOpenAIApiVersion : gptModelVersion //'2024-02-15-preview'
380+ azureOpenAIApiVersion : azureOpenAIAPIVersion //'2024-02-15-preview'
381381 AZURE_OPENAI_RESOURCE :aifoundry .outputs .aiServicesName
382382 USE_CHAT_HISTORY_ENABLED :'True'
383383 AZURE_COSMOSDB_ACCOUNT : cosmosDBModule .outputs .cosmosAccountName
0 commit comments