qisdk / com.aldebaran.qi.sdk.object.conversation / Chatbot / replyTo

replyTo

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.

Parameters

phrase - Phrase!: The input Phrase from the user

locale - Locale!: The Locale of the given Phrase

Exceptions

RuntimeException - The Chatbot has no answer at all for the given Phrase

Return
ReplyReaction!: A ReplyReaction corresponding to the given input Phrase

Since
3