KnowledgeAnswersIntentQueryArgumentProvenancePreviousQuery

AI Overview😉

  • The potential purpose of this module is to track the origin of a query argument, specifically how it relates to previous queries or entities mentioned in the conversation. This helps the search algorithm understand the context and intent behind the user's query.
  • This module could impact search results by influencing the ranking of results based on their relevance to the user's previous queries or mentioned entities. It may promote results that are more contextually relevant, even if they're not exact matches to the current query. This could lead to more personalized and conversational search results.
  • To be more favorable to this function, a website could focus on creating content that is contextually relevant to common user queries and entities. This might involve using natural language processing to identify relationships between entities and concepts, and structuring content to reflect these relationships. Additionally, optimizing for long-tail keywords and phrases that are more conversational in nature could also help a website benefit from this module.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousQuery (google_api_content_warehouse v0.4.0)

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

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

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousQuery{
    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
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.