Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ There are several ways to deploy the solution. You can deploy to run in Azure i

<h2><img src="./documentation/images/readme/oneClickDeploy.png" width="64"></h2>

[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fmicrosoft%2FMulti-Agent-Custom-Automation-Engine-Solution-Accelerator%2Frefs%2Fheads%2Fmain%2Fdeploy%2Fmacae-continer-oc.json)
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fmicrosoft%2FMulti-Agent-Custom-Automation-Engine-Solution-Accelerator%2Frefs%2Fheads%2Fmain%2Fdeploy%2Fmacae-container-oc.json)

When Deployment is complete, follow steps in [Set Up Authentication in Azure App Service](./documentation/azure_app_service_auth_setup.md) to add app authentication to your web app running on Azure App Service

Expand Down
File renamed without changes.
File renamed without changes.
25 changes: 24 additions & 1 deletion deploy/macae-dev.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,29 @@ resource devAoaiRoleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-
}
}

resource logAnalytics 'Microsoft.OperationalInsights/workspaces@2023-09-01' = {
name: format(uniqueNameFormat, 'logs')
location: location
tags: tags
properties: {
retentionInDays: 30
sku: {
name: 'PerGB2018'
}
}
}

resource appInsights 'Microsoft.Insights/components@2020-02-02-preview' = {
name: format(uniqueNameFormat, 'appins')
location: location
kind: 'web'
properties: {
Application_Type: 'web'
WorkspaceResourceId: logAnalytics.id
}
}


resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2024-05-15' = {
name: format(uniqueNameFormat, 'cosmos')
location: cosmosLocation
Expand Down Expand Up @@ -130,4 +153,4 @@ output COSMOSDB_CONTAINER string = cosmos::autogenDb::memoryContainer.name
output AZURE_OPENAI_ENDPOINT string = openai.properties.endpoint
output AZURE_OPENAI_DEPLOYMENT_NAME string = openai::gpt4o.name
output AZURE_OPENAI_API_VERSION string = aoaiApiVersion

output APPLICATIONINSIGHTS_INSTRUMENTATION_KEY string = appInsights.properties.ConnectionString
1 change: 1 addition & 0 deletions src/backend/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4o
AZURE_OPENAI_API_VERSION=2024-08-01-preview
APPLICATIONINSIGHTS_INSTRUMENTATION_KEY=
AZURE_OPENAI_API_KEY=

BACKEND_API_URL='http://localhost:8000'
FRONTEND_SITE_NAME='http://127.0.0.1:3000'
Loading