Mscc.GenerativeAI
3.1.0
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
dotnet add package Mscc.GenerativeAI --version 3.1.0
NuGet\Install-Package Mscc.GenerativeAI -Version 3.1.0
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="Mscc.GenerativeAI" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mscc.GenerativeAI" Version="3.1.0" />
<PackageReference Include="Mscc.GenerativeAI" />
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 Mscc.GenerativeAI --version 3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mscc.GenerativeAI, 3.1.0"
#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 Mscc.GenerativeAI@3.1.0
#: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=Mscc.GenerativeAI&version=3.1.0
#tool nuget:?package=Mscc.GenerativeAI&version=3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Gemini API Client for .NET and ASP.NET Core
<picture> <img alt="Gemini SDK for .NET" src="./docs/images/GeminiNET.png" /> </picture>
Access and integrate the Gemini API into your .NET applications. This SDK allows you to connect to the Gemini API through either Google AI Studio or Vertex AI. The SDK is fully compatible with all Gemini API models and features, including recent additions like improved tool usage (code execution, function calling and integrated Google search grounding), and media generation (Imagen).
| Name | Package | Status |
|---|---|---|
| Client for .NET | Mscc.GenerativeAI | |
| Client for ASP.NET (Core) | Mscc.GenerativeAI.Web |