Class IntentPrediction


  • public class IntentPrediction
    extends Object
    A suggested intent.
    • Constructor Detail

      • IntentPrediction

        public IntentPrediction()
    • Method Detail

      • name

        public String name()
        Get the name value.
        Returns:
        the name value
      • withName

        public IntentPrediction withName​(String name)
        Set the name value.
        Parameters:
        name - the name value to set
        Returns:
        the IntentPrediction object itself.
      • score

        public Double score()
        Get the score value.
        Returns:
        the score value
      • withScore

        public IntentPrediction withScore​(Double score)
        Set the score value.
        Parameters:
        score - the score value to set
        Returns:
        the IntentPrediction object itself.