@@ -18,6 +18,8 @@ param enableTelemetry bool = true
1818
1919param existingLogAnalyticsWorkspaceId string = ''
2020
21+ param azureopenaiVersion string = '2025-01-01-preview'
22+
2123// Restricting deployment to only supported Azure OpenAI regions validated with GPT-4o model
2224@metadata ({
2325 azd : {
@@ -1000,7 +1002,7 @@ module containerApp 'br/public:avm/res/app/container-app:0.14.2' = if (container
10001002 }
10011003 {
10021004 name : 'AZURE_OPENAI_API_VERSION'
1003- value : '2025-01-01-preview' //TODO: set parameter/variable
1005+ value : azureopenaiVersion
10041006 }
10051007 {
10061008 name : 'APPLICATIONINSIGHTS_INSTRUMENTATION_KEY'
@@ -1718,3 +1720,21 @@ type webSiteConfigurationType = {
17181720 @description ('Optional. The tag of the container image to be used by the Web Site.' )
17191721 containerImageTag : string ?
17201722}
1723+
1724+
1725+ output COSMOSDB_ENDPOINT string = 'https://${cosmosDbResourceName }.documents.azure.com:443/'
1726+ output COSMOSDB_DATABASE string = cosmosDbDatabaseName
1727+ output COSMOSDB_CONTAINER string = cosmosDbDatabaseMemoryContainerName
1728+ output AZURE_OPENAI_ENDPOINT string = 'https://${aiFoundryAiServicesResourceName }.openai.azure.com/'
1729+ output AZURE_OPENAI_MODEL_NAME string = aiFoundryAiServicesModelDeployment .name
1730+ output AZURE_OPENAI_DEPLOYMENT_NAME string = aiFoundryAiServicesModelDeployment .name
1731+ output AZURE_OPENAI_API_VERSION string = azureopenaiVersion
1732+ // output APPLICATIONINSIGHTS_INSTRUMENTATION_KEY string = applicationInsights.outputs.instrumentationKey
1733+ // output AZURE_AI_PROJECT_ENDPOINT string = aiFoundryAiServices.outputs.aiProjectInfo.apiEndpoint
1734+ output AZURE_AI_SUBSCRIPTION_ID string = subscription ().subscriptionId
1735+ output AZURE_AI_RESOURCE_GROUP string = resourceGroup ().name
1736+ output AZURE_AI_PROJECT_NAME string = aiFoundryAiProjectName
1737+ output AZURE_AI_MODEL_DEPLOYMENT_NAME string = aiFoundryAiServicesModelDeployment .name
1738+ // output APPLICATIONINSIGHTS_CONNECTION_STRING string = applicationInsights.outputs.connectionString
1739+ output AZURE_AI_AGENT_MODEL_DEPLOYMENT_NAME string = aiFoundryAiServicesModelDeployment .name
1740+ output AZURE_AI_AGENT_ENDPOINT string = aiFoundryAiServices .outputs .aiProjectInfo .apiEndpoint
0 commit comments