|
4 | 4 | "metadata": { |
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | | - "version": "0.33.93.31351", |
8 | | - "templateHash": "11802129812634129151" |
| 7 | + "version": "0.34.44.8038", |
| 8 | + "templateHash": "8953208502938265930" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
|
216 | 216 | { |
217 | 217 | "name": "TERMINATION_MODEL_DEPLOY", |
218 | 218 | "value": "[variables('llmModel')]" |
| 219 | + }, |
| 220 | + { |
| 221 | + "name": "AZURE_AI_AGENT_MODEL_DEPLOYMENT_NAME", |
| 222 | + "value": "[variables('llmModel')]" |
| 223 | + }, |
| 224 | + { |
| 225 | + "name": "AZURE_AI_AGENT_PROJECT_NAME", |
| 226 | + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.aiProjectName.value]" |
| 227 | + }, |
| 228 | + { |
| 229 | + "name": "AZURE_AI_AGENT_RESOURCE_GROUP_NAME", |
| 230 | + "value": "[resourceGroup().name]" |
| 231 | + }, |
| 232 | + { |
| 233 | + "name": "AZURE_AI_AGENT_SUBSCRIPTION_ID", |
| 234 | + "value": "[subscription().subscriptionId]" |
| 235 | + }, |
| 236 | + { |
| 237 | + "name": "AZURE_AI_AGENT_PROJECT_CONNECTION_STRING", |
| 238 | + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, resourceGroup().name), 'Microsoft.Resources/deployments', 'deploy_ai_foundry'), '2022-09-01').outputs.projectConnectionString.value]" |
219 | 239 | } |
220 | 240 | ], |
221 | 241 | "resources": { |
|
353 | 373 | "metadata": { |
354 | 374 | "_generator": { |
355 | 375 | "name": "bicep", |
356 | | - "version": "0.33.93.31351", |
357 | | - "templateHash": "11665286146084422127" |
| 376 | + "version": "0.34.44.8038", |
| 377 | + "templateHash": "17863870312619064541" |
358 | 378 | } |
359 | 379 | }, |
360 | 380 | "parameters": { |
|
451 | 471 | "metadata": { |
452 | 472 | "_generator": { |
453 | 473 | "name": "bicep", |
454 | | - "version": "0.33.93.31351", |
455 | | - "templateHash": "4388214478635448075" |
| 474 | + "version": "0.34.44.8038", |
| 475 | + "templateHash": "10664495342911727649" |
456 | 476 | } |
457 | 477 | }, |
458 | 478 | "parameters": { |
|
589 | 609 | "metadata": { |
590 | 610 | "_generator": { |
591 | 611 | "name": "bicep", |
592 | | - "version": "0.33.93.31351", |
593 | | - "templateHash": "10270252950808398257" |
| 612 | + "version": "0.34.44.8038", |
| 613 | + "templateHash": "8087543237770345715" |
594 | 614 | } |
595 | 615 | }, |
596 | 616 | "parameters": { |
|
939 | 959 | "storageAccountId": { |
940 | 960 | "type": "string", |
941 | 961 | "value": "[resourceId('Microsoft.Storage/storageAccounts', variables('storageNameCleaned'))]" |
| 962 | + }, |
| 963 | + "projectConnectionString": { |
| 964 | + "type": "string", |
| 965 | + "value": "[format('{0};{1};{2};{3}', split(reference(resourceId('Microsoft.MachineLearningServices/workspaces', variables('aiProjectName')), '2024-01-01-preview').discoveryUrl, '/')[2], subscription().subscriptionId, resourceGroup().name, variables('aiProjectName'))]" |
942 | 966 | } |
943 | 967 | } |
944 | 968 | } |
|
0 commit comments