Skip to content

Commit a57646a

Browse files
committed
Update azuredeploy.bicep
1 parent 5fa45fb commit a57646a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Labs/deploy/azuredeploy.bicep

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,7 @@ resource appServiceWebSettings 'Microsoft.Web/sites/config@2022-03-01' = {
259259
kind: 'string'
260260
properties: {
261261
APPINSIGHTS_INSTRUMENTATIONKEY: appServiceWebInsights.properties.InstrumentationKey
262-
OPENAI__ENDPOINT: openAiAccount.properties.endpoint
263-
OPENAI__KEY: openAiAccount.listKeys().key1
264-
OPENAI__EMBEDDINGSDEPLOYMENT: openAiEmbeddingsModelDeployment.name
265-
OPENAI__COMPLETIONSDEPLOYMENT: openAiCompletionsModelDeployment.name
266-
OPENAI__MAXCONVERSATIONTOKENS: openAiSettings.maxConversationTokens
267-
OPENAI__MAXCOMPLETIONTOKENS: openAiSettings.maxCompletionTokens
268-
MONGODB__DATABASENAME: mongovCoreSettings.mongoDatabaseName
269-
MONGODB__COLLECTIONNAMES: mongovCoreSettings.mongoCollectionNames
270-
MONGODB__MAXVECTORSEARCHRESULTS: '10'
262+
API_ENDPOINT: 'https://${appServiceFunction.properties.defaultHostName}'
271263
}
272264
}
273265

@@ -405,4 +397,4 @@ resource appServiceFunctionsDeployment 'Microsoft.Web/sites/sourcecontrols@2021-
405397

406398
output deployedWebUrl string = appServiceWeb.properties.defaultHostName
407399

408-
output deployedFunctionUrl string = appServiceFunction.properties.defaultHostName
400+
output deployedFunctionUrl string = appServiceFunction.properties.defaultHostName

0 commit comments

Comments
 (0)