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
Copy file name to clipboardExpand all lines: articles/ai-foundry/how-to/migrate-project.md
+39-38Lines changed: 39 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,15 +44,7 @@ New capabilities include:
44
44
45
45
## How to switch to Foundry project
46
46
47
-
In the following sections, we walk step-by-step by how you can move from [!INCLUDE [hub-project-name](../includes/hub-project-name.md)]s to [!INCLUDE [fdp-project-name](../includes/fdp-project-name.md)]s:
48
-
49
-
1.[Locate your existing AI Foundry resource](#locate)
50
-
1.[Create a project](#create-project) on the AI resource.
You'll use the AI Foundry Models resource from your [!INCLUDE [hub-project-name](../includes/hub-project-name.md)] to create new [!INCLUDE [fdp-project-name](../includes/fdp-project-name.md)]s.
47
+
You'll use the AI Foundry Models resource from your [!INCLUDE [hub-project-name](../includes/hub-project-name.md)] to create new [!INCLUDE [fdp-project-name](../includes/fdp-project-name.md)]s. This process allows you to keep work done on the resource in the new project type.
56
48
57
49
:::image type="content" source="../media/migrate-project/upgrade.svg" alt-text="Screenshot shows the upgrade path from hub based to Foundry project types.":::
58
50
@@ -69,6 +61,15 @@ Limitations:
69
61
- Your Preview Agent's state, including messages, thread, and files can't be moved. However, you can recreate your agent using code in your new project.
70
62
- Open-source model deployments aren't currently supported in Foundry projects.
71
63
64
+
In the following sections, we walk through how you can move from [!INCLUDE [hub-project-name](../includes/hub-project-name.md)]s to [!INCLUDE [fdp-project-name](../includes/fdp-project-name.md)]s:
65
+
66
+
1.[Locate your existing AI Foundry resource](#locate)
67
+
1.[Create a new project[!INCLUDE [hub-project-name](../includes/hub-project-name.md)]](#create-project) on the AI resource.
68
+
69
+
Once you have your new project, you might want to:
## <aname="locate"></a> 1. Locate your existing AI Foundry resource
74
75
@@ -107,7 +108,7 @@ Most Azure AI Foundry users already have an 'AI Foundry' (formerly called 'AI Se
107
108
108
109
---
109
110
110
-
## <aname="create-project"></a> 2. Create a project to build with agents
111
+
## <aname="create-project"></a> 2. Create your new project
111
112
112
113
New capabilities, including Agent service, are only accessible via projects, which organize your development work as a folder for each use case. You can create multiple of them, to organize the work for use cases with similar setup and connectivity requirements.
113
114
@@ -117,44 +118,44 @@ You can create a new project in one of two ways:
117
118
118
119
- In the Management center:
119
120
120
-
- In the left pane, select **Management center** to manage the Foundry resource.
121
-
- Select **Overview** under the **Resource** section.
122
-
- Select **New project** to create a project in this resource. This will create a [!INCLUDE [fdp-project-name](../includes/fdp-project-name.md)].
121
+
1. In the left pane, select **Management center** to manage the Foundry resource.
122
+
1. Select **Overview** under the **Resource** section.
123
+
1. Select **New project** to create a project in this resource. This will create a [!INCLUDE [fdp-project-name](../includes/fdp-project-name.md)].
123
124
124
125
:::image type="content" source="../media/migrate-project/create-project.png" alt-text="Screenshot of creating a project in management center.":::
125
126
126
-
- Once the project is created, in the left pane, select **Go to project**.
127
+
1. Once the project is created, in the left pane, select **Go to project**.
127
128
128
129
- In the **Agents** section of your resource:
129
130
130
-
- In the left pane, select **Agents**
131
-
- Since the resource doesn't yet have a project, you are prompted to create one.
131
+
1. In the left pane, select **Agents**
132
+
1. Since the resource doesn't yet have a project, you are prompted to create one.
132
133
133
134
:::image type="content" source="../media/migrate-project/create-from-agent.png" alt-text="Screenshot of Agents tab prompting to create a new Foundry project.":::
134
135
135
136
# [Azure portal](#tab/azure)
136
137
137
-
- In the left pane, select **Projects** under the **Resource management** section.
138
-
- Select **New** to create a new project.
139
-
- Supply a name and select **Create**.
138
+
1. In the left pane, select **Projects** under the **Resource management** section.
139
+
1. Select **New** to create a new project.
140
+
1. Supply a name and select **Create**.
140
141
141
142
:::image type="content" source="../media/migrate-project/new-project-azure-portal.png" alt-text="Screenshot of projects navigation in Azure portal.":::
142
143
143
144
# [Bicep](#tab/bicep)
144
145
145
-
- In your template, a project is declared as a child resource under your Foundry resource as shown in [this example](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup/42-basic-agent-setup-with-customization).
146
+
1. In your template, a project is declared as a child resource under your Foundry resource as shown in [this example](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup/42-basic-agent-setup-with-customization).
146
147
147
-
- By default, in the basic configuration, Agent service uses deployments and storage capabilities that come with your AI Foundry resource.
148
+
1. By default, in the basic configuration, Agent service uses deployments and storage capabilities that come with your AI Foundry resource.
148
149
149
-
- Optionally, Agent service supports the ability to use existing Azure OpenAI resources for model deployments, and to bring your own storage resources for storing threads, messages, and files. This is also referred as 'Standard' setup. See [this example](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup/43-standard-agent-setup-with-customization) for reference Bicep templates.
150
+
1. Optionally, Agent service supports the ability to use existing Azure OpenAI resources for model deployments, and to bring your own storage resources for storing threads, messages, and files. This is also referred as 'Standard' setup. See [this example](https://github.com/azure-ai-foundry/foundry-samples/tree/main/samples/microsoft/infrastructure-setup/43-standard-agent-setup-with-customization) for reference Bicep templates.
150
151
151
152
---
152
153
153
154
You're now ready to start building agents in general availability and with the latest capabilities. [Get started](/azure/ai-foundry/agents/quickstart?pivots=ai-foundry-portal) using SDK or Agent playground.
154
155
155
156
:::image type="content" source="../media/migrate-project/agent-playground.png" alt-text="Screenshot of agent building interface.":::
If your [!INCLUDE [hub-project-name](../includes/hub-project-name.md)] used connections to access tools, data sources, or models, you can recreate those connections on your Foundry resource, without the use of a hub.
160
161
@@ -174,7 +175,7 @@ Connections are now defined as instances of type *CognitiveServices/account/conn
Any code agents build using the preview of Agent service require the following upgrades as you move to Agent service in general availability on Foundry projects:
180
181
@@ -195,7 +196,7 @@ Any code agents build using the preview of Agent service require the following u
195
196
196
197
See the [SDK migration guide](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-projects/AGENTS_MIGRATION_GUIDE.md) on how to update your existing code.
197
198
198
-
## 5. (Optional) Clean up hub based projects
199
+
## (Optional) Clean up hub based projects
199
200
200
201
If you no longer require access to your [!INCLUDE [hub-project-name](../includes/hub-project-name.md)]s, delete them from your Azure subscription.
201
202
@@ -207,28 +208,28 @@ There are some reasons you might want to keep hubs and [!INCLUDE [hub-project-na
207
208
208
209
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
209
210
210
-
- In [Azure AI Foundry portal](https://ai.azure.com), open your [!INCLUDE [hub-project-name](../includes/hub-project-name.md)].
211
+
1. In [Azure AI Foundry portal](https://ai.azure.com), open your [!INCLUDE [hub-project-name](../includes/hub-project-name.md)].
211
212
212
-
- Select **Management center**.
213
-
- Select **Overview** under the **Hub** section.
214
-
- Select any projects you no longer want to keep.
215
-
- Select **Delete project**.
216
-
- Delete any projects you no longer want to keep.
217
-
- In the **Hub properties** section on the right, select **Delete hub**if you want to delete the hub andall its projects. This link will open the Azure portal for you to delete the hub.
213
+
1. Select **Management center**.
214
+
1. Select **Overview** under the **Hub** section.
215
+
1. Select any projects you no longer want to keep.
216
+
1. Select **Delete project**.
217
+
1. Delete any projects you no longer want to keep.
218
+
1. In the **Hub properties** section on the right, select **Delete hub**if you want to delete the hub andall its projects. This link will open the Azure portal for you to delete the hub.
218
219
219
220
# [Azure portal](#tab/azure)
220
221
221
-
- In [Azure portal](https://portal.azure.com), select the resource group that contains your [!INCLUDE [hub-project-name](../includes/hub-project-name.md)].
222
-
- Select the link for the **Azure AI hub** resource.
223
-
- Select **Delete** to delete the hub andall its associated projects.
222
+
1. In [Azure portal](https://portal.azure.com), select the resource group that contains your [!INCLUDE [hub-project-name](../includes/hub-project-name.md)].
223
+
1. Select the link for the **Azure AI hub** resource.
224
+
1. Select **Delete** to delete the hub andall its associated projects.
224
225
225
226
# [Bicep](#tab/bicep)
226
227
227
-
- Keep *CognitiveServices/account/kind=AIServices* resource type. This is your Foundry resource.
228
+
1. Keep *CognitiveServices/account/kind=AIServices* resource type. This is your Foundry resource.
228
229
229
-
- Remove *Microsoft.MachineLearningServices/workspace/kind=project*and*Microsoft.MachineLearningServices/workspace/kind=hub*from your template definition.
230
+
1. Remove *Microsoft.MachineLearningServices/workspace/kind=project*and*Microsoft.MachineLearningServices/workspace/kind=hub*from your template definition.
230
231
231
-
- Use alternative methods for resource deletion, since this isn't supported via Bicep.
232
+
1. Use alternative methods for resource deletion, since this isn't supported via Bicep.
0 commit comments