NlpSemanticParsingModelsDialogReferentsListSelection

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection


Table of Contents ▼

Jump to a specific part of the page:

Description

Represents the user's selection from a list of alternatives.

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. id (type: String.t, default: nil)
    - A unique identifier that is the canonical value for the chosen list item. If we are selecting among fields, this is the field_id specified in the corresponding DialogField.
  3. looseOffsetRestriction (type: boolean(), default: nil)
    - If true, semantic function should look at watch actions in the following display entity if the first one is not playable. This is useful for "Play it" on entity page.
  4. offset (type: integer(), default: nil)
    - The offset within the list, if know. If the list of values wasn't known (e.g. from the discourse context) then the offset is a zero-based mapping of the ordinal value of the selection ("first one" maps to zero; "last one" to minus one).
  5. rawText (type: String.t, default: nil)
    - When the user selects a list value by name then this is the matched text from the utterance. Note that, if the list of values is known, then the aqua annotator should have mapped it to an offset.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection{
evalData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() | nil,
id: String.t() | nil,
looseOffsetRestriction: boolean() | nil,
offset: integer() | nil,
rawText: String.t() | nil
}

Function

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

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