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

onMaxHypothesesPerUtteranceChanged

abstract fun onMaxHypothesesPerUtteranceChanged(maxHypothesesPerUtterance: Int!): Unit

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.

Parameters

maxHypothesesPerUtterance - Int!: the maxHypothesesPerUtterance value

Since
4