KnowledgeAnswersNormalizedStringType

GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersNormalizedStringType


Table of Contents ▼

Jump to a specific part of the page:

Description

A NormalizedStringType configures a value that is one of the listed normalized_values. An arbitrary mapping from input strings to normalized_values can be specified in the local intent config. Only alphabetical strings can be used as normalized_values. This type should NOT be used for: - Mids, ids, dates, or other structured data. Use an annotator instead, and address any quality issues at the annotator level. - Simplifying grammar rules. If you are not using the normalized_values in your question semantics, you should remove the slot. Use additional query_examples instead.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. componentSpecificContracts (type: GoogleApi.ContentWarehouse.V1.Model.NlpMeaningComponentSpecificContracts, default: nil)
    - Contains data about the contracts that this ValueType level is available for. For more information see go/contract-based-conformance.
  2. normalizedValue (type: list(String.t), default: nil)
    -
  3. remodelings (type: GoogleApi.ContentWarehouse.V1.Model.NlpMeaningMeaningRemodelings, default: nil)
    - Contains data about current schema remodelings at this ValueType level. For more information see go/meaning-remodeling-framework.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersNormalizedStringType{
componentSpecificContracts: GoogleApi.ContentWarehouse.V1.Model.NlpMeaningComponentSpecificContracts.t() | nil,
normalizedValue: [String.t()] | nil,
remodelings: GoogleApi.ContentWarehouse.V1.Model.NlpMeaningMeaningRemodelings.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersNormalizedStringType