Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::QueryUnderstandingSpec::QueryRephraserSpec (v0.13.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::QueryUnderstandingSpec::QueryRephraserSpec.

Query rephraser specification.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#disable

def disable() -> ::Boolean
Returns
  • (::Boolean) — Disable query rephraser.

#disable=

def disable=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Disable query rephraser.
Returns
  • (::Boolean) — Disable query rephraser.

#max_rephrase_steps

def max_rephrase_steps() -> ::Integer
Returns
  • (::Integer) — Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.

#max_rephrase_steps=

def max_rephrase_steps=(value) -> ::Integer
Parameter
  • value (::Integer) — Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.
Returns
  • (::Integer) — Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.