File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff 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
406398output deployedWebUrl string = appServiceWeb .properties .defaultHostName
407399
408- output deployedFunctionUrl string = appServiceFunction .properties .defaultHostName
400+ output deployedFunctionUrl string = appServiceFunction .properties .defaultHostName
You can’t perform that action at this time.
0 commit comments