View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentSignals (google_api_content_warehouse v0.2.0)

A message representing the signals associated with an argument. NEXT ID TO USE: 62 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto in the "ThenChange", fields under Argument.signals in the serving proto are stored directly under Argument on the logging side. For example, see http://google3/nlp/semantic_parsing/data_management/logs/web_logs/semantic_logging_converters/semantic_logging_request_argument_converter.cc?l=58&rcl=322925428. LINT.IfChange

Attributes

  • multipleHorizontalListSelectionMatches (type: boolean(), default: nil) - Whether there were multiple equally good matches from horizontal_list_selection.
  • oysterId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - The oyster feature id. NOTE: As of Mar 2017, the cell ID field of the feature ID might not be set. See http://b/35447230#comment10
  • relatednessSignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryRelatednessSignals.t, default: nil) - Relatedness Matrix signals about this argument, e.g., query_popularity.
  • annotationLayerSignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryAnnotationLayerSignals.t, default: nil) - Signals to facilitate orchestration of TUIG annotations.
  • isDefaultValue (type: boolean(), default: nil) - If true, the value of the argument is populated with the default value specified by the system if the value can't be inferred from the input query. In IntentConfig case, the default value is specified by using IntentConfig.slot.default_value.
  • isNimbleAnnotation (type: boolean(), default: nil) - Whether this argument was annotated by nimble (go/nimble-annotator)
  • personalEntity (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryPersonalEntity.t), default: nil) - Personal entities are compound entities made up of entities and their attributes, where the entities can be compound too. E.g., "my father's mother" can have a summary node annotation of "Mother(Father(Myself))"
  • valueSource (type: String.t, default: nil) - What added the argument value.
  • isEnum (type: boolean(), default: nil) - Set when the argument has an enum value - a normalized_string_type from the intent catalog.
  • isGenieAnnotation (type: boolean(), default: nil) - Whether this annotation was propagated as part of a Genie rewrite (go/genie-aqua).
  • midEquivalentToCollection (type: String.t, default: nil) - For collection arguments, it is useful to save what was the original mid that qref annotated. For example, if the collection is /collection/films, we'll have the mid for /en/film here (/m/02vxn).
  • provenance (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenance.t), default: nil) - Information about where the value of this argument came from. For example, it could have been explicitly provided in the query, pulled in from the previous state, or pulled from attentional entities.
  • relatedEntity (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingRelatedEntity.t), default: nil) - List of entities that are semantically related to the argument as well as details of the relationship.
  • isAUngroundedTypeOf (type: String.t, default: nil) - If the argument is entity, the ungrounded type the entity is. For example, the entity argument is /m/0p83l (Jasmine), the value of this field should be "Plant" if it is present.
  • annotatedRelationship (type: list(GoogleApi.ContentWarehouse.V1.Model.LogsSemanticInterpretationIntentQueryWebrefEntityRelationship.t), default: nil) - Relationships between entities
  • gaiaId (type: String.t, default: nil) - The gaia id for the entity (person or plus page).
  • fromManualSymbolAnnotation (type: boolean(), default: nil) - Whether the argument entity comes from a manual graphic symbol annotation. This is later used as a heuristic for poor web result quality.
  • rawQueryText (type: String.t, default: nil) - A copy of the span of canonical (raw) parser input text corresponding to this annotation.
  • location (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t, default: nil) - Entity location information (latitude/longitude) from freebase.
  • addedByCloseAnswers (type: boolean(), default: nil) - Whether this argument was added by CloseAnswers in Postref. This bit is used to mark the corresponding interpretation/intent query as such by setting is_close_interpretation bit.
  • contextResolution (type: String.t, default: nil) - How this argument was resolved through context from a previous query. Examples: obama -> "he" is resolved from the Obama entity starbucks -> Q2 is resolved from the list of shops (Attentional Entities)
  • shoppingIds (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryShoppingIds.t, default: nil) - Equivalent shopping ids for the argument.
  • supportTransferSignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySupportTransferSignals.t, default: nil) - Support Transfer signals for this entity.
  • muninSignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryMuninSignals.t, default: nil) - Signals derived from Munin Function call annotations.
  • locationClassificationScore (type: float(), default: nil) - Confidence score of this argument being a location.
  • clusterInfo (type: GoogleApi.ContentWarehouse.V1.Model.QualityViewsExtractionClusterInfo.t, default: nil) - If the literal.obj_type of the argument value is ID (Entity), this stores cluster scoring information for that entity, if the entity belongs to a cluster.
  • resolvedFromContext (type: boolean(), default: nil) - Whether this argument was resolved through context from a previous query. Examples: obama -> "he" is resolved from the Obama entity starbucks -> Q2 is resolved from the list of shops
  • mediaEntitySignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryMediaEntitySignals.t, default: nil) - Signals about the media entity for this argument.
  • allowedFuzzyMatch (type: boolean(), default: nil) - For this argument, backend performed fuzzy match.
  • ungroundedValueType (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersValueType.t, default: nil) - Type of ungrounded argument. It is exclusively used when simple_value.ungrounded_value is populated.
  • saftSignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySaftSignals.t, default: nil) - Signals derived from SAFT.
  • locationType (type: String.t, default: nil) - The type category for the location stored in this Argument, if it exists.
  • parsedDueToExperiment (type: list(String.t), default: nil) - Experiment ID for experiments that were used to parse this FunctionCall. Empty indicates no experiments used.
  • groundingSignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryGroundingSignals.t, default: nil) -
  • onDeviceAnnotationSignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryOnDeviceAnnotationSignals.t, default: nil) - Additional signals for on-device annotations.
  • locationMarkersSignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryLocationMarkersSignals.t, default: nil) - The usual semantic role associated with the signal from lightweight tokens attached to this argument span.
  • qrefInterpretationIndex (type: integer(), default: nil) - The index of the QueryJoin interpretation from which this annotation is taken. We copy over the value given by nlp.semantic_parsing.annotators.QrefAnnotator. The value will be "-1" if the annotation is coming from low confidence Qref annotations. NOTE - this is generated from as QRef's interetation_number.
  • collectionMembership (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryCollectionMembership.t), default: nil) - If the literal.obj_type of the argument value is ID (Entity), this represents the collection that the entity in this argument is a member of.
  • resolvedFromPronoun (type: boolean(), default: nil) - Whether this argument was resolved from a pronoun mention in the query. Eg: [how old was obama when he became president]
  • fromSymbolAnnotation (type: boolean(), default: nil) - Whether the argument entity comes from a graphic symbol annotation. This is later used as a heuristic for poor web result quality.
  • qrefConfidenceScore (type: number(), default: nil) - The QRef confidence score for an entity argument.
  • deprecatedFreebaseType (type: list(String.t), default: nil) - If the literal.obj_type of the argument value is ID (Entity), this represents freebase types of the entity in this argument.
  • resultSupport (type: list(GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupport.t), default: nil) - The list of result supports for this Argument.
  • entityNumber (type: integer(), default: nil) - Signals about what other entities this entity implies / is implied by. This is useful for grounding. Example: b/138388207: suppressing song intents if the artist entity doesn't link to the song title. This value specifies the order of annotations in a QRef annotation chain so they can refer to each other.
  • responseMeaningSignals (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryResponseMeaningSignalsResponseMeaningSignals.t, default: nil) -
  • isIntentgenAnnotation (type: boolean(), default: nil) - Whether this argument was annotated by Intentgen QUIK model (go/intentgen-quik)
  • entityRelationship (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotationEntityRelationship.t), default: nil) - Signals about what other entities this entity implies / is implied by. This is useful for grounding. Example: b/138388207: suppressing song intents if the artist entity doesn't link to the song title.
  • webrefEntitiesIndex (type: integer(), default: nil) - Webref entity index for this argument, necessary for interpreting the relationship structure, and the list to index into. Specifically we need this to understand qref implications since they edges are represented with entity indexes.
  • isEvalDataHeuristic (type: boolean(), default: nil) - Set when the eval_data was not derived at parsing time, but heuristically determined by matching the ArgumentValue to an annotation/query fragment.
  • supportTransferRules (type: list(GoogleApi.ContentWarehouse.V1.Model.LogsSemanticInterpretationIntentQuerySupportTransferRule.t), default: nil) - go/stbr supportthis is an
  • mergedImpliedEntity (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryImpliedEntity.t), default: nil) - List of QRef implied entities merged into this entity during parsing. Clients should not rely on the order, as it is derivation-dependent.
  • expressionStatus (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingExpressionStatus.t, default: nil) - Status indicating whether the user has completely expressed the semantics of the argument.
  • webrefListSource (type: String.t, default: nil) - This represents which list entities index refers to.
  • deprecatedSupportingMid (type: list(String.t), default: nil) - A list of mids that "support" this argument in voting, i.e., results that support these mids will be treated as if they support the argument. This field has been deprecated in favor of related_entity. b/27363861
  • chainId (type: list(GoogleApi.ContentWarehouse.V1.Model.LocalsearchChainId.t), default: nil) - One or more ChainIds from a ChainAnnotation whose "organization_mid" matches the MID. As of 2021-01 multiple chain_ids may be specified if the organization for MID controls multiple chains. See go/chains-lckp-robust-triggering for motivation.
  • source (type: String.t, default: nil) - What added this argument.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentSignals{
    addedByCloseAnswers: boolean() | nil,
    allowedFuzzyMatch: boolean() | nil,
    annotatedRelationship:
      [
        GoogleApi.ContentWarehouse.V1.Model.LogsSemanticInterpretationIntentQueryWebrefEntityRelationship.t()
      ]
      | nil,
    annotationLayerSignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryAnnotationLayerSignals.t()
      | nil,
    chainId: [GoogleApi.ContentWarehouse.V1.Model.LocalsearchChainId.t()] | nil,
    clusterInfo:
      GoogleApi.ContentWarehouse.V1.Model.QualityViewsExtractionClusterInfo.t()
      | nil,
    collectionMembership:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryCollectionMembership.t()
      ]
      | nil,
    contextResolution: String.t() | nil,
    deprecatedFreebaseType: [String.t()] | nil,
    deprecatedSupportingMid: [String.t()] | nil,
    entityNumber: integer() | nil,
    entityRelationship:
      [
        GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotationEntityRelationship.t()
      ]
      | nil,
    expressionStatus:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingExpressionStatus.t()
      | nil,
    fromManualSymbolAnnotation: boolean() | nil,
    fromSymbolAnnotation: boolean() | nil,
    gaiaId: String.t() | nil,
    groundingSignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryGroundingSignals.t()
      | nil,
    isAUngroundedTypeOf: String.t() | nil,
    isDefaultValue: boolean() | nil,
    isEnum: boolean() | nil,
    isEvalDataHeuristic: boolean() | nil,
    isGenieAnnotation: boolean() | nil,
    isIntentgenAnnotation: boolean() | nil,
    isNimbleAnnotation: boolean() | nil,
    location: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t() | nil,
    locationClassificationScore: float() | nil,
    locationMarkersSignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryLocationMarkersSignals.t()
      | nil,
    locationType: String.t() | nil,
    mediaEntitySignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryMediaEntitySignals.t()
      | nil,
    mergedImpliedEntity:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryImpliedEntity.t()
      ]
      | nil,
    midEquivalentToCollection: String.t() | nil,
    multipleHorizontalListSelectionMatches: boolean() | nil,
    muninSignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryMuninSignals.t()
      | nil,
    onDeviceAnnotationSignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryOnDeviceAnnotationSignals.t()
      | nil,
    oysterId:
      GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
    parsedDueToExperiment: [String.t()] | nil,
    personalEntity:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryPersonalEntity.t()
      ]
      | nil,
    provenance:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenance.t()
      ]
      | nil,
    qrefConfidenceScore: number() | nil,
    qrefInterpretationIndex: integer() | nil,
    rawQueryText: String.t() | nil,
    relatedEntity:
      [GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingRelatedEntity.t()]
      | nil,
    relatednessSignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryRelatednessSignals.t()
      | nil,
    resolvedFromContext: boolean() | nil,
    resolvedFromPronoun: boolean() | nil,
    responseMeaningSignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryResponseMeaningSignalsResponseMeaningSignals.t()
      | nil,
    resultSupport:
      [
        GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupport.t()
      ]
      | nil,
    saftSignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySaftSignals.t()
      | nil,
    shoppingIds:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryShoppingIds.t()
      | nil,
    source: String.t() | nil,
    supportTransferRules:
      [
        GoogleApi.ContentWarehouse.V1.Model.LogsSemanticInterpretationIntentQuerySupportTransferRule.t()
      ]
      | nil,
    supportTransferSignals:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySupportTransferSignals.t()
      | nil,
    ungroundedValueType:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersValueType.t() | nil,
    valueSource: String.t() | nil,
    webrefEntitiesIndex: integer() | nil,
    webrefListSource: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.