abstract fun replyTo(phrase: Phrase!, locale: Locale!): ReplyReaction!
Produce a ReplyReaction based on a given input phrase. This phrase may be empty if the robot was not able to make out what was being said.
phrase
- Phrase!: The input Phrase from the user
locale
- Locale!: The Locale of the given Phrase
RuntimeException
- The Chatbot has no answer at all for the given Phrase
Return
ReplyReaction!: A ReplyReaction corresponding to the given input Phrase
Since
3