AWise.AiExtensionsForVertexAi 0.0.1-preview004

This is a prerelease version of AWise.AiExtensionsForVertexAi.
dotnet add package AWise.AiExtensionsForVertexAi --version 0.0.1-preview004
                    
NuGet\Install-Package AWise.AiExtensionsForVertexAi -Version 0.0.1-preview004
                    
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="AWise.AiExtensionsForVertexAi" Version="0.0.1-preview004" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AWise.AiExtensionsForVertexAi" Version="0.0.1-preview004" />
                    
Directory.Packages.props
<PackageReference Include="AWise.AiExtensionsForVertexAi" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AWise.AiExtensionsForVertexAi --version 0.0.1-preview004
                    
#r "nuget: AWise.AiExtensionsForVertexAi, 0.0.1-preview004"
                    
#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.
#:package AWise.AiExtensionsForVertexAi@0.0.1-preview004
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AWise.AiExtensionsForVertexAi&version=0.0.1-preview004&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=AWise.AiExtensionsForVertexAi&version=0.0.1-preview004&prerelease
                    
Install as a Cake Tool

A Microsoft.Extensions.AI wrapper for Vertex AI

WARNING: this is a work in progress

The Microsoft.Extensions.AI library provides an abstraction for large language model (LLM) APIs. This library provides an implementation of those abstractions defined in the Microsoft.Extensions.AI.Abstractions nuget package by wrapping the Google.Cloud.AIPlatform.V1 Nuget package.

TODO

  • Fix all TODOs in the code.
  • Add exception mapping. Currently we allow RpcException to bubble up. There might be something nicer we can do.
  • Add an implementation of interfaces besides IChatClient, like IEmbeddingGenerator.
  • Maybe a different name? The documentation for this API calls the product "Vertex AI" while the wrapped Nuget package is called "AI Platform".
  • Maybe wrap the Gemini API instead of Vertex AI? There are not existing client libraries for this, so this would be more difficult.
  • Consider NativeAOT / trimming compatibility, if the underlying libraries make it possible.
  • Adjust the target framework version to support the same frameworks as the Nuget packages we depend upon. If we add a in-support .NET Core target, we may want to take the same approach as Microsoft by emitting a warning on download frameworks supported by .NET Standard 2.0. See here.
Product Compatible and additional computed target framework versions.
.NET 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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1-preview004 169 9/14/2025
0.0.1-preview003 163 9/14/2025
0.0.1-preview001 168 9/14/2025