Table of Contents

Namespace GenerativeAI.Microsoft

Microsoft.Extensions.AI implementations (Google_GenerativeAI.Microsoft package): GenerativeAIChatClient (IChatClient), GenerativeAIEmbeddingGenerator and the image generators.

Classes

AdditionalPropertiesKeys

Provides constant keys for additional properties used in GenerativeAI Microsoft integration.

GenerativeAIChatClient

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

GenerativeAIEmbeddingGenerator

Provides embedding generation capabilities using Google's Generative AI models through the Microsoft.Extensions.AI abstraction.

GenerativeAIImageGenerator

Implements Microsoft.Extensions.AI.IImageGenerator using the Google_GenerativeAI SDK by creating a GenerateContentRequest that requests image modality and forwarding it to GenerateContentAsync(GenerateContentRequest, CancellationToken).

GenerativeAIImagenGenerator

Implements Microsoft.Extensions.AI.IImageGenerator by creating an ImagenModel via GenAI.CreateImageModel and calling GenerateImagesAsync(GenerateImageRequest, CancellationToken).