GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousQuery
Table of Contents ▼
Jump to a specific part of the page:
Description
The value is carried over from either the previous winning IntentQuery or an entity annotated by QRef in a previous query. For example: U: How old is Obama. [Age(person=/m/obama)] G: Barack Obama is 56 years old. U: Who is his wife. [Spouse(person=/m/obama)] The "person" argument would have a provenance of PREVIOUS_QUERY. However, if a dialog publishes an attentional entity for "Obama", the "person" argument can have a provenance of ATTENTIONAL_ENTITY instead. This includes arguments with provenance that spans both the current and previous query.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
currentQueryEvalData
(type:list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData)
, default:nil
)
- The span(s) in the current query where the value comes from. This is used when the argument spans both the current and previous query. Eg jfk death -> [death, when] spans both queries. -
evalData
(type:list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData)
, default:nil
)
- The span(s) in the query where the value comes from. -
eventId
(type:GoogleApi.ContentWarehouse.V1.Model.EventIdMessage
, default:nil
)
- The event ID of the query where this value was pulled from. -
neuralLocationAnnotator
(type:GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator
, default:nil
)
- -
role
(type:GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousQueryRole
, default:nil
)
- -
source
(type:String.t
, default:nil
)
-
Type
currentQueryEvalData: [ GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() ] | nil,
evalData: [ GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() ] | nil,
eventId: GoogleApi.ContentWarehouse.V1.Model.EventIdMessage.t() | nil,
neuralLocationAnnotator: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator.t() | nil,
role: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousQueryRole.t() | nil,
source: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousQuery