View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingRequest (google_api_discovery_engine v0.7.0)

Request message for GroundedGenerationService.CheckGrounding method.

Attributes

  • answerCandidate (type: String.t, default: nil) - Answer candidate to check.
  • facts (type: list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaGroundingFact.t), default: nil) - List of facts for the grounding check. We support up to 200 facts.
  • groundingSpec (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingSpec.t, default: nil) - Configuration of the grounding check.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingRequest{
    answerCandidate: String.t() | nil,
    facts:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaGroundingFact.t()
      ]
      | nil,
    groundingSpec:
      GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingSpec.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.