AssistantPfrSmartHomeIntentMetadata

GoogleApi.ContentWarehouse.V1.Model.AssistantPfrSmartHomeIntentMetadata


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. deviceRdMetadata (type: list(GoogleApi.ContentWarehouse.V1.Model.AssistantPfrDeviceRdMetadata), 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.
  2. intentName (type: String.t, default: nil)
    -
  3. isExactMatch (type: boolean(), default: nil)
    - When num_constraints == num_constraints_satisfied, indicating all slot matchings are exact match.
  4. isGrounded (type: boolean(), default: nil)
    - When num_grounded_args > 0, indicating there is at least one top-level argument is grounded.

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantPfrSmartHomeIntentMetadata