Class IntentsSuggestionExample


  • public class IntentsSuggestionExample
    extends Object
    Predicted/suggested intent.
    • Constructor Detail

      • IntentsSuggestionExample

        public IntentsSuggestionExample()
    • Method Detail

      • text

        public String text()
        Get the text value.
        Returns:
        the text value
      • withText

        public IntentsSuggestionExample withText​(String text)
        Set the text value.
        Parameters:
        text - the text value to set
        Returns:
        the IntentsSuggestionExample object itself.
      • tokenizedText

        public List<String> tokenizedText()
        Get the tokenizedText value.
        Returns:
        the tokenizedText value
      • withTokenizedText

        public IntentsSuggestionExample withTokenizedText​(List<String> tokenizedText)
        Set the tokenizedText value.
        Parameters:
        tokenizedText - the tokenizedText value to set
        Returns:
        the IntentsSuggestionExample object itself.
      • intentPredictions

        public List<IntentPrediction> intentPredictions()
        Get the intentPredictions value.
        Returns:
        the intentPredictions value
      • withIntentPredictions

        public IntentsSuggestionExample withIntentPredictions​(List<IntentPrediction> intentPredictions)
        Set the intentPredictions value.
        Parameters:
        intentPredictions - the intentPredictions value to set
        Returns:
        the IntentsSuggestionExample object itself.
      • entityPredictions

        public List<EntityPrediction> entityPredictions()
        Get the entityPredictions value.
        Returns:
        the entityPredictions value
      • withEntityPredictions

        public IntentsSuggestionExample withEntityPredictions​(List<EntityPrediction> entityPredictions)
        Set the entityPredictions value.
        Parameters:
        entityPredictions - the entityPredictions value to set
        Returns:
        the IntentsSuggestionExample object itself.