Skip to content

Commit

Permalink
Address feedback in bicep files
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolip authored and chuwik committed Mar 23, 2023
1 parent 81a5328 commit fc78449
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
26 changes: 0 additions & 26 deletions infra/core/ai/formrecognizer.bicep

This file was deleted.

5 changes: 3 additions & 2 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,12 @@ module openAi 'core/ai/cognitiveservices.bicep' = {
}
}

module formrecognizer 'core/ai/formrecognizer.bicep' = {
module formRecognizer 'core/ai/cognitiveservices.bicep' = {
name: 'formrecognizer'
scope: formRecognizerResourceGroup
params: {
name: !empty(formRecognizerServiceName) ? formRecognizerServiceName : '${abbrs.cognitiveServicesFormRecognizer}${resourceToken}'
kind: 'FormRecognizer'
location: formRecognizerResourceGroupLocation
tags: tags
sku: {
Expand Down Expand Up @@ -308,7 +309,7 @@ output AZURE_OPENAI_RESOURCE_GROUP string = openAiResourceGroup.name
output AZURE_OPENAI_GPT_DEPLOYMENT string = gptDeploymentName
output AZURE_OPENAI_CHATGPT_DEPLOYMENT string = chatGptDeploymentName

output AZURE_FORMRECOGNIZER_SERVICE string = formrecognizer.outputs.name
output AZURE_FORMRECOGNIZER_SERVICE string = formRecognizer.outputs.name
output AZURE_FORMRECOGNIZER_RESOURCE_GROUP string = formRecognizerResourceGroup.name

output AZURE_SEARCH_INDEX string = searchIndexName
Expand Down

0 comments on commit fc78449

Please sign in to comment.