KnowledgeAnswersIntentQueryFunctionCall

AI Overview😉

  • The potential purpose of this module is to analyze and understand the intent behind a user's query, including the context and nuances of the query. It appears to be a natural language processing (NLP) module that breaks down the query into its constituent parts, identifies the key concepts and entities, and determines the user's intent, including any implicit or explicit requests.
  • This module could impact search results by allowing the search engine to better understand the user's intent and provide more relevant and accurate results. For example, if a user searches for "tell me how tall Obama is," the module could identify the intent behind the query as seeking information about Obama's height, and provide a direct answer rather than a list of irrelevant results. This could lead to more accurate and relevant search results, and improve the overall user experience.
  • To be more favorable for this function, a website could focus on creating high-quality, relevant, and informative content that accurately answers user queries. This could include using natural language and keywords that match the user's intent, as well as providing clear and concise answers to common questions. Additionally, websites could optimize their content for voice search and conversational queries, which are becoming increasingly popular. By doing so, websites can increase their chances of being returned as a top result for relevant queries, and improve their overall visibility and credibility.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

A message representing the function call of an answers intent query. Next ID: 21 Important: If you add new fields that do not reflect signals data, but actual semantics of the FunctionCall, please also update CreateFuncallCopyWithoutSignals and CreateFuncallCopyWithArgumentSignals in function_call_utils. LINT.IfChange

Attributes

  • argument (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgument.t), default: nil) - A list of arguments of this function call.
  • catalogVersion (type: String.t, default: nil) - The corresponding meaning catalog version that was used to generate this FunctionCall.
  • conceptInfo (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryConceptInfo.t, default: nil) - Information about the corresponding Concept for this MRF Expression. For more details see go/concepts-roofshot.
  • contextualSensitivity (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivitySensitivity.t), default: nil) - Contextual Sensitivity (go/contextual-sensitivity) metadata indicating that a policy- or privacy- sensitive conversation context (previous queries, rewritten user queries, and previous system responses, like attentional entities) is used to generate this FunctionCall. This needs propagation (1) from Interp to DialogIntentState (DIS) (see b/148479837) and (2) from QRewrite/QUS down to Assistant Server's memory finalizer. One can use knowledge/answers/sensitivity/sensitivity_reader.h to parse this proto. NOTE(b/149091449): This is part of the migration of contextual sensitivity protos from Interp sensitivity extension. (nlp::semantic_parsing::sensitivity) to this proto field. See the bug to track the migration progress and for more details.
  • enabledRemodelings (type: GoogleApi.ContentWarehouse.V1.Model.NlpMeaningMeaningRemodelingControl.t, default: nil) - Contains data about which remodelings are being used for this funcall. For more information see go/meaning-remodeling-framework.
  • ignoredTokens (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryTokens.t), default: nil) - A list of token lists that were ignored during parsing because they are known context phrases for this interpretation. For example, for query [tell me how tall height of Obama really], assuming "tell me", "tall", "of", "really" are explained and thus ignored, with corresponding prior 0.9, 0.8, 0.7, 0.6, following ignored tokens will be populated: { ignored_tokens { token { ngram: "tell me", prior: 0.9} score: 0.9 } ignored_tokens { token { ngram: "tall", prior: 0.8} token { ngram: "of", prior: 0.7} score: 0.56 // currently score = prior1 prior2 ... * prior N } ignored_tokens { token { ngram: "really", prior: 0.6} score: 0.6 } } These tokens can serve two purpose: 1) debug info to show why an interpretation is generated; 2) carry the signals for downstream usage. Note: This field is under active development, and significant changes could happen. Please contact porky-pig@ if you want to use it.
  • key (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersMeaningSchemaKey.t, default: nil) - The primary key for this FunctionCall. Note: This is still under development and not available for general use. Contact meaning-platform-eng@ for questions.
  • marker (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersMarker.t, default: nil) - The marker specifies the purpose of this meaning struct / function call: Is it asking a question, and if yes, for which slot(s)? Is it a command, statement, etc? This corresponds to a (very coarse) notion of dialog acts. In the absence of this field, it will be inferred using the following algorithm (subject to marker applicability rules specified in marker.proto, see also go/requested-slots): 1) Use the underlying Meaning Schema's default marker, if applicable. 2) Assume that the Meaning Struct is polar or a statement. The presence of a marker will affect the value type of this function call.
  • modifiers (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentModifiers.t, default: nil) - A flattened representation of all intent modifiers that apply to this function call.
  • name (type: String.t, default: nil) - Name of this function call. The name must be present. If it is omitted, the FunctionCall is not well-formed.
  • sensitivity (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivitySensitivity.t, default: nil) - Intent level query sensitivity (go/sensitive-intents). This metadata comes directly from Intent Catalog, indicating a single-shot query sensitivity without putting context into considerations. Therefore, this requires a one-to-one match with each intent registered in Intent Catalog.
  • signals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryFunctionCallSignals.t, default: nil) - Signals at the function call level
  • unexplainedTokens (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryTokens.t), default: nil) - A list of tokens that were ignored during parsing that cannot be explained by context phrases.

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.KnowledgeAnswersIntentQueryFunctionCall{
    argument:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgument.t()
      ]
      | nil,
    catalogVersion: String.t() | nil,
    conceptInfo:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryConceptInfo.t()
      | nil,
    contextualSensitivity:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivitySensitivity.t()
      ]
      | nil,
    enabledRemodelings:
      GoogleApi.ContentWarehouse.V1.Model.NlpMeaningMeaningRemodelingControl.t()
      | nil,
    ignoredTokens:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryTokens.t()
      ]
      | nil,
    key:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersMeaningSchemaKey.t()
      | nil,
    marker:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersMarker.t() | nil,
    modifiers:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentModifiers.t()
      | nil,
    name: String.t() | nil,
    sensitivity:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivitySensitivity.t()
      | nil,
    signals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryFunctionCallSignals.t()
      | nil,
    unexplainedTokens:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryTokens.t()
      ]
      | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.