Discovery Engine v1beta API - Class AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec (1.0.0-beta15)

public sealed class AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec : IMessage<AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec>, IEquatable<AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec>, IDeepCloneable<AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.

Query rephraser specification.

Inheritance

object > AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

QueryRephraserSpec()

public QueryRephraserSpec()

QueryRephraserSpec(QueryRephraserSpec)

public QueryRephraserSpec(AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec other)
Parameter
Name Description
other AnswerQueryRequestTypesQueryUnderstandingSpecTypesQueryRephraserSpec

Properties

Disable

public bool Disable { get; set; }

Disable query rephraser.

Property Value
Type Description
bool

MaxRephraseSteps

public int MaxRephraseSteps { get; set; }

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

Property Value
Type Description
int