microsoft/TypeAgent
Publicmirrored from https://github.com/microsoft/TypeAgentAvailable
azure/template.json
1521lines · modecode
| 1 | { |
| 2 | "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", |
| 3 | "contentVersion": "1.0.0.0", |
| 4 | "parameters": { |
| 5 | "accounts_agentmaps_name": { |
| 6 | "defaultValue": "typeagentmaps", |
| 7 | "type": "String" |
| 8 | }, |
| 9 | "databaseAccounts_typeagentlogdb_name": { |
| 10 | "defaultValue": "typeagentlogdb", |
| 11 | "type": "String" |
| 12 | }, |
| 13 | "typeagent_speech": { |
| 14 | "defaultValue": "typeagent_speech", |
| 15 | "type": "String" |
| 16 | }, |
| 17 | "openai_eastus_name": { |
| 18 | "defaultValue": "typeagent-openai-eastus", |
| 19 | "type": "String" |
| 20 | }, |
| 21 | "storageAccounts_demopersistence_name": { |
| 22 | "defaultValue": "demopersistence", |
| 23 | "type": "String" |
| 24 | }, |
| 25 | "search_name": { |
| 26 | "defaultValue": "typeagent_search", |
| 27 | "type": "String" |
| 28 | }, |
| 29 | "vaults_aisystems_name": { |
| 30 | "defaultValue": "aisystems", |
| 31 | "type": "String" |
| 32 | } |
| 33 | }, |
| 34 | "variables": {}, |
| 35 | "resources": [ |
| 36 | { |
| 37 | "type": "Microsoft.Maps/accounts", |
| 38 | "apiVersion": "2024-07-01-preview", |
| 39 | "name": "[parameters('accounts_agentmaps_name')]", |
| 40 | "location": "eastus", |
| 41 | "sku": { |
| 42 | "name": "G2", |
| 43 | "tier": "Standard" |
| 44 | }, |
| 45 | "kind": "Gen2", |
| 46 | "identity": { |
| 47 | "type": "SystemAssigned" |
| 48 | }, |
| 49 | "properties": { |
| 50 | "disableLocalAuth": true, |
| 51 | "cors": { |
| 52 | "corsRules": [ |
| 53 | { |
| 54 | "allowedOrigins": [] |
| 55 | } |
| 56 | ] |
| 57 | }, |
| 58 | "locations": [] |
| 59 | } |
| 60 | }, |
| 61 | { |
| 62 | "type": "Microsoft.DocumentDB/databaseAccounts", |
| 63 | "apiVersion": "2024-12-01-preview", |
| 64 | "name": "[parameters('databaseAccounts_typeagentlogdb_name')]", |
| 65 | "location": "West US", |
| 66 | "tags": { |
| 67 | "defaultExperience": "Azure Cosmos DB for MongoDB API", |
| 68 | "hidden-cosmos-mmspecial": "" |
| 69 | }, |
| 70 | "kind": "MongoDB", |
| 71 | "identity": { |
| 72 | "type": "None" |
| 73 | }, |
| 74 | "properties": { |
| 75 | "publicNetworkAccess": "Enabled", |
| 76 | "enableAutomaticFailover": false, |
| 77 | "enableMultipleWriteLocations": false, |
| 78 | "isVirtualNetworkFilterEnabled": false, |
| 79 | "virtualNetworkRules": [], |
| 80 | "disableKeyBasedMetadataWriteAccess": false, |
| 81 | "enableFreeTier": false, |
| 82 | "enableAnalyticalStorage": false, |
| 83 | "analyticalStorageConfiguration": { |
| 84 | "schemaType": "FullFidelity" |
| 85 | }, |
| 86 | "databaseAccountOfferType": "Standard", |
| 87 | "capacityMode": "Provisioned", |
| 88 | "defaultIdentity": "FirstPartyIdentity", |
| 89 | "networkAclBypass": "None", |
| 90 | "disableLocalAuth": false, |
| 91 | "enablePartitionMerge": false, |
| 92 | "enablePerRegionPerPartitionAutoscale": false, |
| 93 | "enableBurstCapacity": false, |
| 94 | "enablePriorityBasedExecution": true, |
| 95 | "defaultPriorityLevel": "High", |
| 96 | "minimalTlsVersion": "Tls12", |
| 97 | "consistencyPolicy": { |
| 98 | "defaultConsistencyLevel": "Session", |
| 99 | "maxIntervalInSeconds": 5, |
| 100 | "maxStalenessPrefix": 100 |
| 101 | }, |
| 102 | "apiProperties": { |
| 103 | "serverVersion": "7.0" |
| 104 | }, |
| 105 | "locations": [ |
| 106 | { |
| 107 | "locationName": "West US", |
| 108 | "failoverPriority": 0, |
| 109 | "isZoneRedundant": false |
| 110 | } |
| 111 | ], |
| 112 | "cors": [], |
| 113 | "capabilities": [ |
| 114 | { |
| 115 | "name": "EnableMongo" |
| 116 | } |
| 117 | ], |
| 118 | "ipRules": [], |
| 119 | "backupPolicy": { |
| 120 | "type": "Periodic", |
| 121 | "periodicModeProperties": { |
| 122 | "backupIntervalInMinutes": 240, |
| 123 | "backupRetentionIntervalInHours": 8, |
| 124 | "backupStorageRedundancy": "Geo" |
| 125 | } |
| 126 | }, |
| 127 | "networkAclBypassResourceIds": [], |
| 128 | "diagnosticLogSettings": { |
| 129 | "enableFullTextQuery": "None" |
| 130 | } |
| 131 | } |
| 132 | }, |
| 133 | { |
| 134 | "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases", |
| 135 | "apiVersion": "2024-12-01-preview", |
| 136 | "name": "[concat(parameters('databaseAccounts_typeagentlogdb_name'), '/telemetrydb')]", |
| 137 | "dependsOn": [ |
| 138 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 139 | ], |
| 140 | "properties": { |
| 141 | "resource": { |
| 142 | "id": "telemetrydb" |
| 143 | } |
| 144 | } |
| 145 | }, |
| 146 | { |
| 147 | "type": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions", |
| 148 | "apiVersion": "2024-12-01-preview", |
| 149 | "name": "[concat(parameters('databaseAccounts_typeagentlogdb_name'), '/00000000-0000-0000-0000-000000000001')]", |
| 150 | "dependsOn": [ |
| 151 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 152 | ], |
| 153 | "properties": { |
| 154 | "roleName": "Cosmos DB Built-in Data Reader", |
| 155 | "type": "BuiltInRole", |
| 156 | "assignableScopes": [ |
| 157 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 158 | ], |
| 159 | "permissions": [ |
| 160 | { |
| 161 | "dataActions": [ |
| 162 | "Microsoft.DocumentDB/databaseAccounts/readMetadata", |
| 163 | "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/executeQuery", |
| 164 | "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/readChangeFeed", |
| 165 | "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read" |
| 166 | ], |
| 167 | "notDataActions": [] |
| 168 | } |
| 169 | ] |
| 170 | } |
| 171 | }, |
| 172 | { |
| 173 | "type": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions", |
| 174 | "apiVersion": "2024-12-01-preview", |
| 175 | "name": "[concat(parameters('databaseAccounts_typeagentlogdb_name'), '/00000000-0000-0000-0000-000000000002')]", |
| 176 | "dependsOn": [ |
| 177 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 178 | ], |
| 179 | "properties": { |
| 180 | "roleName": "Cosmos DB Built-in Data Contributor", |
| 181 | "type": "BuiltInRole", |
| 182 | "assignableScopes": [ |
| 183 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 184 | ], |
| 185 | "permissions": [ |
| 186 | { |
| 187 | "dataActions": [ |
| 188 | "Microsoft.DocumentDB/databaseAccounts/readMetadata", |
| 189 | "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/*", |
| 190 | "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/*" |
| 191 | ], |
| 192 | "notDataActions": [] |
| 193 | } |
| 194 | ] |
| 195 | } |
| 196 | }, |
| 197 | { |
| 198 | "type": "Microsoft.DocumentDB/databaseAccounts/tableRoleDefinitions", |
| 199 | "apiVersion": "2024-12-01-preview", |
| 200 | "name": "[concat(parameters('databaseAccounts_typeagentlogdb_name'), '/00000000-0000-0000-0000-000000000001')]", |
| 201 | "dependsOn": [ |
| 202 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 203 | ], |
| 204 | "properties": { |
| 205 | "roleName": "Cosmos DB Built-in Data Reader", |
| 206 | "type": "BuiltInRole", |
| 207 | "assignableScopes": [ |
| 208 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 209 | ], |
| 210 | "permissions": [ |
| 211 | { |
| 212 | "dataActions": [ |
| 213 | "Microsoft.DocumentDB/databaseAccounts/readMetadata", |
| 214 | "Microsoft.DocumentDB/databaseAccounts/tables/containers/executeQuery", |
| 215 | "Microsoft.DocumentDB/databaseAccounts/tables/containers/readChangeFeed", |
| 216 | "Microsoft.DocumentDB/databaseAccounts/tables/containers/entities/read" |
| 217 | ], |
| 218 | "notDataActions": [] |
| 219 | } |
| 220 | ] |
| 221 | } |
| 222 | }, |
| 223 | { |
| 224 | "type": "Microsoft.DocumentDB/databaseAccounts/tableRoleDefinitions", |
| 225 | "apiVersion": "2024-12-01-preview", |
| 226 | "name": "[concat(parameters('databaseAccounts_typeagentlogdb_name'), '/00000000-0000-0000-0000-000000000002')]", |
| 227 | "dependsOn": [ |
| 228 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 229 | ], |
| 230 | "properties": { |
| 231 | "roleName": "Cosmos DB Built-in Data Contributor", |
| 232 | "type": "BuiltInRole", |
| 233 | "assignableScopes": [ |
| 234 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 235 | ], |
| 236 | "permissions": [ |
| 237 | { |
| 238 | "dataActions": [ |
| 239 | "Microsoft.DocumentDB/databaseAccounts/readMetadata", |
| 240 | "Microsoft.DocumentDB/databaseAccounts/tables/*", |
| 241 | "Microsoft.DocumentDB/databaseAccounts/tables/containers/*", |
| 242 | "Microsoft.DocumentDB/databaseAccounts/tables/containers/entities/*" |
| 243 | ], |
| 244 | "notDataActions": [] |
| 245 | } |
| 246 | ] |
| 247 | } |
| 248 | }, |
| 249 | { |
| 250 | "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections", |
| 251 | "apiVersion": "2024-12-01-preview", |
| 252 | "name": "[concat(parameters('databaseAccounts_typeagentlogdb_name'), '/telemetrydb/dispatcherlogs')]", |
| 253 | "dependsOn": [ |
| 254 | "[resourceId('Microsoft.DocumentDB/databaseAccounts/mongodbDatabases', parameters('databaseAccounts_typeagentlogdb_name'), 'telemetrydb')]", |
| 255 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 256 | ], |
| 257 | "properties": { |
| 258 | "resource": { |
| 259 | "id": "dispatcherlogs", |
| 260 | "indexes": [ |
| 261 | { |
| 262 | "key": { |
| 263 | "keys": [ |
| 264 | "_id" |
| 265 | ] |
| 266 | } |
| 267 | }, |
| 268 | { |
| 269 | "key": { |
| 270 | "keys": [ |
| 271 | "timestamp" |
| 272 | ] |
| 273 | } |
| 274 | }, |
| 275 | { |
| 276 | "key": { |
| 277 | "keys": [ |
| 278 | "event.userId" |
| 279 | ] |
| 280 | } |
| 281 | } |
| 282 | ] |
| 283 | } |
| 284 | } |
| 285 | }, |
| 286 | { |
| 287 | "type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings", |
| 288 | "apiVersion": "2024-12-01-preview", |
| 289 | "name": "[concat(parameters('databaseAccounts_typeagentlogdb_name'), '/telemetrydb/dispatcherlogs/default')]", |
| 290 | "dependsOn": [ |
| 291 | "[resourceId('Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections', parameters('databaseAccounts_typeagentlogdb_name'), 'telemetrydb', 'dispatcherlogs')]", |
| 292 | "[resourceId('Microsoft.DocumentDB/databaseAccounts/mongodbDatabases', parameters('databaseAccounts_typeagentlogdb_name'), 'telemetrydb')]", |
| 293 | "[resourceId('Microsoft.DocumentDB/databaseAccounts', parameters('databaseAccounts_typeagentlogdb_name'))]" |
| 294 | ], |
| 295 | "properties": { |
| 296 | "resource": { |
| 297 | "throughput": 3200 |
| 298 | } |
| 299 | } |
| 300 | }, |
| 301 | { |
| 302 | "type": "Microsoft.CognitiveServices/accounts", |
| 303 | "apiVersion": "2024-10-01", |
| 304 | "name": "[parameters('typeagent_speech')]", |
| 305 | "location": "westus", |
| 306 | "tags": { |
| 307 | }, |
| 308 | "sku": { |
| 309 | "name": "S0" |
| 310 | }, |
| 311 | "kind": "SpeechServices", |
| 312 | "identity": { |
| 313 | "type": "None" |
| 314 | }, |
| 315 | "properties": { |
| 316 | "customSubDomainName": "typeagent", |
| 317 | "networkAcls": { |
| 318 | "defaultAction": "Allow", |
| 319 | "virtualNetworkRules": [], |
| 320 | "ipRules": [] |
| 321 | }, |
| 322 | "publicNetworkAccess": "Enabled", |
| 323 | "disableLocalAuth": true |
| 324 | } |
| 325 | }, |
| 326 | { |
| 327 | "type": "Microsoft.CognitiveServices/accounts", |
| 328 | "apiVersion": "2024-10-01", |
| 329 | "name": "[parameters('openai_eastus_name')]", |
| 330 | "location": "eastus", |
| 331 | "sku": { |
| 332 | "name": "S0" |
| 333 | }, |
| 334 | "kind": "OpenAI", |
| 335 | "properties": { |
| 336 | "customSubDomainName": "[parameters('openai_eastus_name')]", |
| 337 | "networkAcls": { |
| 338 | "defaultAction": "Allow", |
| 339 | "virtualNetworkRules": [], |
| 340 | "ipRules": [] |
| 341 | }, |
| 342 | "publicNetworkAccess": "Enabled", |
| 343 | "disableLocalAuth": true |
| 344 | } |
| 345 | }, |
| 346 | { |
| 347 | "type": "Microsoft.CognitiveServices/accounts/deployments", |
| 348 | "apiVersion": "2024-10-01", |
| 349 | "name": "[concat(parameters('openai_eastus_name'), '/ada-002')]", |
| 350 | "dependsOn": [ |
| 351 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 352 | ], |
| 353 | "sku": { |
| 354 | "name": "Standard", |
| 355 | "capacity": 120 |
| 356 | }, |
| 357 | "properties": { |
| 358 | "model": { |
| 359 | "format": "OpenAI", |
| 360 | "name": "text-embedding-ada-002", |
| 361 | "version": "2" |
| 362 | }, |
| 363 | "versionUpgradeOption": "OnceCurrentVersionExpired", |
| 364 | "currentCapacity": 120, |
| 365 | "raiPolicyName": "Microsoft.DefaultV2" |
| 366 | } |
| 367 | }, |
| 368 | { |
| 369 | "type": "Microsoft.CognitiveServices/accounts/deployments", |
| 370 | "apiVersion": "2024-10-01", |
| 371 | "name": "[concat(parameters('openai_eastus_name'), '/dall-e-3')]", |
| 372 | "dependsOn": [ |
| 373 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 374 | ], |
| 375 | "sku": { |
| 376 | "name": "Standard", |
| 377 | "capacity": 2 |
| 378 | }, |
| 379 | "properties": { |
| 380 | "model": { |
| 381 | "format": "OpenAI", |
| 382 | "name": "dall-e-3", |
| 383 | "version": "3.0" |
| 384 | }, |
| 385 | "versionUpgradeOption": "OnceCurrentVersionExpired", |
| 386 | "currentCapacity": 2, |
| 387 | "raiPolicyName": "Microsoft.Default" |
| 388 | } |
| 389 | }, |
| 390 | { |
| 391 | "type": "Microsoft.CognitiveServices/accounts/deployments", |
| 392 | "apiVersion": "2024-10-01", |
| 393 | "name": "[concat(parameters('openai_eastus_name'), '/embedding-large')]", |
| 394 | "dependsOn": [ |
| 395 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 396 | ], |
| 397 | "sku": { |
| 398 | "name": "Standard", |
| 399 | "capacity": 350 |
| 400 | }, |
| 401 | "properties": { |
| 402 | "model": { |
| 403 | "format": "OpenAI", |
| 404 | "name": "text-embedding-3-large", |
| 405 | "version": "1" |
| 406 | }, |
| 407 | "versionUpgradeOption": "OnceCurrentVersionExpired", |
| 408 | "currentCapacity": 350, |
| 409 | "raiPolicyName": "Microsoft.DefaultV2" |
| 410 | } |
| 411 | }, |
| 412 | { |
| 413 | "type": "Microsoft.CognitiveServices/accounts/deployments", |
| 414 | "apiVersion": "2024-10-01", |
| 415 | "name": "[concat(parameters('openai_eastus_name'), '/embedding-small')]", |
| 416 | "dependsOn": [ |
| 417 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 418 | ], |
| 419 | "sku": { |
| 420 | "name": "Standard", |
| 421 | "capacity": 350 |
| 422 | }, |
| 423 | "properties": { |
| 424 | "model": { |
| 425 | "format": "OpenAI", |
| 426 | "name": "text-embedding-3-small", |
| 427 | "version": "1" |
| 428 | }, |
| 429 | "versionUpgradeOption": "OnceCurrentVersionExpired", |
| 430 | "currentCapacity": 350, |
| 431 | "raiPolicyName": "Microsoft.DefaultV2" |
| 432 | } |
| 433 | }, |
| 434 | { |
| 435 | "type": "Microsoft.CognitiveServices/accounts/deployments", |
| 436 | "apiVersion": "2024-10-01", |
| 437 | "name": "[concat(parameters('openai_eastus_name'), '/gpt-35-turbo-16k')]", |
| 438 | "dependsOn": [ |
| 439 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 440 | ], |
| 441 | "sku": { |
| 442 | "name": "Standard", |
| 443 | "capacity": 120 |
| 444 | }, |
| 445 | "properties": { |
| 446 | "model": { |
| 447 | "format": "OpenAI", |
| 448 | "name": "gpt-35-turbo", |
| 449 | "version": "0125" |
| 450 | }, |
| 451 | "versionUpgradeOption": "OnceNewDefaultVersionAvailable", |
| 452 | "currentCapacity": 120, |
| 453 | "raiPolicyName": "Microsoft.Default" |
| 454 | } |
| 455 | }, |
| 456 | { |
| 457 | "type": "Microsoft.CognitiveServices/accounts/deployments", |
| 458 | "apiVersion": "2024-10-01", |
| 459 | "name": "[concat(parameters('openai_eastus_name'), '/gpt-35-turbo-instruct')]", |
| 460 | "dependsOn": [ |
| 461 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 462 | ], |
| 463 | "sku": { |
| 464 | "name": "Standard", |
| 465 | "capacity": 120 |
| 466 | }, |
| 467 | "properties": { |
| 468 | "model": { |
| 469 | "format": "OpenAI", |
| 470 | "name": "gpt-35-turbo-instruct", |
| 471 | "version": "0914" |
| 472 | }, |
| 473 | "versionUpgradeOption": "OnceNewDefaultVersionAvailable", |
| 474 | "currentCapacity": 120, |
| 475 | "raiPolicyName": "Microsoft.Default" |
| 476 | } |
| 477 | }, |
| 478 | { |
| 479 | "type": "Microsoft.CognitiveServices/accounts/deployments", |
| 480 | "apiVersion": "2024-10-01", |
| 481 | "name": "[concat(parameters('openai_eastus_name'), '/gpt-4o')]", |
| 482 | "dependsOn": [ |
| 483 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 484 | ], |
| 485 | "sku": { |
| 486 | "name": "GlobalStandard", |
| 487 | "capacity": 450 |
| 488 | }, |
| 489 | "properties": { |
| 490 | "model": { |
| 491 | "format": "OpenAI", |
| 492 | "name": "gpt-4o", |
| 493 | "version": "2024-08-06" |
| 494 | }, |
| 495 | "versionUpgradeOption": "OnceCurrentVersionExpired", |
| 496 | "currentCapacity": 450, |
| 497 | "raiPolicyName": "Microsoft.DefaultV2" |
| 498 | } |
| 499 | }, |
| 500 | { |
| 501 | "type": "Microsoft.CognitiveServices/accounts/deployments", |
| 502 | "apiVersion": "2024-10-01", |
| 503 | "name": "[concat(parameters('openai_eastus_name'), '/gpt-4o-mini')]", |
| 504 | "dependsOn": [ |
| 505 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 506 | ], |
| 507 | "sku": { |
| 508 | "name": "GlobalStandard", |
| 509 | "capacity": 2000 |
| 510 | }, |
| 511 | "properties": { |
| 512 | "model": { |
| 513 | "format": "OpenAI", |
| 514 | "name": "gpt-4o-mini", |
| 515 | "version": "2024-07-18" |
| 516 | }, |
| 517 | "versionUpgradeOption": "OnceNewDefaultVersionAvailable", |
| 518 | "currentCapacity": 2000, |
| 519 | "raiPolicyName": "Microsoft.DefaultV2" |
| 520 | } |
| 521 | }, |
| 522 | { |
| 523 | "type": "Microsoft.CognitiveServices/accounts/raiPolicies", |
| 524 | "apiVersion": "2024-10-01", |
| 525 | "name": "[concat(parameters('openai_eastus_name'), '/Microsoft.Default')]", |
| 526 | "dependsOn": [ |
| 527 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 528 | ], |
| 529 | "properties": { |
| 530 | "mode": "Blocking", |
| 531 | "contentFilters": [ |
| 532 | { |
| 533 | "name": "Hate", |
| 534 | "severityThreshold": "Medium", |
| 535 | "blocking": true, |
| 536 | "enabled": true, |
| 537 | "source": "Prompt" |
| 538 | }, |
| 539 | { |
| 540 | "name": "Hate", |
| 541 | "severityThreshold": "Medium", |
| 542 | "blocking": true, |
| 543 | "enabled": true, |
| 544 | "source": "Completion" |
| 545 | }, |
| 546 | { |
| 547 | "name": "Sexual", |
| 548 | "severityThreshold": "Medium", |
| 549 | "blocking": true, |
| 550 | "enabled": true, |
| 551 | "source": "Prompt" |
| 552 | }, |
| 553 | { |
| 554 | "name": "Sexual", |
| 555 | "severityThreshold": "Medium", |
| 556 | "blocking": true, |
| 557 | "enabled": true, |
| 558 | "source": "Completion" |
| 559 | }, |
| 560 | { |
| 561 | "name": "Violence", |
| 562 | "severityThreshold": "Medium", |
| 563 | "blocking": true, |
| 564 | "enabled": true, |
| 565 | "source": "Prompt" |
| 566 | }, |
| 567 | { |
| 568 | "name": "Violence", |
| 569 | "severityThreshold": "Medium", |
| 570 | "blocking": true, |
| 571 | "enabled": true, |
| 572 | "source": "Completion" |
| 573 | }, |
| 574 | { |
| 575 | "name": "Selfharm", |
| 576 | "severityThreshold": "Medium", |
| 577 | "blocking": true, |
| 578 | "enabled": true, |
| 579 | "source": "Prompt" |
| 580 | }, |
| 581 | { |
| 582 | "name": "Selfharm", |
| 583 | "severityThreshold": "Medium", |
| 584 | "blocking": true, |
| 585 | "enabled": true, |
| 586 | "source": "Completion" |
| 587 | } |
| 588 | ] |
| 589 | } |
| 590 | }, |
| 591 | { |
| 592 | "type": "Microsoft.CognitiveServices/accounts/raiPolicies", |
| 593 | "apiVersion": "2024-10-01", |
| 594 | "name": "[concat(parameters('openai_eastus_name'), '/Microsoft.DefaultV2')]", |
| 595 | "dependsOn": [ |
| 596 | "[resourceId('Microsoft.CognitiveServices/accounts', parameters('openai_eastus_name'))]" |
| 597 | ], |
| 598 | "properties": { |
| 599 | "mode": "Blocking", |
| 600 | "contentFilters": [ |
| 601 | { |
| 602 | "name": "Hate", |
| 603 | "severityThreshold": "Medium", |
| 604 | "blocking": true, |
| 605 | "enabled": true, |
| 606 | "source": "Prompt" |
| 607 | }, |
| 608 | { |
| 609 | "name": "Hate", |
| 610 | "severityThreshold": "Medium", |
| 611 | "blocking": true, |
| 612 | "enabled": true, |
| 613 | "source": "Completion" |
| 614 | }, |
| 615 | { |
| 616 | "name": "Sexual", |
| 617 | "severityThreshold": "Medium", |
| 618 | "blocking": true, |
| 619 | "enabled": true, |
| 620 | "source": "Prompt" |
| 621 | }, |
| 622 | { |
| 623 | "name": "Sexual", |
| 624 | "severityThreshold": "Medium", |
| 625 | "blocking": true, |
| 626 | "enabled": true, |
| 627 | "source": "Completion" |
| 628 | }, |
| 629 | { |
| 630 | "name": "Violence", |
| 631 | "severityThreshold": "Medium", |
| 632 | "blocking": true, |
| 633 | "enabled": true, |
| 634 | "source": "Prompt" |
| 635 | }, |
| 636 | { |
| 637 | "name": "Violence", |
| 638 | "severityThreshold": "Medium", |
| 639 | "blocking": true, |
| 640 | "enabled": true, |
| 641 | "source": "Completion" |
| 642 | }, |
| 643 | { |
| 644 | "name": "Selfharm", |
| 645 | "severityThreshold": "Medium", |
| 646 | "blocking": true, |
| 647 | "enabled": true, |
| 648 | "source": "Prompt" |
| 649 | }, |
| 650 | { |
| 651 | "name": "Selfharm", |
| 652 | "severityThreshold": "Medium", |
| 653 | "blocking": true, |
| 654 | "enabled": true, |
| 655 | "source": "Completion" |
| 656 | }, |
| 657 | { |
| 658 | "name": "Jailbreak", |
| 659 | "blocking": true, |
| 660 | "enabled": true, |
| 661 | "source": "Prompt" |
| 662 | }, |
| 663 | { |
| 664 | "name": "Protected Material Text", |
| 665 | "blocking": true, |
| 666 | "enabled": true, |
| 667 | "source": "Completion" |
| 668 | }, |
| 669 | { |
| 670 | "name": "Protected Material Code", |
| 671 | "blocking": false, |
| 672 | "enabled": true, |
| 673 | "source": "Completion" |
| 674 | } |
| 675 | ] |
| 676 | } |
| 677 | }, |
| 678 | { |
| 679 | "type": "Microsoft.Storage/storageAccounts", |
| 680 | "apiVersion": "2024-01-01", |
| 681 | "name": "[parameters('storageAccounts_demopersistence_name')]", |
| 682 | "location": "westus", |
| 683 | "tags": { |
| 684 | "Created by": "robgruen", |
| 685 | "Created": "12.10.2024" |
| 686 | }, |
| 687 | "sku": { |
| 688 | "name": "Standard_RAGRS", |
| 689 | "tier": "Standard" |
| 690 | }, |
| 691 | "kind": "StorageV2", |
| 692 | "properties": { |
| 693 | "dnsEndpointType": "Standard", |
| 694 | "defaultToOAuthAuthentication": true, |
| 695 | "publicNetworkAccess": "Enabled", |
| 696 | "allowCrossTenantReplication": false, |
| 697 | "minimumTlsVersion": "TLS1_2", |
| 698 | "allowBlobPublicAccess": false, |
| 699 | "allowSharedKeyAccess": false, |
| 700 | "largeFileSharesState": "Enabled", |
| 701 | "networkAcls": { |
| 702 | "resourceAccessRules": [ |
| 703 | { |
| 704 | "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", |
| 705 | "resourceId": "/subscriptions/b64471de-f2ac-4075-a3cb-7656bca768d0/providers/Microsoft.Security/datascanners/storageDataScanner" |
| 706 | } |
| 707 | ], |
| 708 | "bypass": "AzureServices", |
| 709 | "virtualNetworkRules": [], |
| 710 | "ipRules": [], |
| 711 | "defaultAction": "Allow" |
| 712 | }, |
| 713 | "supportsHttpsTrafficOnly": true, |
| 714 | "encryption": { |
| 715 | "requireInfrastructureEncryption": false, |
| 716 | "services": { |
| 717 | "file": { |
| 718 | "keyType": "Account", |
| 719 | "enabled": true |
| 720 | }, |
| 721 | "blob": { |
| 722 | "keyType": "Account", |
| 723 | "enabled": true |
| 724 | } |
| 725 | }, |
| 726 | "keySource": "Microsoft.Storage" |
| 727 | }, |
| 728 | "accessTier": "Hot" |
| 729 | } |
| 730 | }, |
| 731 | { |
| 732 | "type": "Microsoft.Storage/storageAccounts/blobServices", |
| 733 | "apiVersion": "2024-01-01", |
| 734 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default')]", |
| 735 | "dependsOn": [ |
| 736 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 737 | ], |
| 738 | "sku": { |
| 739 | "name": "Standard_RAGRS", |
| 740 | "tier": "Standard" |
| 741 | }, |
| 742 | "properties": { |
| 743 | "containerDeleteRetentionPolicy": { |
| 744 | "enabled": true, |
| 745 | "days": 7 |
| 746 | }, |
| 747 | "cors": { |
| 748 | "corsRules": [] |
| 749 | }, |
| 750 | "deleteRetentionPolicy": { |
| 751 | "allowPermanentDelete": false, |
| 752 | "enabled": true, |
| 753 | "days": 7 |
| 754 | } |
| 755 | } |
| 756 | }, |
| 757 | { |
| 758 | "type": "Microsoft.Storage/storageAccounts/fileServices", |
| 759 | "apiVersion": "2024-01-01", |
| 760 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default')]", |
| 761 | "dependsOn": [ |
| 762 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 763 | ], |
| 764 | "sku": { |
| 765 | "name": "Standard_RAGRS", |
| 766 | "tier": "Standard" |
| 767 | }, |
| 768 | "properties": { |
| 769 | "protocolSettings": { |
| 770 | "smb": {} |
| 771 | }, |
| 772 | "cors": { |
| 773 | "corsRules": [] |
| 774 | }, |
| 775 | "shareDeleteRetentionPolicy": { |
| 776 | "enabled": true, |
| 777 | "days": 7 |
| 778 | } |
| 779 | } |
| 780 | }, |
| 781 | { |
| 782 | "type": "Microsoft.Storage/storageAccounts/queueServices", |
| 783 | "apiVersion": "2024-01-01", |
| 784 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default')]", |
| 785 | "dependsOn": [ |
| 786 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 787 | ], |
| 788 | "properties": { |
| 789 | "cors": { |
| 790 | "corsRules": [] |
| 791 | } |
| 792 | } |
| 793 | }, |
| 794 | { |
| 795 | "type": "Microsoft.Storage/storageAccounts/tableServices", |
| 796 | "apiVersion": "2024-01-01", |
| 797 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default')]", |
| 798 | "dependsOn": [ |
| 799 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 800 | ], |
| 801 | "properties": { |
| 802 | "cors": { |
| 803 | "corsRules": [] |
| 804 | } |
| 805 | } |
| 806 | }, |
| 807 | { |
| 808 | "type": "Microsoft.Storage/storageAccounts/blobServices/containers", |
| 809 | "apiVersion": "2024-01-01", |
| 810 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default/sessions')]", |
| 811 | "dependsOn": [ |
| 812 | "[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccounts_demopersistence_name'), 'default')]", |
| 813 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 814 | ], |
| 815 | "properties": { |
| 816 | "immutableStorageWithVersioning": { |
| 817 | "enabled": false |
| 818 | }, |
| 819 | "defaultEncryptionScope": "$account-encryption-key", |
| 820 | "denyEncryptionScopeOverride": false, |
| 821 | "publicAccess": "None" |
| 822 | } |
| 823 | }, |
| 824 | { |
| 825 | "type": "Microsoft.Storage/storageAccounts/blobServices/containers", |
| 826 | "apiVersion": "2024-01-01", |
| 827 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default/sessions-curtis')]", |
| 828 | "dependsOn": [ |
| 829 | "[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccounts_demopersistence_name'), 'default')]", |
| 830 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 831 | ], |
| 832 | "properties": { |
| 833 | "immutableStorageWithVersioning": { |
| 834 | "enabled": false |
| 835 | }, |
| 836 | "defaultEncryptionScope": "$account-encryption-key", |
| 837 | "denyEncryptionScopeOverride": false, |
| 838 | "publicAccess": "None" |
| 839 | } |
| 840 | }, |
| 841 | { |
| 842 | "type": "Microsoft.Storage/storageAccounts/blobServices/containers", |
| 843 | "apiVersion": "2024-01-01", |
| 844 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default/sessions-guido')]", |
| 845 | "dependsOn": [ |
| 846 | "[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccounts_demopersistence_name'), 'default')]", |
| 847 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 848 | ], |
| 849 | "properties": { |
| 850 | "immutableStorageWithVersioning": { |
| 851 | "enabled": false |
| 852 | }, |
| 853 | "defaultEncryptionScope": "$account-encryption-key", |
| 854 | "denyEncryptionScopeOverride": false, |
| 855 | "publicAccess": "None" |
| 856 | } |
| 857 | }, |
| 858 | { |
| 859 | "type": "Microsoft.Storage/storageAccounts/blobServices/containers", |
| 860 | "apiVersion": "2024-01-01", |
| 861 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default/sessions-hillary')]", |
| 862 | "dependsOn": [ |
| 863 | "[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccounts_demopersistence_name'), 'default')]", |
| 864 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 865 | ], |
| 866 | "properties": { |
| 867 | "immutableStorageWithVersioning": { |
| 868 | "enabled": false |
| 869 | }, |
| 870 | "defaultEncryptionScope": "$account-encryption-key", |
| 871 | "denyEncryptionScopeOverride": false, |
| 872 | "publicAccess": "None" |
| 873 | } |
| 874 | }, |
| 875 | { |
| 876 | "type": "Microsoft.Storage/storageAccounts/blobServices/containers", |
| 877 | "apiVersion": "2024-01-01", |
| 878 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default/sessions-piali')]", |
| 879 | "dependsOn": [ |
| 880 | "[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccounts_demopersistence_name'), 'default')]", |
| 881 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 882 | ], |
| 883 | "properties": { |
| 884 | "immutableStorageWithVersioning": { |
| 885 | "enabled": false |
| 886 | }, |
| 887 | "defaultEncryptionScope": "$account-encryption-key", |
| 888 | "denyEncryptionScopeOverride": false, |
| 889 | "publicAccess": "None" |
| 890 | } |
| 891 | }, |
| 892 | { |
| 893 | "type": "Microsoft.Storage/storageAccounts/blobServices/containers", |
| 894 | "apiVersion": "2024-01-01", |
| 895 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default/sessions-rob')]", |
| 896 | "dependsOn": [ |
| 897 | "[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccounts_demopersistence_name'), 'default')]", |
| 898 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 899 | ], |
| 900 | "properties": { |
| 901 | "immutableStorageWithVersioning": { |
| 902 | "enabled": false |
| 903 | }, |
| 904 | "defaultEncryptionScope": "$account-encryption-key", |
| 905 | "denyEncryptionScopeOverride": false, |
| 906 | "publicAccess": "None" |
| 907 | } |
| 908 | }, |
| 909 | { |
| 910 | "type": "Microsoft.Storage/storageAccounts/blobServices/containers", |
| 911 | "apiVersion": "2024-01-01", |
| 912 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default/sessions-steve')]", |
| 913 | "dependsOn": [ |
| 914 | "[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccounts_demopersistence_name'), 'default')]", |
| 915 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 916 | ], |
| 917 | "properties": { |
| 918 | "immutableStorageWithVersioning": { |
| 919 | "enabled": false |
| 920 | }, |
| 921 | "defaultEncryptionScope": "$account-encryption-key", |
| 922 | "denyEncryptionScopeOverride": false, |
| 923 | "publicAccess": "None" |
| 924 | } |
| 925 | }, |
| 926 | { |
| 927 | "type": "Microsoft.Storage/storageAccounts/blobServices/containers", |
| 928 | "apiVersion": "2024-01-01", |
| 929 | "name": "[concat(parameters('storageAccounts_demopersistence_name'), '/default/sessions-umesh')]", |
| 930 | "dependsOn": [ |
| 931 | "[resourceId('Microsoft.Storage/storageAccounts/blobServices', parameters('storageAccounts_demopersistence_name'), 'default')]", |
| 932 | "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_demopersistence_name'))]" |
| 933 | ], |
| 934 | "properties": { |
| 935 | "immutableStorageWithVersioning": { |
| 936 | "enabled": false |
| 937 | }, |
| 938 | "defaultEncryptionScope": "$account-encryption-key", |
| 939 | "denyEncryptionScopeOverride": false, |
| 940 | "publicAccess": "None" |
| 941 | } |
| 942 | }, |
| 943 | { |
| 944 | "type": "Microsoft.Bing/accounts", |
| 945 | "apiVersion": "2020-06-10", |
| 946 | "name": "[parameters('search_name')]", |
| 947 | "location": "global", |
| 948 | "sku": { |
| 949 | "name": "S1" |
| 950 | }, |
| 951 | "kind": "Bing.Search.v7", |
| 952 | "tags": {}, |
| 953 | "properties": { |
| 954 | "provisioningState": "Succeeded", |
| 955 | "endpoint": "https://api.bing.microsoft.com/", |
| 956 | "internalId": "3534d9bccab442b9b0d43b56b6924610", |
| 957 | "statisticsEnabled": false |
| 958 | } |
| 959 | }, |
| 960 | { |
| 961 | "type": "Microsoft.KeyVault/vaults", |
| 962 | "apiVersion": "2024-12-01-preview", |
| 963 | "name": "[parameters('vaults_aisystems_name')]", |
| 964 | "location": "westus2", |
| 965 | "properties": { |
| 966 | "sku": { |
| 967 | "family": "A", |
| 968 | "name": "Standard" |
| 969 | }, |
| 970 | "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", |
| 971 | "accessPolicies": [], |
| 972 | "enabledForDeployment": false, |
| 973 | "enabledForDiskEncryption": false, |
| 974 | "enabledForTemplateDeployment": false, |
| 975 | "enableSoftDelete": true, |
| 976 | "softDeleteRetentionInDays": 90, |
| 977 | "enableRbacAuthorization": true, |
| 978 | "vaultUri": "[concat('https://', parameters('vaults_aisystems_name'), '.vault.azure.net/')]", |
| 979 | "provisioningState": "Succeeded", |
| 980 | "publicNetworkAccess": "Enabled" |
| 981 | } |
| 982 | }, |
| 983 | { |
| 984 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 985 | "apiVersion": "2024-12-01-preview", |
| 986 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-MAPS-CLIENTID')]", |
| 987 | "location": "westus2", |
| 988 | "dependsOn": [ |
| 989 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 990 | ], |
| 991 | "properties": { |
| 992 | "attributes": { |
| 993 | "enabled": true |
| 994 | } |
| 995 | } |
| 996 | }, |
| 997 | { |
| 998 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 999 | "apiVersion": "2024-12-01-preview", |
| 1000 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-MAPS-ENDPOINT')]", |
| 1001 | "location": "westus2", |
| 1002 | "dependsOn": [ |
| 1003 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1004 | ], |
| 1005 | "properties": { |
| 1006 | "attributes": { |
| 1007 | "enabled": true |
| 1008 | } |
| 1009 | } |
| 1010 | }, |
| 1011 | { |
| 1012 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1013 | "apiVersion": "2024-12-01-preview", |
| 1014 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-API-KEY')]", |
| 1015 | "location": "westus2", |
| 1016 | "dependsOn": [ |
| 1017 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1018 | ], |
| 1019 | "properties": { |
| 1020 | "attributes": { |
| 1021 | "enabled": true |
| 1022 | } |
| 1023 | } |
| 1024 | }, |
| 1025 | { |
| 1026 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1027 | "apiVersion": "2024-12-01-preview", |
| 1028 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-API-KEY-DALLE')]", |
| 1029 | "location": "westus2", |
| 1030 | "dependsOn": [ |
| 1031 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1032 | ], |
| 1033 | "properties": { |
| 1034 | "attributes": { |
| 1035 | "enabled": true |
| 1036 | } |
| 1037 | } |
| 1038 | }, |
| 1039 | { |
| 1040 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1041 | "apiVersion": "2024-12-01-preview", |
| 1042 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-API-KEY-EMBEDDING')]", |
| 1043 | "location": "westus2", |
| 1044 | "dependsOn": [ |
| 1045 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1046 | ], |
| 1047 | "properties": { |
| 1048 | "attributes": { |
| 1049 | "enabled": true |
| 1050 | } |
| 1051 | } |
| 1052 | }, |
| 1053 | { |
| 1054 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1055 | "apiVersion": "2024-12-01-preview", |
| 1056 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-API-KEY-GPT-35-TURBO')]", |
| 1057 | "location": "westus2", |
| 1058 | "dependsOn": [ |
| 1059 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1060 | ], |
| 1061 | "properties": { |
| 1062 | "attributes": { |
| 1063 | "enabled": true |
| 1064 | } |
| 1065 | } |
| 1066 | }, |
| 1067 | { |
| 1068 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1069 | "apiVersion": "2024-12-01-preview", |
| 1070 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-API-KEY-GPT-4-O')]", |
| 1071 | "location": "westus2", |
| 1072 | "dependsOn": [ |
| 1073 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1074 | ], |
| 1075 | "properties": { |
| 1076 | "attributes": { |
| 1077 | "enabled": true |
| 1078 | } |
| 1079 | } |
| 1080 | }, |
| 1081 | { |
| 1082 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1083 | "apiVersion": "2024-12-01-preview", |
| 1084 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-API-KEY-GPT-4-O-MINI')]", |
| 1085 | "location": "westus2", |
| 1086 | "dependsOn": [ |
| 1087 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1088 | ], |
| 1089 | "tags": { |
| 1090 | "file-encoding": "utf-8" |
| 1091 | }, |
| 1092 | "properties": { |
| 1093 | "attributes": { |
| 1094 | "enabled": true |
| 1095 | } |
| 1096 | } |
| 1097 | }, |
| 1098 | { |
| 1099 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1100 | "apiVersion": "2024-12-01-preview", |
| 1101 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-API-KEY-GPT-v')]", |
| 1102 | "location": "westus2", |
| 1103 | "dependsOn": [ |
| 1104 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1105 | ], |
| 1106 | "properties": { |
| 1107 | "attributes": { |
| 1108 | "enabled": true |
| 1109 | } |
| 1110 | } |
| 1111 | }, |
| 1112 | { |
| 1113 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1114 | "apiVersion": "2024-12-01-preview", |
| 1115 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-ENDPOINT')]", |
| 1116 | "location": "westus2", |
| 1117 | "dependsOn": [ |
| 1118 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1119 | ], |
| 1120 | "properties": { |
| 1121 | "attributes": { |
| 1122 | "enabled": true |
| 1123 | } |
| 1124 | } |
| 1125 | }, |
| 1126 | { |
| 1127 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1128 | "apiVersion": "2024-12-01-preview", |
| 1129 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-ENDPOINT-DALLE')]", |
| 1130 | "location": "westus2", |
| 1131 | "dependsOn": [ |
| 1132 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1133 | ], |
| 1134 | "properties": { |
| 1135 | "attributes": { |
| 1136 | "enabled": true |
| 1137 | } |
| 1138 | } |
| 1139 | }, |
| 1140 | { |
| 1141 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1142 | "apiVersion": "2024-12-01-preview", |
| 1143 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-ENDPOINT-EMBEDDING')]", |
| 1144 | "location": "westus2", |
| 1145 | "dependsOn": [ |
| 1146 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1147 | ], |
| 1148 | "tags": { |
| 1149 | "file-encoding": "utf-8" |
| 1150 | }, |
| 1151 | "properties": { |
| 1152 | "attributes": { |
| 1153 | "enabled": true |
| 1154 | } |
| 1155 | } |
| 1156 | }, |
| 1157 | { |
| 1158 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1159 | "apiVersion": "2024-12-01-preview", |
| 1160 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-ENDPOINT-GPT-35-TURBO')]", |
| 1161 | "location": "westus2", |
| 1162 | "dependsOn": [ |
| 1163 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1164 | ], |
| 1165 | "tags": { |
| 1166 | "file-encoding": "utf-8" |
| 1167 | }, |
| 1168 | "properties": { |
| 1169 | "attributes": { |
| 1170 | "enabled": true |
| 1171 | } |
| 1172 | } |
| 1173 | }, |
| 1174 | { |
| 1175 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1176 | "apiVersion": "2024-12-01-preview", |
| 1177 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-ENDPOINT-GPT-4-O')]", |
| 1178 | "location": "westus2", |
| 1179 | "dependsOn": [ |
| 1180 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1181 | ], |
| 1182 | "properties": { |
| 1183 | "attributes": { |
| 1184 | "enabled": true |
| 1185 | } |
| 1186 | } |
| 1187 | }, |
| 1188 | { |
| 1189 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1190 | "apiVersion": "2024-12-01-preview", |
| 1191 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-ENDPOINT-GPT-4-O-MINI')]", |
| 1192 | "location": "westus2", |
| 1193 | "dependsOn": [ |
| 1194 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1195 | ], |
| 1196 | "tags": { |
| 1197 | "file-encoding": "utf-8" |
| 1198 | }, |
| 1199 | "properties": { |
| 1200 | "attributes": { |
| 1201 | "enabled": true |
| 1202 | } |
| 1203 | } |
| 1204 | }, |
| 1205 | { |
| 1206 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1207 | "apiVersion": "2024-12-01-preview", |
| 1208 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-ENDPOINT-GPT-v')]", |
| 1209 | "location": "westus2", |
| 1210 | "dependsOn": [ |
| 1211 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1212 | ], |
| 1213 | "tags": { |
| 1214 | "file-encoding": "utf-8" |
| 1215 | }, |
| 1216 | "properties": { |
| 1217 | "attributes": { |
| 1218 | "enabled": true |
| 1219 | } |
| 1220 | } |
| 1221 | }, |
| 1222 | { |
| 1223 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1224 | "apiVersion": "2024-12-01-preview", |
| 1225 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-MAX-CONCURRENCY')]", |
| 1226 | "location": "westus2", |
| 1227 | "dependsOn": [ |
| 1228 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1229 | ], |
| 1230 | "properties": { |
| 1231 | "attributes": { |
| 1232 | "enabled": true |
| 1233 | } |
| 1234 | } |
| 1235 | }, |
| 1236 | { |
| 1237 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1238 | "apiVersion": "2024-12-01-preview", |
| 1239 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-OPENAI-RESPONSE-FORMAT')]", |
| 1240 | "location": "westus2", |
| 1241 | "dependsOn": [ |
| 1242 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1243 | ], |
| 1244 | "properties": { |
| 1245 | "attributes": { |
| 1246 | "enabled": true |
| 1247 | } |
| 1248 | } |
| 1249 | }, |
| 1250 | { |
| 1251 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1252 | "apiVersion": "2024-12-01-preview", |
| 1253 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-STORAGE-ACCOUNT')]", |
| 1254 | "location": "westus2", |
| 1255 | "dependsOn": [ |
| 1256 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1257 | ], |
| 1258 | "properties": { |
| 1259 | "attributes": { |
| 1260 | "enabled": true |
| 1261 | } |
| 1262 | } |
| 1263 | }, |
| 1264 | { |
| 1265 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1266 | "apiVersion": "2024-12-01-preview", |
| 1267 | "name": "[concat(parameters('vaults_aisystems_name'), '/AZURE-STORAGE-CONTAINER')]", |
| 1268 | "location": "westus2", |
| 1269 | "dependsOn": [ |
| 1270 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1271 | ], |
| 1272 | "properties": { |
| 1273 | "attributes": { |
| 1274 | "enabled": true |
| 1275 | } |
| 1276 | } |
| 1277 | }, |
| 1278 | { |
| 1279 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1280 | "apiVersion": "2024-12-01-preview", |
| 1281 | "name": "[concat(parameters('vaults_aisystems_name'), '/BING-API-KEY')]", |
| 1282 | "location": "westus2", |
| 1283 | "dependsOn": [ |
| 1284 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1285 | ], |
| 1286 | "properties": { |
| 1287 | "attributes": { |
| 1288 | "enabled": true |
| 1289 | } |
| 1290 | } |
| 1291 | }, |
| 1292 | { |
| 1293 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1294 | "apiVersion": "2024-12-01-preview", |
| 1295 | "name": "[concat(parameters('vaults_aisystems_name'), '/BING-MAPS-API-KEY')]", |
| 1296 | "location": "westus2", |
| 1297 | "dependsOn": [ |
| 1298 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1299 | ], |
| 1300 | "properties": { |
| 1301 | "attributes": { |
| 1302 | "enabled": true |
| 1303 | } |
| 1304 | } |
| 1305 | }, |
| 1306 | { |
| 1307 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1308 | "apiVersion": "2024-12-01-preview", |
| 1309 | "name": "[concat(parameters('vaults_aisystems_name'), '/MONGODB-CONNECTION-STRING')]", |
| 1310 | "location": "westus2", |
| 1311 | "dependsOn": [ |
| 1312 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1313 | ], |
| 1314 | "tags": { |
| 1315 | "file-encoding": "utf-8" |
| 1316 | }, |
| 1317 | "properties": { |
| 1318 | "attributes": { |
| 1319 | "enabled": true |
| 1320 | } |
| 1321 | } |
| 1322 | }, |
| 1323 | { |
| 1324 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1325 | "apiVersion": "2024-12-01-preview", |
| 1326 | "name": "[concat(parameters('vaults_aisystems_name'), '/MSGRAPH-APP-CLIENTID')]", |
| 1327 | "location": "westus2", |
| 1328 | "dependsOn": [ |
| 1329 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1330 | ], |
| 1331 | "properties": { |
| 1332 | "attributes": { |
| 1333 | "enabled": true |
| 1334 | } |
| 1335 | } |
| 1336 | }, |
| 1337 | { |
| 1338 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1339 | "apiVersion": "2024-12-01-preview", |
| 1340 | "name": "[concat(parameters('vaults_aisystems_name'), '/MSGRAPH-APP-CLIENTSECRET')]", |
| 1341 | "location": "westus2", |
| 1342 | "dependsOn": [ |
| 1343 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1344 | ], |
| 1345 | "properties": { |
| 1346 | "attributes": { |
| 1347 | "enabled": true |
| 1348 | } |
| 1349 | } |
| 1350 | }, |
| 1351 | { |
| 1352 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1353 | "apiVersion": "2024-12-01-preview", |
| 1354 | "name": "[concat(parameters('vaults_aisystems_name'), '/MSGRAPH-APP-PASSWD')]", |
| 1355 | "location": "westus2", |
| 1356 | "dependsOn": [ |
| 1357 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1358 | ], |
| 1359 | "properties": { |
| 1360 | "attributes": { |
| 1361 | "enabled": true |
| 1362 | } |
| 1363 | } |
| 1364 | }, |
| 1365 | { |
| 1366 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1367 | "apiVersion": "2024-12-01-preview", |
| 1368 | "name": "[concat(parameters('vaults_aisystems_name'), '/MSGRAPH-APP-TENANTID')]", |
| 1369 | "location": "westus2", |
| 1370 | "dependsOn": [ |
| 1371 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1372 | ], |
| 1373 | "properties": { |
| 1374 | "attributes": { |
| 1375 | "enabled": true |
| 1376 | } |
| 1377 | } |
| 1378 | }, |
| 1379 | { |
| 1380 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1381 | "apiVersion": "2024-12-01-preview", |
| 1382 | "name": "[concat(parameters('vaults_aisystems_name'), '/MSGRAPH-APP-USERNAME')]", |
| 1383 | "location": "westus2", |
| 1384 | "dependsOn": [ |
| 1385 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1386 | ], |
| 1387 | "properties": { |
| 1388 | "attributes": { |
| 1389 | "enabled": true |
| 1390 | } |
| 1391 | } |
| 1392 | }, |
| 1393 | { |
| 1394 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1395 | "apiVersion": "2024-12-01-preview", |
| 1396 | "name": "[concat(parameters('vaults_aisystems_name'), '/OPENAI-API-KEY-LOCAL')]", |
| 1397 | "location": "westus2", |
| 1398 | "dependsOn": [ |
| 1399 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1400 | ], |
| 1401 | "tags": { |
| 1402 | "file-encoding": "utf-8" |
| 1403 | }, |
| 1404 | "properties": { |
| 1405 | "attributes": { |
| 1406 | "enabled": true |
| 1407 | } |
| 1408 | } |
| 1409 | }, |
| 1410 | { |
| 1411 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1412 | "apiVersion": "2024-12-01-preview", |
| 1413 | "name": "[concat(parameters('vaults_aisystems_name'), '/OPENAI-ENDPOINT-LOCAL')]", |
| 1414 | "location": "westus2", |
| 1415 | "dependsOn": [ |
| 1416 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1417 | ], |
| 1418 | "tags": { |
| 1419 | "file-encoding": "utf-8" |
| 1420 | }, |
| 1421 | "properties": { |
| 1422 | "attributes": { |
| 1423 | "enabled": true |
| 1424 | } |
| 1425 | } |
| 1426 | }, |
| 1427 | { |
| 1428 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1429 | "apiVersion": "2024-12-01-preview", |
| 1430 | "name": "[concat(parameters('vaults_aisystems_name'), '/OPENAI-MODEL-LOCAL')]", |
| 1431 | "location": "westus2", |
| 1432 | "dependsOn": [ |
| 1433 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1434 | ], |
| 1435 | "tags": { |
| 1436 | "file-encoding": "utf-8" |
| 1437 | }, |
| 1438 | "properties": { |
| 1439 | "attributes": { |
| 1440 | "enabled": true |
| 1441 | } |
| 1442 | } |
| 1443 | }, |
| 1444 | { |
| 1445 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1446 | "apiVersion": "2024-12-01-preview", |
| 1447 | "name": "[concat(parameters('vaults_aisystems_name'), '/OPENAI-ORGANIZATION-LOCAL')]", |
| 1448 | "location": "westus2", |
| 1449 | "dependsOn": [ |
| 1450 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1451 | ], |
| 1452 | "tags": { |
| 1453 | "file-encoding": "utf-8" |
| 1454 | }, |
| 1455 | "properties": { |
| 1456 | "attributes": { |
| 1457 | "enabled": true |
| 1458 | } |
| 1459 | } |
| 1460 | }, |
| 1461 | { |
| 1462 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1463 | "apiVersion": "2024-12-01-preview", |
| 1464 | "name": "[concat(parameters('vaults_aisystems_name'), '/OPENAI-RESPONSE-FORMAT-LOCAL')]", |
| 1465 | "location": "westus2", |
| 1466 | "dependsOn": [ |
| 1467 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1468 | ], |
| 1469 | "tags": { |
| 1470 | "file-encoding": "utf-8" |
| 1471 | }, |
| 1472 | "properties": { |
| 1473 | "attributes": { |
| 1474 | "enabled": true |
| 1475 | } |
| 1476 | } |
| 1477 | }, |
| 1478 | { |
| 1479 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1480 | "apiVersion": "2024-12-01-preview", |
| 1481 | "name": "[concat(parameters('vaults_aisystems_name'), '/SPEECH-SDK-ENDPOINT')]", |
| 1482 | "location": "westus2", |
| 1483 | "dependsOn": [ |
| 1484 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1485 | ], |
| 1486 | "properties": { |
| 1487 | "attributes": { |
| 1488 | "enabled": true |
| 1489 | } |
| 1490 | } |
| 1491 | }, |
| 1492 | { |
| 1493 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1494 | "apiVersion": "2024-12-01-preview", |
| 1495 | "name": "[concat(parameters('vaults_aisystems_name'), '/SPEECH-SDK-KEY')]", |
| 1496 | "location": "westus2", |
| 1497 | "dependsOn": [ |
| 1498 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1499 | ], |
| 1500 | "properties": { |
| 1501 | "attributes": { |
| 1502 | "enabled": true |
| 1503 | } |
| 1504 | } |
| 1505 | }, |
| 1506 | { |
| 1507 | "type": "Microsoft.KeyVault/vaults/secrets", |
| 1508 | "apiVersion": "2024-12-01-preview", |
| 1509 | "name": "[concat(parameters('vaults_aisystems_name'), '/SPEECH-SDK-REGION')]", |
| 1510 | "location": "westus2", |
| 1511 | "dependsOn": [ |
| 1512 | "[resourceId('Microsoft.KeyVault/vaults', parameters('vaults_aisystems_name'))]" |
| 1513 | ], |
| 1514 | "properties": { |
| 1515 | "attributes": { |
| 1516 | "enabled": true |
| 1517 | } |
| 1518 | } |
| 1519 | } |
| 1520 | ] |
| 1521 | } |