Skip to content

Commit 0702662

Browse files
authored
Merge pull request #5548 from sdgilley/sdg-update-qs
change flow of QS to start with model catalog
2 parents 45b84b9 + c3671c1 commit 0702662

File tree

2 files changed

+42
-46
lines changed

2 files changed

+42
-46
lines changed

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

Lines changed: 42 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,14 @@ The Azure AI Foundry SDK is available in multiple languages, including Python, J
3636
## Start with a project and model
3737

3838
1. Sign in to the [Azure AI Foundry portal](https://ai.azure.com/?cid=learnDocs).
39-
1. On the home page, select **Create an agent**.
39+
1. On the home page, search and then select the **gpt-4o** model.
4040

4141
:::image type="content" source="../media/quickstarts/start-building.png" alt-text="Screenshot shows how to start building an Agent in Azure AI Foundry portal.":::
4242

43+
1. On the model details page, select **Use this model**.
4344
1. Fill in a name to use for your project and select **Create**.
44-
1. Once your resources are created, you are in the agent playground.
45-
1. If you're asked to select a model, search for and select **gpt-4o**.
46-
1. Select **Confirm**.
47-
1. Don't change the default settings. Select **Deploy**.
45+
1. Once your resources are created, you are in the chat playground.
4846

49-
You now have both a project and a model available for your agent.
50-
5147
## Set up your environment
5248

5349
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
@@ -134,15 +130,53 @@ No installation is necessary to use the Azure AI Foundry portal.
134130
135131
---
136132
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 from the model.
136+
137+
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
138+
139+
1. In the chat playground, fill in the prompt and select the **Send** button.
140+
1. The model returns a response in the **Response** pane.
141+
142+
# [Python](#tab/python)
143+
144+
Substitute your endpoint for the `endpoint` in this code:
145+
146+
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="chat_completion":::
147+
148+
149+
# [Java (preview)](#tab/java)
150+
151+
:::code language="java" source="~/foundry-samples-main/samples/microsoft/java/mslearn-resources/quickstart/src/main/java/com/azure/ai/foundry/samples/ChatCompletionSample.java" :::
152+
153+
# [JavaScript (preview)](#tab/javascript)
154+
155+
:::code language="javascript" source="~/foundry-samples-main/samples/microsoft/javascript/mslearn-resources/quickstart/src/quickstart.js" id="chat_completion":::
156+
157+
158+
# [C#](#tab/csharp)
159+
160+
:::code language="csharp" source="~/foundry-samples-main/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/SimpleInference.cs" id="chat_completion":::
161+
162+
# [REST API](#tab/rest)
163+
164+
Replace `YOUR-FOUNDRY-RESOURCE-NAME` with your values:
165+
166+
:::code language="console" source="~/foundry-samples-main/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="chat_completion":::
167+
168+
---
137169
138170
## Chat with an agent
139171
140172
Agents have powerful capabilities through the use of tools. Start by chatting with an agent.
141173
142174
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
143175
144-
After the preceding steps, you're now in the agents playground.
176+
When you're ready to try an agent, a default agent is created for you. To chat with this agent:
145177
178+
1. On the left pane, select **Playgrounds**.
179+
1. In the **Agents playground** card, select **Let's go**.
146180
1. Add instructions, such as, "You are a helpful writing assistant."
147181
1. Start chatting with your agent, for example, "Write me a poem about flowers."
148182
@@ -218,44 +252,6 @@ Replace `YOUR-FOUNDRY-RESOURCE-NAME` and `YOUR-PROJECT-NAME` with your values:
218252
219253
---
220254
221-
## Run a chat completion
222-
223-
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.
224-
225-
# [Azure AI Foundry portal](#tab/azure-ai-foundry)
226-
227-
1. In the left pane, select **Playgrounds**.
228-
1. Select **Try the chat playground**.
229-
1. Fill in the prompt and select the **Send** button.
230-
1. The model returns a response in the **Response** pane.
231-
232-
# [Python](#tab/python)
233-
234-
Substitute your endpoint for the `endpoint` in this code:
235-
236-
:::code language="python" source="~/foundry-samples-main/samples/microsoft/python/mslearn-resources/quickstart/quickstart.py" id="chat_completion":::
237-
238-
239-
# [Java (preview)](#tab/java)
240-
241-
:::code language="java" source="~/foundry-samples-main/samples/microsoft/java/mslearn-resources/quickstart/src/main/java/com/azure/ai/foundry/samples/ChatCompletionSample.java" :::
242-
243-
# [JavaScript (preview)](#tab/javascript)
244-
245-
:::code language="javascript" source="~/foundry-samples-main/samples/microsoft/javascript/mslearn-resources/quickstart/src/quickstart.js" id="chat_completion":::
246-
247-
248-
# [C#](#tab/csharp)
249-
250-
:::code language="csharp" source="~/foundry-samples-main/samples/microsoft/csharp/mslearn-resources/quickstart/Samples/SimpleInference.cs" id="chat_completion":::
251-
252-
# [REST API](#tab/rest)
253-
254-
Replace `YOUR-FOUNDRY-RESOURCE-NAME` with your values:
255-
256-
:::code language="console" source="~/foundry-samples-main/samples/microsoft/REST/mslearn-resources/quickstart/quickstart.sh" id="chat_completion":::
257-
258-
---
259255
260256
## Clean up resources
261257
52.9 KB
Loading

0 commit comments

Comments
 (0)