View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryImpliedEntity (google_api_content_warehouse v0.3.0)

Signals for $QRefImpliedEntities that are merged into entity arguments during parsing.

Attributes

  • annotatedSpan (type: String.t, default: nil) - A copy of the span of canonical (raw) parser input text corresponding to this annotation. Copied from QRefAnnotation.annotated_span.
  • evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t, default: nil) - This field is used inside Aqua for evaluation purposes.
  • isUngroundedValue (type: boolean(), default: nil) - TODO (b/143536264): Create a new ImpliedTokens message and remove this. Whether the implied entity is ungrounded value, set to true when the entity doesn't have a KG mid.
  • mid (type: String.t, default: nil) - The KG mid of the implied entity.
  • qrefConfidenceScore (type: number(), default: nil) - The QRef confidence (in [0, 1]) of the entity being correctly annotated.
  • shoppingIds (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryShoppingIds.t, default: nil) - All ShoppingIds for this implied entity that need to be copied to IntentQuery (FunctionCall) if this implied entity is used in intent generation. See go/iql-shopping-ids for details.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryImpliedEntity{
    annotatedSpan: String.t() | nil,
    evalData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t()
      | nil,
    isUngroundedValue: boolean() | nil,
    mid: String.t() | nil,
    qrefConfidenceScore: number() | nil,
    shoppingIds:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryShoppingIds.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.