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: docs/ai/ai-extensions.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,13 @@ ms.author: alexwolf
12
12
13
13
The .NET ecosystem provides abstractions for integrating AI services into .NET applications and libraries using the [`Microsoft.Extensions.AI`](https://www.nuget.org/packages/Microsoft.Extensions.AI) and [`Microsoft.Extensions.AI.Abstractions`](https://www.nuget.org/packages/Microsoft.Extensions.AI.Abstractions) libraries. The .NET team also enhanced the core `Microsoft.Extensions.*` libraries with these abstractions for .NET Generative AI applications and libraries. In the sections ahead, you learn:
14
14
15
-
- Core concepts and capabilities of the `Microsoft.Extensions.AI`and `Microsoft.Extensions.AI.Abstractions` libraries
16
-
- How to work with AI abstractions in your apps and the benefits they offer
17
-
- Essential AI middleware concepts
15
+
- Core concepts and capabilities of the `Microsoft.Extensions.AI`library.
16
+
- How to work with AI abstractions in your apps and the benefits they offer.
17
+
- Essential AI middleware concepts.
18
18
19
19
## What is the Microsoft.Extensions.AI library?
20
20
21
-
`Microsoft.Extensions.AI` is a set of core .NET libraries developed in collaboration with developers across the .NET ecosystem, including Semantic Kernel. These libraries provide a unified layer of C# abstractions for interacting with AI services, such as small and large language models (SLMs and LLMs), embeddings, and middleware.
21
+
`Microsoft.Extensions.AI` is a set of core .NET libraries created in collaboration with developers across the .NET ecosystem, including Semantic Kernel. These libraries provide a unified layer of C# abstractions for interacting with AI services, such as small and large language models (SLMs and LLMs), embeddings, and middleware.
22
22
23
23
:::image type="content" source="media/ai-extensions/meai-architecture-diagram.png" alt-text="An architectural diagram of the AI extensions libraries.":::
24
24
@@ -52,9 +52,11 @@ var response = await chatClient.CompleteAsync(
52
52
Console.WriteLine(response.Message);
53
53
```
54
54
55
-
These abstractions allow for idiomatic C# code for various scenarios with minimal code changes, whether you're using different services for development or production, addressing hybrid scenarios, or exploring other service providers. Library authors who implement these abstractions make their clients interoperable with the broader `Microsoft.Extensions.AI` ecosystem. Service-specific APIs remain accessible if needed, allowing consumers to code against the standard abstractions and pass through to proprietary APIs only when required.
55
+
These abstractions allow for idiomatic C# code for various scenarios with minimal code changes, whether you're using different services for development or production, addressing hybrid scenarios, or exploring other service providers.
56
56
57
-
As of this preview, `Microsoft.Extensions.AI` provides implementations for the following services:
57
+
Library authors who implement these abstractions make their clients interoperable with the broader `Microsoft.Extensions.AI` ecosystem. Service-specific APIs remain accessible if needed, allowing consumers to code against the standard abstractions and pass through to proprietary APIs only when required.
58
+
59
+
As of this preview, `Microsoft.Extensions.AI` provides implementations for the following services through additional packages:
58
60
59
61
-[OpenAI](https://aka.ms/meai-openai-nuget)
60
62
-[Azure OpenAI](https://aka.ms/meai-openai-nuget)
@@ -92,3 +94,7 @@ We have a set of samples in the [dotnet/ai-samples](https://aka.ms/meai-samples)
92
94
93
95
For an end-to-end sample using `Microsoft.Extensions.AI`, see [eShopSupport](https://github.com/dotnet/eShopSupport).
94
96
97
+
## Next Steps
98
+
99
+
-[Build an AI chat app with .NET](/dotnet/ai/quickstarts/get-started-openai)
100
+
-[Quickstart - Summarize text using Azure AI chat app with .NET](./quickstarts/quickstart-openai-summarize-text.md)
0 commit comments