Skip to content

Commit 62c0c5d

Browse files
fix: Removed the Content understanding from hub connection
1 parent d92d2ce commit 62c0c5d

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed

azure.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,12 @@ hooks:
1515
windows:
1616
shell: pwsh
1717
run: $timestamp = Get-Date -Format "yyyyMMdd-HHmmss"; $logFile = "azd_preprovision_$timestamp.log"; ./infra/scripts/docker-build.ps1 $env:AZURE_SUBSCRIPTION_ID $env:AZURE_ENV_NAME $env:AZURE_LOCATION $env:AZURE_RESOURCE_GROUP $env:USE_LOCAL_BUILD *>&1 | Tee-Object -FilePath $logFile
18+
postprovision:
19+
posix:
20+
shell: sh
21+
run: sed -i 's/\r$//' ./infra/scripts/post_deployment.sh; ./infra/scripts/post_deployment.sh
22+
interactive: true
23+
windows:
24+
shell: pwsh
25+
run: ./infra/scripts/post_deployment.ps1
26+
interactive: true

infra/deploy_ai_foundry.bicep

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -213,23 +213,6 @@ resource aiHub 'Microsoft.MachineLearningServices/workspaces@2023-08-01-preview'
213213
aiServicesDeployments
214214
]
215215
}
216-
217-
resource aiServiceContentUnderstandingConnection 'connections@2024-07-01-preview' = {
218-
name: '${aiHubName}-cu-connection-AzureOpenAI'
219-
properties: {
220-
category: 'AIServices'
221-
target: aiServices_CU.properties.endpoint
222-
authType: 'AAD'
223-
isSharedToAll: true
224-
metadata: {
225-
ApiType: 'Azure'
226-
ResourceId: aiServices_CU.id
227-
}
228-
}
229-
dependsOn: [
230-
aiServicesDeployments
231-
]
232-
}
233216
}
234217

235218
resource aiHubProject 'Microsoft.MachineLearningServices/workspaces@2024-01-01-preview' = {

0 commit comments

Comments
 (0)