NlpSemanticParsingPersonalReferenceAnnotation

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingPersonalReferenceAnnotation


Table of Contents ▼

Jump to a specific part of the page:

Description

A collection of any number of QRefAnnotations that designate a Copley Personal Reference and its Resolutions. This is used to handle personalized intents such as "navigate to my hotel" or "when is my mom's anniversary". See go/copley. This Annotation may contain only a reference with no resolutions for the failure case (go/copley-punts). TODO(bhorst) Rename this to remove the Copley codename.

Attributes List

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

View Attributes

Attributes

  1. reference (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotation, default: nil)
    - A Copley Personal Reference represents a user's reference to a something that could be personal entity, e.g. "my hotel", "mom", "brunch".
  2. resolutions (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotation), default: nil)
    - A Copley Personal Resolution represents the resolution of a Reference, e.g. if the user has a reservation at The Kendall Hotel, the reference "my hotel" could be resolved to The Kendall Hotel, and there would be a QRefAnnotation containing the mid and other data. It is possible for there to be zero resolutions for a given reference.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingPersonalReferenceAnnotation{
reference: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotation.t() | nil,
resolutions: [GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotation.t()] | nil
}

Function

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

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