|
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | 7 | "version": "0.34.44.8038", |
8 | | - "templateHash": "1388245659062904286" |
| 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": { |
|
354 | 374 | "_generator": { |
355 | 375 | "name": "bicep", |
356 | 376 | "version": "0.34.44.8038", |
357 | | - "templateHash": "107965290127824528" |
| 377 | + "templateHash": "17863870312619064541" |
358 | 378 | } |
359 | 379 | }, |
360 | 380 | "parameters": { |
|
453 | 473 | "name": "bicep", |
454 | 474 | "version": "0.34.44.8038", |
455 | 475 | "templateHash": "10664495342911727649" |
| 476 | + "version": "0.34.44.8038", |
| 477 | + "templateHash": "10664495342911727649" |
456 | 478 | } |
457 | 479 | }, |
458 | 480 | "parameters": { |
|
590 | 612 | "_generator": { |
591 | 613 | "name": "bicep", |
592 | 614 | "version": "0.34.44.8038", |
593 | | - "templateHash": "9573081501419024290" |
| 615 | + "templateHash": "8087543237770345715" |
594 | 616 | } |
595 | 617 | }, |
596 | 618 | "parameters": { |
|
939 | 961 | "storageAccountId": { |
940 | 962 | "type": "string", |
941 | 963 | "value": "[resourceId('Microsoft.Storage/storageAccounts', variables('storageNameCleaned'))]" |
| 964 | + }, |
| 965 | + "projectConnectionString": { |
| 966 | + "type": "string", |
| 967 | + "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 | 968 | } |
943 | 969 | } |
944 | 970 | } |
|
0 commit comments