View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDialogReferentsListSelection (google_api_content_warehouse v0.4.0)
Represents the user's selection from a list of alternatives.
Attributes
-
evalData
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t
, default:nil
) - -
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. -
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. -
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). -
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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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 }
Functions
Unwrap a decoded JSON object into its complex fields.