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

This message should be wire-equivalent to the Entity proto defined in nlp/semantic_parsing/models/personal_intelligence.proto. The message is cloned here to allow legacy intents to extract entities to slots; trying to add Entity to knowledge_answers::intent_query::ArgumentValue creates a BUILD dependency loop. For the proto used for GwsLogs, see logs/proto/knowledge/interpretation/personal_intelligence.proto.

Attributes

  • airlineConfig (type: GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfig.t, default: nil) - Used if the entity is an airline with an airline annotation.
  • evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t, default: nil) - Required, but should only be used inside Aqua. Must not be used by outside clients!!
  • name (type: String.t, default: nil) - raw string representation
  • qrefAnnotation (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotation.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingPersonalIntelligenceEntity{
    airlineConfig:
      GoogleApi.ContentWarehouse.V1.Model.TravelFlightsAirlineConfig.t() | nil,
    evalData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t()
      | nil,
    name: String.t() | nil,
    qrefAnnotation:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingQRefAnnotation.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.