Discovery Engine v1 API - Class AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec (1.5.0)

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 v1 API class AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec.

Query rephraser specification.

Inheritance

object > AnswerQueryRequest.Types.QueryUnderstandingSpec.Types.QueryRephraserSpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.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