ServiceCollectionExtension Class

[Missing <summary> documentation for "T:GenerativeAI.Web.ServiceCollectionExtension"]

Definition

Namespace: GenerativeAI.Web
Assembly: GenerativeAI.Web (in GenerativeAI.Web.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public static class ServiceCollectionExtension
Inheritance
Object    ServiceCollectionExtension

Methods

AddGenerativeAI(IServiceCollection) Adds the Google Generative AI features to the IServiceCollection.
AddGenerativeAI(IServiceCollection, GenerativeAIOptions) Adds the Google Generative AI features to the IServiceCollection using the specified options.
AddGenerativeAI(IServiceCollection, IConfiguration) Adds Google Generative AI features to the IServiceCollection.
AddGenerativeAI(IServiceCollection, ActionGenerativeAIOptions) Adds the Google Generative AI features to the IServiceCollection.
AddGenerativeAI(IServiceCollection, String) Adds the Google Generative AI features to the IServiceCollection.
ConfigureGenerativeAI 
WithGoogleAdcAuthentication Configures the Google ADC (Application Default Credentials) authentication for Generative AI services.
WithGoogleOAuthAuthentication Configures the IServiceCollection to use Google OAuth authentication for Generative AI services.
WithGoogleServiceAuthentication(IServiceCollection, String) Configures Google Service Account authentication for Generative AI features in the IServiceCollection.
WithGoogleServiceAuthentication(IServiceCollection, String, String, String) Configures Google Service Account authentication for the Generative AI services.

See Also