View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec (google_api_discovery_engine v0.27.0)

Grounding specification.

Attributes

  • filteringLevel (type: String.t, default: nil) - Optional. Specifies whether to enable the filtering based on grounding score and at what level.
  • includeGroundingSupports (type: boolean(), default: nil) - Optional. Specifies whether to include grounding_supports in the answer. The default value is false. When this field is set to true, returned answer will have grounding_score and will contain GroundingSupports for each claim.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec{
    filteringLevel: String.t() | nil,
    includeGroundingSupports: boolean() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.