View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsDialogReferents (google_api_content_warehouse v0.4.0)

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

Attributes

  • evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t, default: nil) -
  • field (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection.t, default: nil) - The field mentioned in the user's utterance, if any.
  • index (type: integer(), default: nil) - Used for a grammar mention of an index.
  • next (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsDialogReferents.t, default: nil) - Represents a tied referent in a different field of the same label
  • selection (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection.t), default: nil) - The requested value(s) for selection from a list of alternatives.
  • taskMention (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection.t), 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').

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.