Microsoft.Extensions.AI 9.0.0-preview.9.24556.5

Prefix Reserved
This is a prerelease version of Microsoft.Extensions.AI.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.Extensions.AI --version 9.0.0-preview.9.24556.5                
NuGet\Install-Package Microsoft.Extensions.AI -Version 9.0.0-preview.9.24556.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Extensions.AI" Version="9.0.0-preview.9.24556.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Extensions.AI --version 9.0.0-preview.9.24556.5                
#r "nuget: Microsoft.Extensions.AI, 9.0.0-preview.9.24556.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Extensions.AI as a Cake Addin
#addin nuget:?package=Microsoft.Extensions.AI&version=9.0.0-preview.9.24556.5&prerelease

// Install Microsoft.Extensions.AI as a Cake Tool
#tool nuget:?package=Microsoft.Extensions.AI&version=9.0.0-preview.9.24556.5&prerelease                

Microsoft.Extensions.AI

Provides utilities for working with generative AI components.

Install the package

From the command-line:

dotnet add package Microsoft.Extensions.AI

Or directly in the C# project file:

<ItemGroup>
  <PackageReference Include="Microsoft.Extensions.AI" Version="[CURRENTVERSION]" />
</ItemGroup>

Usage Examples

Please refer to the README for the Microsoft.Extensions.AI.Abstractions package.

Feedback & Contributing

We welcome feedback and contributions in our GitHub repo.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (24)

Showing the top 5 NuGet packages that depend on Microsoft.Extensions.AI:

Package Downloads
Microsoft.SemanticKernel.Connectors.Ollama

Semantic Kernel connector for Ollama. Contains services for text generation, chat completion and text embeddings.

CommunityToolkit.Aspire.OllamaSharp

A .NET Aspire client integration for the OllamaSharp library.

Microsoft.SemanticKernel.Connectors.AzureAIInference

Semantic Kernel Model as a Service connectors for Azure AI Studio. Contains clients for chat completion, embeddings and text to image generation.

skUnit

A semantic unit testing engine for OpenAI and SemanticKernel plugins.

XiHan.Framework.AI

曦寒框架人工智能库

GitHub repositories (11)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Extensions.AI:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
dotnet/eShop
A reference .NET application implementing an eCommerce site
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
getcellm/cellm
Use LLMs in Excel formulas
dotnet/ai-samples
Version Downloads Last updated
9.3.0-preview.1.25114.11 197 2/16/2025
9.1.0-preview.1.25064.3 17,776 1/14/2025
9.0.1-preview.1.24570.5 47,456 11/21/2024
9.0.0-preview.9.24556.5 20,089 11/12/2024
9.0.0-preview.9.24525.1 22,633 10/26/2024
9.0.0-preview.9.24507.7 8,980 10/8/2024