View Source GoogleApi.ContentWarehouse.V1.Model.AssistantGroundingProviderProviderSignalResult (google_api_content_warehouse v0.3.0)

Message containing the processed provider signals. This message is consumed by systems outside of the Provider GP, such as the HGR. For use of provider signals within the Provider GP, please refer to the CTF-governed PackedProviderSignals defined in: cs/google3/assistant/context/proto/packed_provider_signals.proto;rcl=486224300;l=68

Attributes

  • isDefaultProvider (type: boolean(), default: nil) - Whether the provider is the default provider for the BII and entity type. Also known as the 'preferred_provider'.
  • isForegroundProvider (type: boolean(), default: nil) - Whether the provider is currently open in the foreground on the device.
  • isInAppProvider (type: boolean(), default: nil) - Indicates that fulfillment on this provider will happen within the provider app
  • isInstalled (type: boolean(), default: nil) - Whether the provider is installed, or otherwise reachable, from the device.
  • isLastUsedProvider (type: boolean(), default: nil) - Whether the provider was the last-used provider for this intent on the device. Also known as the 'sticky_provider'.
  • isQueryRestrictedProvider (type: boolean(), default: nil) - Whether the provider was specified by the query.
  • providerSelectionResult (type: GoogleApi.ContentWarehouse.V1.Model.AssistantContextProviderSelectionResult.t, default: nil) - The result of running provider-selection on the provider candidate. This is populated by the Signal Extractor after the PSL has been run.
  • providerTypeSignal (type: String.t, default: nil) - Contains the "fulfillment type" of provider eg whether it's 0p or System API provider.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AssistantGroundingProviderProviderSignalResult{
    isDefaultProvider: boolean() | nil,
    isForegroundProvider: boolean() | nil,
    isInAppProvider: boolean() | nil,
    isInstalled: boolean() | nil,
    isLastUsedProvider: boolean() | nil,
    isQueryRestrictedProvider: boolean() | nil,
    providerSelectionResult:
      GoogleApi.ContentWarehouse.V1.Model.AssistantContextProviderSelectionResult.t()
      | nil,
    providerTypeSignal: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.