Share via


GoogleAIServiceCollectionExtensions Class

Definition

Extensions for adding GoogleAI generation services to the application.

public static class GoogleAIServiceCollectionExtensions
type GoogleAIServiceCollectionExtensions = class
Public Module GoogleAIServiceCollectionExtensions
Inheritance
GoogleAIServiceCollectionExtensions

Methods

AddGoogleAIEmbeddingGeneration(IServiceCollection, String, String, GoogleAIVersion, String)

Add Google AI embeddings generation service to the specified service collection.

AddGoogleAIGeminiChatCompletion(IServiceCollection, String, String, GoogleAIVersion, String)

Add Google AI Gemini Chat Completion and Text Generation services to the specified service collection.

Applies to