Skip to content

Commit 1578fa9

Browse files
Merge pull request #3774 from sdgilley/sdg-freshness
add install all at top of article
2 parents b793d38 + 0f58617 commit 1578fa9

File tree

1 file changed

+65
-8
lines changed

1 file changed

+65
-8
lines changed

articles/ai-foundry/how-to/develop/sdk-overview.md

Lines changed: 65 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ms.service: azure-ai-foundry
77
ms.custom:
88
- build-2024
99
- ignite-2024
10-
ms.topic: overview
11-
ms.date: 02/27/2025
10+
ms.topic: how-to
11+
ms.date: 03/27/2025
1212
ms.reviewer: dantaylo
1313
ms.author: sgilley
1414
author: sdgilley
@@ -31,18 +31,75 @@ If you want to jump right in and start building an app, check out:
3131
- [Create a chat app](../../quickstarts/get-started-code.md)
3232
- [Create a custom RAG app](../../tutorials/copilot-sdk-create-resources.md)
3333

34-
## Get started with Projects
34+
## Prerequisites
3535

36-
The best way to get started using the Azure AI Foundry SDK is by using a project. AI projects connect together different data, assets, and services you need to build AI applications. The AI project client allows you to easily access these project components from your code by using a single connection string.
36+
* An Azure subscription. If you don't have one, create a [free account](https://azure.microsoft.com/free/).
37+
* [Create a project](../create-projects.md) if you don't have one already.
38+
* Sign in with the Azure CLI using the same account that you use to access your AI Project:
3739

38-
First follow steps to [create an AI Project](../create-projects.md) if you don't have one already.
40+
```bash
41+
az login
42+
```
3943

40-
Sign in with the Azure CLI using the same account that you use to access your AI Project:
44+
## Install everything
4145

42-
```bash
43-
az login
46+
Install all the Azure AI Foundry SDK packages as shown here, or install only the packages you need in the following sections.
47+
48+
::: zone pivot="programming-language-python"
49+
50+
1. Create a file named **requirements.txt**. Add the following packages to the file:
51+
52+
```txt
53+
azure-ai-projects
54+
azure-identity
55+
openai
56+
azure-ai-inference
57+
azure-search-documents
58+
azure-ai-evaluation
59+
azure-monitor-opentelemetry
60+
```
61+
62+
1. Install the packages:
63+
64+
```bash
65+
pip install -r requirements.txt
66+
```
67+
68+
---
69+
70+
::: zone-end
71+
72+
::: zone pivot="programming-language-csharp"
73+
74+
```dotnet
75+
dotnet add package Azure.AI.Projects
76+
dotnet add package Azure.Identity
77+
dotnet add package Azure.AI.OpenAI
78+
dotnet add package Azure.AI.Inference
79+
dotnet add package Azure.Search.Documents
4480
```
4581

82+
Add using statements:
83+
84+
```csharp
85+
using Azure.Identity;
86+
using Azure.AI.Projects;
87+
using OpenAI.Chat;
88+
using Azure.AI.OpenAI;
89+
using Azure.AI.Inference;
90+
using Azure.Search.Documents;
91+
using Azure.Search.Documents.Models;
92+
```
93+
94+
---
95+
96+
::: zone-end
97+
98+
99+
## Get started with projects
100+
101+
The best way to get started using the Azure AI Foundry SDK is by using a project. AI projects connect together different data, assets, and services you need to build AI applications. The AI project client allows you to easily access these project components from your code by using a single connection string.
102+
46103
Install the Azure AI projects client library:
47104

48105
::: zone pivot="programming-language-python"

0 commit comments

Comments
 (0)