View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySemanticAnnotationSignals (google_api_content_warehouse v0.4.0)

Signals associated with nlp_ig::v1::SemanticAnnotator.

Attributes

  • category (type: String.t, default: nil) - Name of the subgrammar category this annotation is associated with.
  • domain (type: String.t, default: nil) - Name of the subgrammar domain.
  • features (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySemanticAnnotationSignalsFeature.t), default: nil) -
  • score (type: float(), default: nil) - Numeric value associated with each subgrammar annotation. Used for in-domain ranking inside the Aqua Analyzer. This field is not guaranteed to be in any range. Furthermore, this field should never be compared for annotations with differing 'domain' value. The field is included here for making the Aqua Analyzer work with subgrammar annotations that have been generated in a different Aqua Analyzer (typically by TUIG SemanticAnnotationServlet). TL;DR: Consumers of this message are STRONGLY DISCOURAGED from using this field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySemanticAnnotationSignals{
    category: String.t() | nil,
    domain: String.t() | nil,
    features:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySemanticAnnotationSignalsFeature.t()
      ]
      | nil,
    score: float() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.