You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix fatal issues with Azure deployment templates (microsoft#513)
### Motivation and Context
Current Azure ARM template is not functional
### Description
- Remove embedding storage methods no longer support (Volatile and
PostGres)
- Merge the 3 app insights into 1
- Have a single switch for whether to deploy binary packages
- Remove obsolete MemoryStore app settings
- Add Qdrant settings to SemanticMemory:Services
- Add memory pipeline service to Qdrant vnet
### Contribution Checklist
- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
# Don't deploy Cosmos DB for chat storage - Use volatile memory instead
72
68
$NoCosmosDb,
@@ -80,26 +76,25 @@ param(
80
76
$DebugDeployment,
81
77
82
78
[switch]
83
-
#Switches on whether to deploy release packages
79
+
#Skip deployment of binary packages
84
80
$NoDeployPackage
85
81
)
86
82
87
83
# if AIService is AzureOpenAI
88
84
if ($AIService-eq"AzureOpenAI") {
89
85
# Both $AIEndpoint and $AIApiKey must be set
90
86
if ((!$AIEndpoint-and$AIApiKey) -or ($AIEndpoint-and!$AIApiKey)) {
91
-
Write-Error"When AIService is AzureOpenAI, when either AIEndpoint and AIApiKey are set then both must be set."
87
+
Write-Error"When AIService is AzureOpenAI, both AIEndpoint and AIApiKey must be set."
92
88
exit1
93
89
}
94
90
95
91
# If both $AIEndpoint and $AIApiKey are not set, set $DeployAzureOpenAI to true and inform the user. Otherwise set $DeployAzureOpenAI to false and inform the user.
96
92
if (!$AIEndpoint-and!$AIApiKey) {
97
93
$DeployAzureOpenAI=$true
98
-
Write-Host"When AIService is AzureOpenAI and both AIEndpoint and AIApiKey are not set then a new Azure OpenAI resource will be created."
94
+
Write-Host"When AIService is AzureOpenAI and both AIEndpoint and AIApiKey are not set, then a new Azure OpenAI resource will be created."
99
95
}
100
96
else {
101
97
$DeployAzureOpenAI=$false
102
-
Write-Host"When AIService is AzureOpenAI and both AIEndpoint and AIApiKey are set, use the existing Azure OpenAI resource."
0 commit comments