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-studio/how-to/develop/sdk-overview.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,21 +19,21 @@ The Azure AI Foundry SDK is a comprehensive toolchain designed to simplify the d
19
19
20
20
- Access popular models from various model providers through a single interface
21
21
- Easily combine together models, data, and AI services to build AI-powered applications
22
-
- Evaluate, debug and improve application quality & safety across development, testing, and production environments
22
+
- Evaluate, debug, and improve application quality & safety across development, testing, and production environments
23
23
24
-
The AI Foundry SDK is a set of packages and services designed to work well together. You can use the Azure AI Projects client library to easily use multiple services through a single project client and connection string. You can also use services and SDKs on their own and connect directly to your services.
24
+
The AI Foundry SDK is a set of packages and services designed to work together. You can use the Azure AI Projects client library to easily use multiple services through a single project client and connection string. You can also use services and SDKs on their own and connect directly to your services.
25
25
26
26
If you want to jump right in and start building an app, check out:
27
27
-[Create a chat app](../../quickstarts/get-started-code.md)
28
28
-[Create a custom RAG app](../../tutorials/copilot-sdk-create-resources.md)
29
29
30
30
## Get started with Projects
31
31
32
-
The best way to get started using the Azure AI Foundry SDK is by using a project. AI projects connects 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.
32
+
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.
33
33
34
34
First follow steps to [create an AI Project](../create-projects.md) if you don't have one already.
35
35
36
-
Login with the Azure CLI using the same account that you use to access your AI Project:
36
+
Sign in with the Azure CLI using the same account that you use to access your AI Project:
37
37
38
38
```
39
39
az login
@@ -83,7 +83,7 @@ Be sure to check out the [reference](https://aka.ms/azsdk/azure-ai-projects/pyth
83
83
84
84
## Azure OpenAI Service
85
85
86
-
If you have existing code that leverages the OpenAI SDK, you can use the project client to create an ```AzureOpenAI``` client that leverages your project's Azure OpenAI connection.
86
+
If you have existing code that uses the OpenAI SDK, you can use the project client to create an ```AzureOpenAI``` client that uses your project's Azure OpenAI connection.
87
87
```
88
88
pip install openai
89
89
```
@@ -135,13 +135,13 @@ response = chat.complete(
135
135
print(response.choices[0].message.content)
136
136
```
137
137
138
-
You can change the model name to any model that you have deployed to the inference service or Azure OpenAI service.
138
+
You can change the model name to any model that you deployed to the inference service or Azure OpenAI service.
139
139
140
140
To learn more about using the Azure AI inferencing client, check out the [Azure AI model inferencing reference](/azure/ai-studio/reference/reference-model-inference-api).
141
141
142
142
## Prompt Templates
143
143
144
-
The inferencing client supports for creating prompt messages from templates, this allows you to dynamically generate prompts using inputs that are available at runtime.
144
+
The inferencing client supports for creating prompt messages from templates. The template allows you to dynamically generate prompts using inputs that are available at runtime.
145
145
146
146
To use prompt templates, install the `azure-ai-inferencing` package:
This will output messages that you can then pass to a chat completions call:
172
+
This code outputs messages that you can then pass to a chat completions call:
173
173
174
174
```text
175
175
[
@@ -180,7 +180,7 @@ This will output messages that you can then pass to a chat completions call:
180
180
181
181
NOTE: leading whitespace is automatically trimmed from input strings.
182
182
183
-
You can also load prompts from a [Prompty](https://prompty.ai) file, enabling you to also load the model name and parameters from the `.prompty` file:
183
+
You can also load prompts from a [`Prompty`](https://prompty.ai) file, enabling you to also load the model name and parameters from the `.prompty` file:
184
184
185
185
```Python
186
186
from azure.ai.inference.prompts import PromptTemplate
@@ -236,13 +236,13 @@ To learn more about using Azure AI Search, check out [Azure AI Search documentat
236
236
237
237
## Azure AI agents runtime
238
238
239
-
Azure AI Agent Service is a fully-managed service designed to empower developers to securely build, deploy, and scale high-quality, and extensible AI agents. Leveraging an extensive ecosystem of models, tools and capabilities from OpenAI, Microsoft, and third-party providers, Azure AI Agent Service enables building agents for a wide range of generative AI use cases.
239
+
Azure AI Agent Service is a fullymanaged service designed to empower developers to securely build, deploy, and scale high-quality, and extensible AI agents. Using an extensive ecosystem of models, tools and capabilities from OpenAI, Microsoft, and third-party providers, Azure AI Agent Service enables building agents for a wide range of generative AI use cases.
240
240
241
241
To get access to agents, [sign-up for the private preview](TODO).
242
242
243
243
## Evaluation
244
244
245
-
You can leverage the project client to easily connect to the Azure AI evaluation service, and models needed for running your evaluators.
245
+
You can use the project client to easily connect to the Azure AI evaluation service, and models needed for running your evaluators.
246
246
247
247
Using the ```project.scope``` parameter, we can easily instantiate a ```ViolenceEvaluator```:
248
248
```Python
@@ -277,7 +277,7 @@ if application_insights_connection_string:
277
277
278
278
## Related content
279
279
280
-
Below are some helpful links to additional services and frameworks that you can use with the Azure AI Foundry SDK.
280
+
Below are some helpful links to other services and frameworks that you can use with the Azure AI Foundry SDK.
0 commit comments