Table of Contents

Interface IGenerativeAIOptions

Namespace
GenerativeAI.Web
Assembly
GenerativeAI.Web.dll

Defines the configuration options for GenerativeAI services.

public interface IGenerativeAIOptions
Extension Methods

Properties

ApiVersion

Gets or sets the API version.

string? ApiVersion { get; set; }

Property Value

string

Authenticator

Gets or sets the authenticator for Google services.

IGoogleAuthenticator? Authenticator { get; set; }

Property Value

IGoogleAuthenticator

Credentials

Gets or sets the Google AI credentials.

GoogleAICredentials? Credentials { get; set; }

Property Value

GoogleAICredentials

ExpressMode

Gets or sets a value indicating whether to use express mode.

bool? ExpressMode { get; set; }

Property Value

bool?

IsVertex

Gets or sets a value indicating whether to use Vertex AI.

bool? IsVertex { get; set; }

Property Value

bool?

Model

Gets or sets the AI model name.

string? Model { get; set; }

Property Value

string

ProjectId

Gets or sets the Google Cloud project ID.

string? ProjectId { get; set; }

Property Value

string

Region

Gets or sets the Google Cloud region.

string? Region { get; set; }

Property Value

string