NlpSemanticParsingModelsDialogReferentsDialogReferents

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsDialogReferents


Table of Contents ▼

Jump to a specific part of the page:

Description

Will be used by dialog_referent subgrammar to emit types annotations from DialogReferentsAnnotator and $DialogReferentOrdinal rules.

Attributes List

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

View Attributes

Attributes

  1. evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData, default: nil)
    -
  2. field (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection, default: nil)
    - The field mentioned in the user's utterance, if any.
  3. index (type: integer(), default: nil)
    - Used for a grammar mention of an index.
  4. next (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsDialogReferents, default: nil)
    - Represents a tied referent in a different field of the same label
  5. selection (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection), default: nil)
    - The requested value(s) for selection from a list of alternatives.
  6. taskMention (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection), default: nil)
    - Set when the user's utterance refers to the (an) overall task/goal of the dialog (e.g. "the meeting starts at 10 am" mentions the goal, "meeting"). The field is repeated in case the user ambiguously identifies a task (two tasks named 'meeting').

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsDialogReferents{
evalData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() | nil,
field: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection.t() | nil,
index: integer() | nil,
next: #t:t/0() | nil,
selection: [ GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection.t() ] | nil,
taskMention: [ GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection.t() ] | nil
}

Function

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

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