Skip to content

Commit dbe038c

Browse files
author
Seth
committed
Merge branch 'main' into load-existing-connections
2 parents 2ce171f + efb5636 commit dbe038c

3 files changed

Lines changed: 40 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ The diagram below illustrates the capabilities included in the template.
3838
- Provides the ability to [add additional Azure services during deployment](docs/add_additional_services.md), configured to connect via isolation to enrich your AI project.
3939
(API Management, CosmosDB, Azure SQL DB)
4040

41+
- Provides the ability to [define the models deployed into the hub](docs/modify_deployed_models.md) when the deployment runs.
42+
4143
- Offers ability to start with an existing Azure AI Project which will provision dependant Azure resources based on the Project's established connections within AI Foundry.
4244

4345
## Prerequisites and high-level steps
@@ -100,9 +102,6 @@ You can estimate the cost of this project's architecture with [Azure's pricing c
100102

101103
This template has [Managed Identity](https://learn.microsoft.com/entra/identity/managed-identities-azure-resources/overview) built in to eliminate the need for developers to manage these credentials. Applications can use managed identities to obtain Microsoft Entra tokens without having to manage any credentials.
102104

103-
<h2>
104-
Supporting documents
105-
</h2>
106105

107106
## Resources
108107

docs/modify_deployed_models.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Update AI Model Deployments
2+
The AI Models that can be deployed and attached to the Foundry hub can be modified by changing the parameters within the [main.parameters.json](../infra/main.parameters.json) file.
3+
4+
By modifying the parameters listed in the parameters.json 'aiModelDeployments' section, additional or different models can be deployed with the solution and ready for use after the deployment. Simply modify the values to your liking in each of the objects, or add additional objects to the array.
5+
```powershell
6+
7+
8+
"aiModelDeployments": {
9+
"value": [
10+
{
11+
"name": "textembed",
12+
"model": {
13+
"name": modelName,
14+
"format": modelPublisherFormat,
15+
"version": modelVersion
16+
},
17+
"sku": {
18+
"name": skuName,
19+
"capacity": capacity
20+
}
21+
},
22+
{
23+
"name": "gpt",
24+
"model": {
25+
"name": "gpt-4o",
26+
"version": "2024-05-13",
27+
"format": "OpenAI"
28+
},
29+
"sku": {
30+
"name": "GlobalStandard",
31+
"capacity": 10
32+
}
33+
}
34+
]
35+
}
36+
```
37+
To find and validate additional model information, the [AI Foundry](https://ai.azure.com/explore/models) model page has the above parameters to refer to, as does the Microsoft Learn page for [Azure OpenAI Service Models](https://learn.microsoft.com/en-us/azure/ai-services/openai_) information.

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ targetScope = 'resourceGroup'
66
param name string
77

88
@description('Specifies the location for all the Azure resources. Defaults to the location of the resource group.')
9-
param location string = resourceGroup().location
9+
param location string
1010

1111
@description('Optional. Specifies the connections to be created for the Azure AI Hub workspace. The connections are used to connect to other Azure resources and services.')
1212
param connections connectionType[] = []

0 commit comments

Comments
 (0)