KnowledgeAnswersIntentQueryArgumentProvenancePreviousQuery

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):

View Attributes

Attributes

  1. 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.
  2. evalData (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData), default: nil)
    - The span(s) in the query where the value comes from.
  3. eventId (type: GoogleApi.ContentWarehouse.V1.Model.EventIdMessage, default: nil)
    - The event ID of the query where this value was pulled from.
  4. neuralLocationAnnotator (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenanceNeuralLocationAnnotator, default: nil)
    -
  5. role (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousQueryRole, default: nil)
    -
  6. source (type: String.t, default: nil)
    -

Type

Function

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

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