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/includes/get-started-fdp.md
+51-59Lines changed: 51 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,24 +30,20 @@ The Azure AI Foundry SDK is available in multiple languages, including Python, J
30
30
31
31
[!INCLUDE [feature-preview](feature-preview.md)]
32
32
33
-
## Create a [!INCLUDE [fdp-project-name](fdp-project-name.md)]
33
+
## Start with a project and model
34
34
35
35
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**.
37
37
38
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."::: -->
39
39
40
-
1. Fill in a name for your project and select **Create**.
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.
51
47
52
48
### Set up your environment
53
49
@@ -130,59 +126,17 @@ No installation is necessary to use the Azure AI Foundry portal.
130
126
131
127
---
132
128
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:
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. Write a simple chat completion code for an agent.
176
133
177
134
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
178
135
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 preceeding steps, you're now in the agents playground.
137
+
183
138
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."
186
140
187
141
# [Python](#tab/python)
188
142
@@ -252,6 +206,44 @@ Replace `YOUR-FOUNDRY-RESOURCE-NAME` and `YOUR-PROJECT-NAME` with your values:
252
206
253
207
---
254
208
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:
0 commit comments