Class JSONUtterance


  • public class JSONUtterance
    extends Object
    Exported Model - Utterance that was used to train the model.
    • Constructor Detail

      • JSONUtterance

        public JSONUtterance()
    • Method Detail

      • text

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

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

        public String intent()
        Get the intent value.
        Returns:
        the intent value
      • withIntent

        public JSONUtterance withIntent​(String intent)
        Set the intent value.
        Parameters:
        intent - the intent value to set
        Returns:
        the JSONUtterance object itself.
      • entities

        public List<JSONEntity> entities()
        Get the entities value.
        Returns:
        the entities value
      • withEntities

        public JSONUtterance withEntities​(List<JSONEntity> entities)
        Set the entities value.
        Parameters:
        entities - the entities value to set
        Returns:
        the JSONUtterance object itself.