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):
Attributes
-
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". -
definiteness
(type:String.t
, default:nil
)
- -
language
(type:String.t
, default:nil
)
- Language of parsed query. -
mood
(type:String.t
, default:nil
)
- Since there's only IMPERATIVE, consider using Marker.command instead. -
plurality
(type:String.t
, default:nil
)
- -
polarQuestion
(type:boolean()
, default:nil
)
- Whether or not the question is a polar (yes/no) question. -
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. -
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
}
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