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" />
<PackageReference Include="AWise.AiExtensionsForVertexAi" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=AWise.AiExtensionsForVertexAi&version=0.0.1-preview004&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
, likeIEmbeddingGenerator
. - 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 | Versions 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.
-
net9.0
- Google.Cloud.AIPlatform.V1 (>= 3.45.0)
- Microsoft.Extensions.AI.Abstractions (>= 9.9.0)
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 |