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

The value is carried over from an attentional entity. For example, in a dialog about a movie that publishes an attentional entity for /m/matrix: U: What is the cast. [Cast(location=/m/matrix)] G: The cast includes Keanu Reeves and others. U: Great, buy some tickets. [BuyTickets(movie=/m/matrix)] On the second user query, the "movie" argument would have a provenance of ATTENTIONAL_ENTITY.

Attributes

  • attentionalEntityKey (type: String.t, default: nil) - This key can be used to recover the attentional entity from the corresponding attentional_entities::EntityCache.
  • mentionProperties (type: GoogleApi.ContentWarehouse.V1.Model.AttentionalEntitiesMentionProperties.t, default: nil) - Source information from the AttentionalEntityReader.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenanceAttentionalEntity{
    attentionalEntityKey: String.t() | nil,
    mentionProperties:
      GoogleApi.ContentWarehouse.V1.Model.AttentionalEntitiesMentionProperties.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.