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
+32-27Lines changed: 32 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,36 @@ The Azure AI Foundry SDK is available in multiple languages, including Python, J
30
30
- An [Azure subscription](https://azure.microsoft.com/free/). If you don't have an Azure subscription, create a free account before you begin.
31
31
- You must be **Owner** of the subscription to receive the appropriate access control needed to use your project.
32
32
33
+
34
+
35
+
## Create a [!INCLUDE [fdp-project-name](fdp-project-name.md)]
36
+
37
+
Use either the Azure AI Foundry portal or Azure CLI to create a project.
38
+
39
+
1. Sign in to the [Azure AI Foundry portal](https://ai.azure.com).
40
+
1. On the home page, select **Create the future**. This creates a project and also include steps to start working with a basic Agent.
41
+
42
+
:::image type="content" source="../media/quickstarts/start-building.png" alt-text="Screenshot shows how to start building an Agent in Azure AI Foundry portal.":::
43
+
44
+
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 the future** link, you're next prompted to deploy a model.
51
+
1. Or else, sign in to the [Azure AI Foundry portal](https://ai.azure.com), select your project, and select **Model catalog**.
52
+
1. Search for the model you want to deploy. For this quickstart, select **gpt-4o**.
53
+
1. Select **Confirm**.
54
+
1. Don't change the default settings. Select **Deploy**.
55
+
33
56
### Set up your environment
34
57
35
58
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
36
59
37
60
No installation is necessary to use the Azure AI Foundry portal.
38
61
39
-
# [Python SDK](#tab/python)
62
+
# [Python](#tab/python)
40
63
41
64
1.[Install Python and Azure CLI](../how-to/develop/install-cli-sdk.md?pivots=programming-language-python)
42
65
1. Install these packages:
@@ -95,29 +118,10 @@ No installation is necessary to use the Azure AI Foundry portal.
95
118
96
119
---
97
120
98
-
## Create a [!INCLUDE [fdp-project-name](fdp-project-name.md)]
99
-
100
-
Use either the Azure AI Foundry portal or Azure CLI to create a project.
101
-
102
-
1. Sign in to the [Azure AI Foundry portal](https://ai.azure.com).
103
-
1. On the home page, select **Create the future**. This creates a project and also include steps to start working with a basic Agent.
104
-
105
-
:::image type="content" source="../media/quickstarts/start-building.png" alt-text="Screenshot shows how to start building an Agent in Azure AI Foundry portal.":::
106
-
107
-
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 the future** link, you're next prompted to deploy a model.
114
-
1. Or else, sign in to the [Azure AI Foundry portal](https://ai.azure.com), select your project, and select **Model catalog**.
115
-
1. Search for the model you want to deploy. For this quickstart, select **gpt-4o**.
116
-
1. Select **Confirm**.
117
-
1. Don't change the default settings. Select **Deploy**.
118
-
119
121
## Run a chat completion
120
122
123
+
Chat completions are the basic building block of AI applications. Using chat completions you can send a list of messages and get a response.
124
+
121
125
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
122
126
123
127
1. If you used **Create the future** 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.
@@ -126,7 +130,7 @@ Use either the Azure AI Foundry portal or Azure CLI to create a project.
126
130
1. Fill in the prompt and select the **Send** button.
127
131
1. The model returns a response in the **Response** pane.
128
132
129
-
# [Python SDK](#tab/python)
133
+
# [Python](#tab/python)
130
134
131
135
Substitute your value for the endpoint in this code:
132
136
@@ -150,6 +154,8 @@ Substitute your value for the endpoint in this code:
150
154
151
155
## Create and run an agent
152
156
157
+
Agents allow more powerful capabilities through the use of tools. First, let's write the same chat completion code using agents.
158
+
153
159
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
154
160
155
161
1. In your project, on the left pane, select **Agents**.
@@ -160,7 +166,7 @@ Substitute your value for the endpoint in this code:
160
166
1. At the top of the **Setup** pane, select **Try in playground**.
161
167
1. Start chatting with your agent, for example, "Write me a poem about flowers"
@@ -180,8 +186,7 @@ Substitute your value for the endpoint in this code:
180
186
181
187
## Add files to the agent
182
188
183
-
184
-
Enable your agent to search and retrieve information from a provided file.
189
+
Now let's add a file search tool that enables us to do knowledge retrieval.
185
190
186
191
* Download [product_info_1.md](https://github.com/azure-ai-foundry/foundry-samples/blob/main/samples/microsoft/data/product_info_1.md) to give to your agent.
187
192
@@ -197,7 +202,7 @@ Enable your agent to search and retrieve information from a provided file.
197
202
1. Ask a question, such as, "Hello, what Contoso products do you know?"
198
203
1. To add more files, select the **...** on the AgentVectorStore, then select **Manage**.
0 commit comments