KnowledgeAnswersIntentModifiers

GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentModifiers


Table of Contents ▼

Jump to a specific part of the page:

Description

Modifiers decorate a Meaning Expression (i.e. intent FunctionCall) with signals that depend on the source language's grammar and syntax. See go/intent-modifiers for details. NOTE: Modifiers don't necessarily impact go/intent-resolution semantics. LINT.IfChange

Attributes List

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

View Attributes

Attributes

  1. alternateLanguage (type: String.t, default: nil)
    - Language of all of the non-annotation tokens of the query interpretation, if it is different than |language|. This can happen with English smearing, e.g. [height rousseau] will trigger as "fr" when issued in fr/FR, but really the language is "en". This can also happen when we have extra information about the language model, e.g. language="zh", alternate_language="zh-Hant".
  2. definiteness (type: String.t, default: nil)
    -
  3. language (type: String.t, default: nil)
    - Language of parsed query.
  4. mood (type: String.t, default: nil)
    - Since there's only IMPERATIVE, consider using Marker.command instead.
  5. plurality (type: String.t, default: nil)
    -
  6. polarQuestion (type: boolean(), default: nil)
    - Whether or not the question is a polar (yes/no) question.
  7. sentiment (type: GoogleApi.ContentWarehouse.V1.Model.SentimentSentiment, default: nil)
    - Sentiment analysis attached to an intent implies the sentiment user expressed behind that query. This is generated by the Empathetic Servlet in the QRewrite.
  8. tense (type: String.t, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentModifiers{
alternateLanguage: String.t() | nil,
definiteness: String.t() | nil,
language: String.t() | nil,
mood: String.t() | nil,
plurality: String.t() | nil,
polarQuestion: boolean() | nil,
sentiment: GoogleApi.ContentWarehouse.V1.Model.SentimentSentiment.t() | nil,
tense: String.t() | nil
}

Function

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

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