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/how-to/develop/sdk-overview.md
+65-8Lines changed: 65 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ ms.service: azure-ai-foundry
7
7
ms.custom:
8
8
- build-2024
9
9
- ignite-2024
10
-
ms.topic: overview
11
-
ms.date: 02/27/2025
10
+
ms.topic: how-to
11
+
ms.date: 03/27/2025
12
12
ms.reviewer: dantaylo
13
13
ms.author: sgilley
14
14
author: sdgilley
@@ -31,18 +31,75 @@ If you want to jump right in and start building an app, check out:
31
31
-[Create a chat app](../../quickstarts/get-started-code.md)
32
32
-[Create a custom RAG app](../../tutorials/copilot-sdk-create-resources.md)
33
33
34
-
## Get started with Projects
34
+
## Prerequisites
35
35
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:
37
39
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
+
```
39
43
40
-
Sign in with the Azure CLI using the same account that you use to access your AI Project:
44
+
## Install everything
41
45
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
44
80
```
45
81
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.
0 commit comments