Skip to content

Commit f0fd7ed

Browse files
committed
Merge branch 'ai-extensions' of https://github.com/alexwolfmsft/docs into ai-extensions
2 parents 0500a3b + d8f1dda commit f0fd7ed

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/ai/ai-extensions.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Unified AI building blocks for .NET
3-
description: Learn how to developer with unified AI building blocks for .NET using Microsoft.Extensions.AI and Microsoft.Extensions.AI.Abstractions libraries
3+
description: Learn how to develop with unified AI building blocks for .NET using Microsoft.Extensions.AI and Microsoft.Extensions.AI.Abstractions libraries
44
ms.date: 11/04/2024
55
ms.topic: quickstart
66
ms.custom: devx-track-dotnet, devx-track-dotnet-ai
@@ -52,11 +52,11 @@ var response = await chatClient.CompleteAsync(
5252
Console.WriteLine(response.Message);
5353
```
5454

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.
55+
These abstractions allow for idiomatic C# code for various scenarios with minimal code changes, whether you're using different services for development and production, addressing hybrid scenarios, or exploring other service providers.
5656

5757
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.
5858

59-
As of this preview, `Microsoft.Extensions.AI` provides implementations for the following services through additional packages:
59+
`Microsoft.Extensions.AI` provides implementations for the following services through additional packages:
6060

6161
- [OpenAI](https://aka.ms/meai-openai-nuget)
6262
- [Azure OpenAI](https://aka.ms/meai-openai-nuget)
@@ -67,7 +67,7 @@ In the future, implementations of these `Microsoft.Extensions.AI` abstractions w
6767

6868
## Middleware implementations for AI services
6969

70-
Connecting to and using AI services is just one aspect of building robust applications. Production-ready applications require additional features like telemetry, logging, and tool calling capabilities. The `Microsoft.Extensions.AI` abstractions enable developers to easily integrate these components into their applications using familiar patterns.
70+
Connecting to and using AI services is just one aspect of building robust applications. Production-ready applications require additional features like telemetry, logging, and tool calling capabilities. The `Microsoft.Extensions.AI` abstractions enable you to easily integrate these components into your applications using familiar patterns.
7171

7272
The following sample demonstrates how to register an OpenAI `IChatClient`. `IChatClient` allows you to attach the capabilities in a consistent way across various providers.
7373

@@ -80,21 +80,21 @@ app.Services.AddChatClient(builder => builder
8080
    .Use(new OpenAIClient(...)).AsChatClient(...));
8181
```
8282

83-
The capabilities demonstrated above are included in the `Microsoft.Extensions.AI` library, but they are only a small subset of the capabilities that can be layered in with this approach. .NET developers are able to expose many types of middleware to create powerful AI functionality.
83+
The capabilities demonstrated in this snippet are included in the `Microsoft.Extensions.AI` library, but they are only a small subset of the capabilities that can be layered in with this approach. .NET developers are able to expose many types of middleware to create powerful AI functionality.
8484

85-
## Building with Microsoft.Extensions.AI
85+
## Build with Microsoft.Extensions.AI
8686

8787
You can start building with `Microsoft.Extensions.AI` in the following ways:
8888

8989
- **Library Developers**: If you own libraries that provide clients for AI services, consider implementing the interfaces in your libraries. This allows users to easily integrate your NuGet package via the abstractions.
9090
- **Service Consumers**: If you're developing libraries that consume AI services, use the abstractions instead of hardcoding to a specific AI service. This approach gives your consumers the flexibility to choose their preferred service.
9191
- **Application Developers**: Use the abstractions to simplify integration into your apps. This enables portability across models and services, facilitates testing and mocking, leverages middleware provided by the ecosystem, and maintains a consistent API throughout your app, even if you use different services in different parts of your application.
9292
- **Ecosystem Contributors**: If you're interested in contributing to the ecosystem, consider writing custom middleware components.
93-
We have a set of samples in the [dotnet/ai-samples](https://aka.ms/meai-samples) GitHub repository to help you get started.
93+
To get started, see the samples in the [dotnet/ai-samples](https://aka.ms/meai-samples) GitHub repository.
9494

9595
For an end-to-end sample using `Microsoft.Extensions.AI`, see [eShopSupport](https://github.com/dotnet/eShopSupport).
9696

97-
## Next Steps
97+
## Next steps
9898

99-
- [Build an AI chat app with .NET](/dotnet/ai/quickstarts/get-started-openai)
99+
- [Build an AI chat app with .NET](./quickstarts/get-started-openai.md)
100100
- [Quickstart - Summarize text using Azure AI chat app with .NET](./quickstarts/quickstart-openai-summarize-text.md)

0 commit comments

Comments
 (0)