Skip to content

Commit cc88b1a

Browse files
authored
Merge pull request #5082 from sdgilley/sdg-patches
change create projects and QS
2 parents b9e0187 + f411187 commit cc88b1a

File tree

7 files changed

+78
-78
lines changed

7 files changed

+78
-78
lines changed

articles/ai-foundry/how-to/create-projects.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.custom:
99
- build-2024
1010
- ignite-2024
1111
ms.topic: how-to
12-
ms.date: 04/11/2025
12+
ms.date: 05/20/2025
1313
ms.reviewer: deeikele
1414
ms.author: sgilley
1515
author: sdgilley
@@ -19,7 +19,7 @@ zone_pivot_groups: project-type
1919

2020
# Create a project for Azure AI Foundry
2121

22-
This article describes how to create an [Azure AI Foundry](https://ai.azure.com) project. Projects are folders that let you organize your work for exploring new ideas, and as you're prototyping on a particular use cases.
22+
This article describes how to create an [Azure AI Foundry](https://ai.azure.com) project. Projects let you organize your work for exploring new ideas and as you prototype on a particular use cases.
2323

2424
Azure AI Foundry supports two types of projects: a **[!INCLUDE [fdp](../includes/fdp-project-name.md)]** and a **[!INCLUDE [hub](../includes/hub-project-name.md)]**. For more information about the differences between these two project types, see [Types of projects](../what-is-azure-ai-foundry.md#project-types).
2525

@@ -70,7 +70,7 @@ Use the following tabs to select the method you plan to use to create a [!INCLUD
7070

7171
---
7272

73-
## Create a project
73+
## Create a [!INCLUDE [hub-project-name](../includes/hub-project-name.md)]
7474

7575
# [Azure AI Foundry portal](#tab/ai-foundry)
7676

@@ -129,7 +129,7 @@ On the project **Overview** page, you can find information about the project.
129129

130130
:::image type="content" source="../media/how-to/projects/project-settings.png" alt-text="Screenshot of an Azure AI Foundry project settings page." lightbox = "../media/how-to/projects/project-settings.png":::
131131

132-
- Name: The name of the project appears in the top left corner. You can rename the project using the edit tool.
132+
- Name: The name of the project appears in the top left corner.
133133
- Subscription: The subscription that hosts the hub that hosts the project.
134134
- Resource group: The resource group that hosts the hub that hosts the project.
135135

articles/ai-foundry/includes/create-project-fdp.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.custom: include
1818
* This project type gives you the best support for:
1919

2020
* Agents
21-
* AI Model Inference including Azure Open AI
21+
* AI Model Inference including Azure OpenAI
2222
* AI Foundry API that works with agents and across models
2323
* Project files (directly upload files and start experimenting)
2424
* Evaluations
@@ -51,21 +51,29 @@ Use the following tabs to select the method you plan to use to create a [!INCLUD
5151

5252
---
5353

54-
## Create a project
54+
## Create a [!INCLUDE [fdp-project-name](fdp-project-name.md)]
5555

5656
# [Azure AI Foundry portal](#tab/ai-foundry)
5757

5858
To create a [!INCLUDE [fdp-project-name](fdp-project-name.md)] in [Azure AI Foundry](https://ai.azure.com), follow these steps:
5959

60-
1. Go to [Azure AI Foundry](https://ai.azure.com). If you are in a project, select **Azure AI Foundry** at the top left of the page to go to the **Home** page.
61-
1. In the middle of the page, select **Start building**. This creates a project and also include steps to start working with a basic agent.
62-
1. Or select **+ Create project** in the top right corner of the page if you have existing projects. This creates the project alone, without extra steps to start working with an agent.
63-
1. Enter a name for the project.
64-
1. Select **Create**. Or, if you want to customize your settings, follow the steps in the next section.
60+
1. Go to [Azure AI Foundry](https://ai.azure.com).
61+
62+
2. What you do next depends on where you are:
63+
64+
* **If you don't have any existing projects**: Follow the steps in [Quickstart: Get started with Azure AI Foundry](../quickstarts/get-started-code.md) to create your first project.
65+
66+
* **If you're in a project**: Select the project breadcrumb, then select **Create new resource**.
67+
68+
:::image type="content" source="../media/how-to/projects/create-new-resource.png" alt-text="Screenshot shows creating a new project from a breadcrumb.":::
69+
70+
* **If you're not in a project**: Select **Create new** in the top right to create a new [!INCLUDE [fdp-project-name-plural](fdp-project-name.md)]
71+
72+
:::image type="content" source="../media/how-to/projects/create-new.png" alt-text="Screenshot shows how to create a new project in Azure AI Foundry.":::
6573

6674
### Advanced options
6775

68-
A [!INCLUDE [fdp-project-name](fdp-project-name.md)] is created on an `AIServices` resource. This resource is created for you automatically when you create the project.
76+
A [!INCLUDE [fdp-project-name](fdp-project-name.md)] is created on an `AI Foundry` resource. This resource is created for you automatically when you create the project.
6977

7078
To customize the settings for your project, follow these steps:
7179

@@ -166,9 +174,9 @@ To create a [!INCLUDE [fdp](../includes/fdp-project-name.md)]:
166174
[!INCLUDE [cli-create-project](cli-create-project.md)]
167175
-->
168176

169-
---
177+
CLI commands not currently available for creating a [!INCLUDE [fdp-project-name](fdp-project-name.md)].
170178

171-
CLI comannds not currently available for creating a [!INCLUDE [fdp-project-name](fdp-project-name.md)].
179+
---
172180

173181
## Create multiple projects on the same resource
174182

@@ -180,7 +188,7 @@ CLI comannds not currently available for creating a [!INCLUDE [fdp-project-name]
180188

181189
On the project **Home** page, you can find information about the project.
182190

183-
- Name: The name of the project appears in the top left corner. You can rename the project using the edit tool.
191+
- Name: The name of the project appears in the top left corner.
184192
- Subscription: The subscription that hosts the hub that hosts the project.
185193
- Resource group: The resource group that hosts the hub that hosts the project.
186194

articles/ai-foundry/includes/create-second-fdp-project.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom: include, build-2024, ignite-2024
1111
---
1212

1313

14-
Create multiple [!INCLUDE [fdp-project-name-plural](fdp-project-name-plural.md)] on an existing `AI Services` resource, so you can share your environment with your team for collaboration.
14+
Create multiple [!INCLUDE [fdp-project-name-plural](fdp-project-name-plural.md)] on an existing `AI Foundry` resource, so you can share your environment with your team for collaboration.
1515

1616
[!INCLUDE [fdp-project-name-plural](fdp-project-name-plural.md)] as Azure child resources may get assigned their own access controls, but share common settings such as network security, deployments, and Azure tool integration from their parent resource.
1717

@@ -72,7 +72,7 @@ Your first project (default project) plays a special role and has access to more
7272
az cognitiveservices account project create --resource-group {my_resource_group} --name {my_project_name} --account-name {foundry_resource_name}
7373
```
7474
-->
75-
CLI comannds not currently available for creating a [!INCLUDE [fdp-project-name](fdp-project-name.md)].
75+
CLI commands not currently available for creating a [!INCLUDE [fdp-project-name](fdp-project-name.md)].
7676

7777
---
7878

articles/ai-foundry/includes/get-started-fdp.md

Lines changed: 53 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,20 @@ The Azure AI Foundry SDK is available in multiple languages, including Python, J
3030

3131
[!INCLUDE [feature-preview](feature-preview.md)]
3232

33-
## Create a [!INCLUDE [fdp-project-name](fdp-project-name.md)]
33+
## Start with a project and model
3434

3535
1. Sign in to the [Azure AI Foundry portal](https://ai.azure.com).
36-
1. On the home page, select **Create an agent**. This creates a project and also include steps to start working with a basic Agent.
36+
1. On the home page, select **Create an agent**.
3737

38-
<!-- :::image type="content" source="../media/quickstarts/start-building.png" alt-text="Screenshot shows how to start building an Agent in Azure AI Foundry portal."::: -->
38+
:::image type="content" source="../media/quickstarts/start-building.png" alt-text="Screenshot shows how to start building an Agent in Azure AI Foundry portal.":::
3939

40-
1. Fill in a name for your project and select **Create**.
41-
42-
## Deploy a model
43-
44-
[!INCLUDE [tip-left-pane](../includes/tip-left-pane.md)]
45-
46-
1. If you just used the Azure AI Foundry portal to create the project with the **Create an agent** link, you'll already have a default **gpt-4o** model deployed.
47-
1. Or else, sign in to the [Azure AI Foundry portal](https://ai.azure.com), select your project, and select **Model catalog**.
48-
1. Search for the model you want to deploy. For this quickstart, select **gpt-4o**.
49-
1. Select **Confirm**.
50-
1. Don't change the default settings. Select **Deploy**.
40+
1. Fill in a name to use for your project and select **Create**.
41+
1. Once your resources are created, you are in the agent playground.
42+
1. If you're asked to select a model, search for and select **gpt-4o**.
43+
1. Select **Confirm**.
44+
1. Don't change the default settings. Select **Deploy**.
45+
46+
You now have both a project and a model available for your agent.
5147

5248
### Set up your environment
5349

@@ -130,59 +126,17 @@ No installation is necessary to use the Azure AI Foundry portal.
130126
131127
---
132128
133-
## Run a chat completion
134-
135-
Chat completions are the basic building block of AI applications. Using chat completions you can send a list of messages and get a response.
136-
137-
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
138-
139-
1. If you used **Create an agent** to create the project, you'll now find yourself in the Agents playground, ready to try it out. You'll come back here in a moment, but first let's play with the model.
140-
1. In the left pane, select **Playgrounds**.
141-
1. Select **Try the chat playground**.
142-
1. Fill in the prompt and select the **Send** button.
143-
1. The model returns a response in the **Response** pane.
144-
145-
# [Python](#tab/python)
146-
147-
Substitute your value for the endpoint in this code:
148-
149-
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="chat_completion":::
150-
151129
152-
# [Java (preview)](#tab/java)
153-
154-
:::code language="java" source="~/foundry-samples-main/samples/microsoft/java/mslearn-resources/quickstart/src/main/java/com/azure/ai/foundry/samples/ChatCompletionSample.java" :::
155-
156-
# [JavaScript (preview)](#tab/javascript)
157-
158-
:::code language="javascript" source="~/foundry-samples-main/samples/microsoft/javascript/mslearn-resources/quickstart/src/quickstart.js" id="chat_completion":::
159-
160-
161-
# [C#](#tab/csharp)
162-
163-
:::code language="csharp" source="~/foundry-samples-main/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/SimpleInference.cs" id="chat_completion":::
164-
165-
# [REST API](#tab/rest)
166-
167-
Replace `YOUR-FOUNDRY-RESOURCE-NAME` with your values:
168-
169-
:::code language="console" source="~/foundry-samples-main/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="chat_completion":::
170-
171-
---
130+
## Chat with an agent
172131
173-
## Create and run an agent
174-
175-
Agents allow more powerful capabilities through the use of tools. First, let's write the same chat completion code using agents.
132+
Agents have powerful capabilities through the use of tools. Start by chatting with an agent.
176133
177134
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
178135
179-
1. In your project, on the left pane, select **Agents**.
180-
1. Select the agent created with the project.
181-
1. If you didn't create one with your project, select **New agent** to create an agent now.
182-
1. On the right **Setup** pane, change the name if you'd like.
136+
After the preceding steps, you're now in the agents playground.
137+
183138
1. Add instructions, such as, "You are a helpful writing assistant."
184-
1. At the top of the **Setup** pane, select **Try in playground**.
185-
1. Start chatting with your agent, for example, "Write me a poem about flowers"
139+
1. Start chatting with your agent, for example, "Write me a poem about flowers."
186140
187141
# [Python](#tab/python)
188142
@@ -252,6 +206,44 @@ Replace `YOUR-FOUNDRY-RESOURCE-NAME` and `YOUR-PROJECT-NAME` with your values:
252206
253207
---
254208
209+
## Run a chat completion
210+
211+
Chat completions are the basic building block of AI applications. Using chat completions you can send a list of messages and get a response from the model instead of the agent.
212+
213+
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
214+
215+
1. In the left pane, select **Playgrounds**.
216+
1. Select **Try the chat playground**.
217+
1. Fill in the prompt and select the **Send** button.
218+
1. The model returns a response in the **Response** pane.
219+
220+
# [Python](#tab/python)
221+
222+
Substitute your value for the endpoint in this code:
223+
224+
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="chat_completion":::
225+
226+
227+
# [Java (preview)](#tab/java)
228+
229+
:::code language="java" source="~/foundry-samples-main/samples/microsoft/java/mslearn-resources/quickstart/src/main/java/com/azure/ai/foundry/samples/ChatCompletionSample.java" :::
230+
231+
# [JavaScript (preview)](#tab/javascript)
232+
233+
:::code language="javascript" source="~/foundry-samples-main/samples/microsoft/javascript/mslearn-resources/quickstart/src/quickstart.js" id="chat_completion":::
234+
235+
236+
# [C#](#tab/csharp)
237+
238+
:::code language="csharp" source="~/foundry-samples-main/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/SimpleInference.cs" id="chat_completion":::
239+
240+
# [REST API](#tab/rest)
241+
242+
Replace `YOUR-FOUNDRY-RESOURCE-NAME` with your values:
243+
244+
:::code language="console" source="~/foundry-samples-main/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="chat_completion":::
245+
246+
---
255247
256248
## Clean up resources
257249
64.8 KB
Loading
83.7 KB
Loading
346 KB
Loading

0 commit comments

Comments
 (0)