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

Used by the Smarthome Business Rules twiddler to determine whether to replace the top-scoring Smarthome intent with another.

Attributes

  • deviceRdMetadata (type: list(GoogleApi.ContentWarehouse.V1.Model.AssistantPfrDeviceRdMetadata.t), default: nil) - Each DeviceRdMetadata represents one device RD (device slot) in the intent. Note that each device RD could have multiple device groundings inside of it.
  • intentName (type: String.t, default: nil) -
  • isExactMatch (type: boolean(), default: nil) - When num_constraints == num_constraints_satisfied, indicating all slot matchings are exact match.
  • isGrounded (type: boolean(), default: nil) - When num_grounded_args > 0, indicating there is at least one top-level argument is grounded.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantPfrSmartHomeIntentMetadata{
  deviceRdMetadata:
    [GoogleApi.ContentWarehouse.V1.Model.AssistantPfrDeviceRdMetadata.t()] | nil,
  intentName: String.t() | nil,
  isExactMatch: boolean() | nil,
  isGrounded: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.