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

Construct for how to construe a facet when parse from neural or lexical models. Unlike regular intent annotations, facets are post-hoc grounded to indicated spoans, so they also need to provide their input and output slot independently.

Attributes

  • facetName (type: String.t, default: nil) - Optional, as this can take the name of the slot/schema its associated with or it might need to map onto something different.
  • inputSlotName (type: String.t, default: nil) - Required, the slot into which we put any ungrounded string or mid
  • outputSlotName (type: String.t, default: nil) - Optional, if absent output_type will be used for typing, or this is a MRF operator

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersFacetParsing{
  facetName: String.t() | nil,
  inputSlotName: String.t() | nil,
  outputSlotName: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.