Class GenerativeAIOptions
- Namespace
- GenerativeAI.Web
- Assembly
- GenerativeAI.Web.dll
Configuration options for GenerativeAI services.
public class GenerativeAIOptions : IGenerativeAIOptions
- Inheritance
-
GenerativeAIOptions
- Implements
- Inherited Members
- Extension Methods
Properties
ApiVersion
Gets or sets the API version.
public string? ApiVersion { get; set; }
Property Value
Authenticator
Gets or sets the authenticator for Google services.
public IGoogleAuthenticator? Authenticator { get; set; }
Property Value
Credentials
Gets or sets the Google AI credentials.
public GoogleAICredentials? Credentials { get; set; }
Property Value
ExpressMode
Gets or sets a value indicating whether to use express mode.
public bool? ExpressMode { get; set; }
Property Value
- bool?
IsVertex
Gets or sets a value indicating whether to use Vertex AI.
public bool? IsVertex { get; set; }
Property Value
- bool?
Model
Gets or sets the AI model name.
public string? Model { get; set; }
Property Value
ProjectId
Gets or sets the Google Cloud project ID.
public string? ProjectId { get; set; }
Property Value
Region
Gets or sets the Google Cloud region.
public string? Region { get; set; }