public sealed class GenerationOptions : IMessage<GenerationOptions>, IEquatable<GenerationOptions>, IDeepCloneable<GenerationOptions>, IBufferMessage, IMessageReference documentation and code samples for the Data Analytics API with Gemini v1beta API class GenerationOptions.
Options to control query generation, execution, and response format.
Implements
IMessageGenerationOptions, IEquatableGenerationOptions, IDeepCloneableGenerationOptions, IBufferMessage, IMessageNamespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
GenerationOptions()
public GenerationOptions()GenerationOptions(GenerationOptions)
public GenerationOptions(GenerationOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerationOptions |
Properties
GenerateDisambiguationQuestion
public bool GenerateDisambiguationQuestion { get; set; }Optional. If true (default to false), the service may return a clarifying_question if the input query is ambiguous.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
GenerateExplanation
public bool GenerateExplanation { get; set; }Optional. If true, an explanation of the generated query will be returned in the response.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
GenerateNaturalLanguageAnswer
public bool GenerateNaturalLanguageAnswer { get; set; }Optional. If true, a natural language answer based on the query execution result will be generated and returned in the response.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
GenerateQueryResult
public bool GenerateQueryResult { get; set; }Optional. If true, the generated query will be executed, and the result data will be returned in the response.
| Property Value | |
|---|---|
| Type | Description |
bool |
|