Categories:
Finalize recognizers middleware
Description of finalize-recognizers-middleware, in charge of finalizing the recognition process.
Introduction
This middleware is not a recognizer itself, as it simply takes care of making the final adjustments to the recognition process, such as:
- Establish the final name of the attempt. It is necessary to put the prefix of the current channel.
- Remove the prompt from the stack if the conditions are met.
The source code of this recognizer is included in Aura Bot Platform recognizers - Github repository.
finalize-recognizers-middleware flow

| Internal Recognizer Result: Intent Type |
Prompt Check | Execute NLP Recognizer | Remove Prompt from Stack |
|---|---|---|---|
suggestion |
false |
false |
true |
operation |
false |
false |
false |
text |
false |
false |
false |
| No Intent detected | true if Prompt |
If Prompt evaluation fails | If NLP intent score >= 0.95 and if none is detected and enabled. Customizable value, 0.95 is the default value of AURA_MIN_INTENT_SCORE_THRESHOLD_TO_CLEAN_STACK variable, that controls this behavior. |
By default, if there is a prompt and there has been NLP recognition, then if none intent is found it will not be enough to break the prompt unless enableNone is activated to break it.
Last modified January 17, 2024: feat: Documentation for ACDC release #AURA-20370 [RTM] (9efef9ab)