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

OnMaxHypothesesPerUtteranceChangedListener

interface OnMaxHypothesesPerUtteranceChangedListener

Listener for maxHypothesesPerUtterance property changed event

Since
4

Functions

onMaxHypothesesPerUtteranceChanged

The maximum hypotheses per utterance for this chatbot. For every utterance, a Chat action can formulate several hypotheses, ordered from the most probable to the least probable. For each hypothesis, the Chatbots will be called in order of priority until a suitable ReplyReaction is found. This value limits the number of times a single Chatbot will be called for each utterance. For a Chatbot, the default value of this property is 2. If the provided value is negative or 0, the Chatbot won't be called at all.

abstract fun onMaxHypothesesPerUtteranceChanged(maxHypothesesPerUtterance: Int!): Unit