View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec (google_api_discovery_engine v0.27.0)

Query rephraser specification.

Attributes

  • disable (type: boolean(), default: nil) - Disable query rephraser.
  • maxRephraseSteps (type: integer(), default: nil) - Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.
  • modelSpec (type: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.t, default: nil) - Optional. Query Rephraser Model specification.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec{
    disable: boolean() | nil,
    maxRephraseSteps: integer() | nil,
    modelSpec:
      GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.t()
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.