Markdown Converter
Agent skill for markdown-converter
This project is a .NET SDK for the Google Gemini API. It allows developers to integrate generative AI features into their .NET and ASP.NET Core applications. The SDK supports both Google AI Studio and Vertex AI, providing a comprehensive set of functionalities including content generation, model man
Sign in to like and favorite skills
This project is a .NET SDK for the Google Gemini API. It allows developers to integrate generative AI features into their .NET and ASP.NET Core applications. The SDK supports both Google AI Studio and Vertex AI, providing a comprehensive set of functionalities including content generation, model management, embeddings, and more.
The repository is structured as a .NET solution with multiple projects, including the main SDK (
Mscc.GenerativeAI), a web-specific version (Mscc.GenerativeAI.Web), a version for Google API Client Library users (Mscc.GenerativeAI.Google), and a version for Microsoft.Extensions.AI and Semantic Kernel (Mscc.GenerativeAI.Microsoft). It also includes sample applications and extensive test suites.
The project uses the .NET SDK and is built and packaged using standard
dotnet commands.
To build the entire solution, run the following command from the root directory:
dotnet build ./GenerativeAI.sln -c Release
The project has two main test projects. To run the tests, use the following commands:
# To run tests for the main SDK dotnet test ./tests/Mscc.GenerativeAI/Test.Mscc.GenerativeAI.csproj -c Release --logger "console;verbosity=detailed" # To run tests for the Google API Client Library version dotnet test ./tests/Mscc.GenerativeAI.Google/Test.Mscc.GenerativeAI.Google.csproj -c Release --logger "console;verbosity=detailed"
Note: Running the tests requires setting up authentication credentials as described in the
README.md file.
The project is packaged into NuGet packages using the following commands:
# Pack for .NET dotnet pack -c Release ./src/Mscc.GenerativeAI/Mscc.GenerativeAI.csproj -o output/ # Pack for ASP.NET Core dotnet pack -c Release ./src/Mscc.GenerativeAI.Web/Mscc.GenerativeAI.Web.csproj -o output/ # Pack for .NET using Google Cloud Client Library dotnet pack -c Release ./src/Mscc.GenerativeAI.Google/Mscc.GenerativeAI.Google.csproj -o output/ # Pack for Microsoft.Extension.AI and Microsoft Semantic Kernel dotnet pack -c Release ./src/Mscc.GenerativeAI.Microsoft/Mscc.GenerativeAI.Microsoft.csproj -o output/
Nullable and ImplicitUsings..github/workflows/dotnetcore.yml) defines the build, test, and packaging process.VERSION file at the root of the repository.PackageReference in the .csproj files.