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: learn-pr/wwl-data-ai/foundry-sdk/07-knowledge-check.yml
+14-6Lines changed: 14 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11,29 +11,37 @@ metadata:
11
11
ai-usage: ai-generated
12
12
ms.collection:
13
13
- wwl-ai-copilot
14
+
zone_pivot_groups: video-or-text
14
15
durationInMinutes: 5
15
16
quiz:
16
17
title: Check your knowledge
17
18
questions:
18
-
- content: Which endpoint offers the broadest support for OpenAI APIs with Foundry Models?
19
+
- content: Which endpoint offers the broadest support for OpenAI APIs with Foundry
20
+
Models?
19
21
choices:
20
22
- content: The Foundry project endpoint
21
23
isCorrect: false
22
-
explanation: Incorrect. The Foundry Project endpoint is used for Foundry-native operations, and OpenAI API support for the Responses API with Foundry direct models.
24
+
explanation: Incorrect. The Foundry Project endpoint is used for Foundry-native
25
+
operations, and OpenAI API support for the Responses API with
26
+
Foundry direct models.
23
27
- content: The Azure OpenAI endpoint
24
28
isCorrect: true
25
-
explanation: Correct. The Azure OpenAI endpoint provides broad support for OpenAI APIs with Foundry Models.
29
+
explanation: Correct. The Azure OpenAI endpoint provides broad support for
30
+
OpenAI APIs with Foundry Models.
26
31
- content: The Foundry Tools endpoint
27
32
isCorrect: false
28
-
explanation: Incorrect. Foundry Tools do not provide broad support for OpenAI APIs with Foundry Models.
29
-
- content: Which package must you install to use the Microsoft Foundry SDK in Python?
33
+
explanation: Incorrect. Foundry Tools do not provide broad support for OpenAI
34
+
APIs with Foundry Models.
35
+
- content: Which package must you install to use the Microsoft Foundry SDK in
36
+
Python?
30
37
choices:
31
38
- content: Package `azure-foundry`
32
39
isCorrect: false
33
40
explanation: Incorrect. This package doesn't exist.
34
41
- content: Package `azure-ai-projects`
35
42
isCorrect: true
36
-
explanation: Correct. The `azure-ai-projects` package provides the Microsoft Foundry SDK for Python.
43
+
explanation: Correct. The `azure-ai-projects` package provides the Microsoft
44
+
Foundry SDK for Python.
37
45
- content: Package `microsoft-foundry-sdk`
38
46
isCorrect: false
39
47
explanation: Incorrect. This package doesn't exist.
Developers creating AI solutions with Microsoft Foundry need to work with a combination of services and software frameworks. When developing a generative AI chat application, you can choose from a range of options to write the code needed to build effective AI apps on Azure.
2
10
3
11
In this module, you'll learn how to choose the appropriate endpoint, SDK, authentication, and chat API options to build a generative AI chat application.
4
12
13
+
::: zone-end
14
+
5
15
> [!NOTE]
16
+
> We recognize that different people like to learn in different ways. You can choose to complete this module in video-based format or you can read the content as text and images. The text contains greater detail than the videos, so in some cases you might want to refer to it as supplemental material to the video presentation.
17
+
18
+
> [!CAUTION]
6
19
> Some Microsoft Foundry features are currently in preview. Details described in this module are subject to change.
> See the **Text and images** tab for more details!
7
+
8
+
::: zone-end
9
+
10
+
::: zone pivot="text"
1
11
Before you write code to build a generative AI chat application, it's helpful to explore what your project can do through the Foundry portal. The portal provides interactive tools for testing models and generating code samples that you can use as starting points for your applications.
2
12
3
13
[](../media/foundry-playground.png#lightbox)
@@ -41,3 +51,5 @@ The typical workflow for building an AI application with Microsoft Foundry looks
41
51
This approach lets you quickly prototype and validate your ideas before investing time in development.
42
52
43
53
In the next unit, you'll learn about the available endpoints and SDKs you can use to develop a client application.
> See the **Text and images** tab for more details!
7
+
8
+
::: zone-end
9
+
10
+
::: zone pivot="text"
1
11
Microsoft Foundry provides flexibility for developing generative AI chat applications. Before you start development, it's important to understand the options that are available, and how to decide which of them to use. Some considerations for developing an application include:
2
12
3
13
-**Endpoints**: Microsoft Foundry projects provide two endpoints that you can use to connect to and consume project assets, such as model deployments, from client applications. Each project has both a *Project endpoint* and an *Azure OpenAI endpoint*.
@@ -193,3 +203,5 @@ Use the OpenAI SDK when you need maximum compatibility with the OpenAI API:
193
203
The OpenAI SDK is ideal for model inference workloads where you want existing OpenAI code to work with minimal changes. However, this approach doesn't provide Foundry-specific features like agents or evaluations.
194
204
195
205
Microsoft Foundry gives you flexibility in how you build AI applications. Use the Foundry SDK with `AIProjectClient` when you need project-level features like agents, evaluations, tracing, and connections. Use the OpenAI SDK when you need straightforward model inference with maximum OpenAI compatibility. Both SDKs work with your Foundry project endpoint, so you can combine them as needed in your applications. You can also use both SDKs together in the same application—the Foundry SDK for project features and the OpenAI SDK for model inference.
0 commit comments