Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig

Describes configuration for generative answer.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig : IDirectResponseSchema

Properties

DisableRelatedQuestions

Whether generated answer contains suggested related questions.

Declaration
[JsonProperty("disableRelatedQuestions")]
public virtual bool? DisableRelatedQuestions { get; set; }
Property Value
Type Description
bool?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

IgnoreAdversarialQuery

Optional. Specifies whether to filter out queries that are adversarial.

Declaration
[JsonProperty("ignoreAdversarialQuery")]
public virtual bool? IgnoreAdversarialQuery { get; set; }
Property Value
Type Description
bool?

IgnoreLowRelevantContent

Optional. Specifies whether to filter out queries that are not relevant to the content.

Declaration
[JsonProperty("ignoreLowRelevantContent")]
public virtual bool? IgnoreLowRelevantContent { get; set; }
Property Value
Type Description
bool?

IgnoreNonAnswerSeekingQuery

Optional. Specifies whether to filter out queries that are not answer-seeking. The default value is false. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set to true, we skip generating answers for non-answer seeking queries and return fallback messages instead.

Declaration
[JsonProperty("ignoreNonAnswerSeekingQuery")]
public virtual bool? IgnoreNonAnswerSeekingQuery { get; set; }
Property Value
Type Description
bool?

ImageSource

Optional. Source of image returned in the answer.

Declaration
[JsonProperty("imageSource")]
public virtual string ImageSource { get; set; }
Property Value
Type Description
string

LanguageCode

Language code for Summary. Use language tags defined by BCP47. Note: This is an experimental feature.

Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
string

MaxRephraseSteps

Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.

Declaration
[JsonProperty("maxRephraseSteps")]
public virtual int? MaxRephraseSteps { get; set; }
Property Value
Type Description
int?

ModelPromptPreamble

Text at the beginning of the prompt that instructs the model that generates the answer.

Declaration
[JsonProperty("modelPromptPreamble")]
public virtual string ModelPromptPreamble { get; set; }
Property Value
Type Description
string

ModelVersion

The model version used to generate the answer.

Declaration
[JsonProperty("modelVersion")]
public virtual string ModelVersion { get; set; }
Property Value
Type Description
string

ResultCount

The number of top results to generate the answer from. Up to 10.

Declaration
[JsonProperty("resultCount")]
public virtual int? ResultCount { get; set; }
Property Value
Type Description
int?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX