View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryGroundingSignals (google_api_content_warehouse v0.4.0)

Grounding-related signals to be propagated down stream. Next ID: 14

Attributes

  • addedByGrounding (type: boolean(), default: nil) -
  • groundabilityScore (type: float(), default: nil) - Score indicating how grounded the intent is, populated by the Grounding Box, used by the pre-fulfillment ranker, see http://go/prefulfillment-ranker.
  • numConstraints (type: float(), default: nil) - Sum of the number of constraints used by the Grounding Box to ground each variable.
  • numConstraintsSatisfied (type: float(), default: nil) - Sum of the number of constraints satisfied for each variable. Depending on the match score for a constraint, this number can be fractional and is in the range [0, num_constraints].
  • numGroundableArgs (type: float(), default: nil) - Number of groundable arguments in the parsed intent.
  • numGroundedArgs (type: float(), default: nil) - Number of arguments that got actually grounded.
  • numVariables (type: float(), default: nil) - Number of arguments, possibly nested, that the Grounding Box tried to ground.
  • numVariablesGrounded (type: float(), default: nil) - Number of arguments, possibly nested, that the Grounding Box was able to ground. This includes ambiguously grounded arguments.
  • pgrpOutputFormat (type: String.t, default: nil) - PGRP outputs PROD_INTENT_FACTORY intent format by default. See go/intent-conversion-locations-in-sage. Experimental flags can change or make PGRP output additional intents formatted for PORTMON_FULFILLMENT (e.g. with RDs). This is used by the PortMon/ARM dark launch (go/arm-dark-launch-infra). Longer term, this will be replaced by DGS system-internal transformations (go/if-dgs).
  • provenance (type: String.t, default: nil) -
  • sentiment (type: String.t, default: nil) -
  • usesGroundingBox (type: boolean(), default: nil) - If true, then GroundingBox and PGRP are used in AnswersRewriter to process the intent. Other post-processing steps, including IGDP, are adjusted accordingly. Note this will be removed once GroundingBox is fully launched and all prod traffic goes through it. Before that happens, each IG that needs to go through GB and PGRP (post GB ranking pruning) will need to explicitly set this field to true. See http://go/gb-impl and http://go/gb-post-ranker-pruner for details.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryGroundingSignals{
    addedByGrounding: boolean() | nil,
    groundabilityScore: float() | nil,
    numConstraints: float() | nil,
    numConstraintsSatisfied: float() | nil,
    numGroundableArgs: float() | nil,
    numGroundedArgs: float() | nil,
    numVariables: float() | nil,
    numVariablesGrounded: float() | nil,
    pgrpOutputFormat: String.t() | nil,
    provenance: String.t() | nil,
    sentiment: String.t() | nil,
    usesGroundingBox: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.