Hello,
I have a bot created based on the “Welcome Bot” template provided by Botpress. In this bot, NLU extraction works correctly only some times, but most of the times the entire sentence i.e entire user input is getting extracted as a slot.
The following is description of the NLU:
*I have provided more than 20 utterances for two intents.
-
There are two slots in each intent. There is a single marked slot in each utterance.
-
After training the chatbot, the NLU extraction module extracts the entire sentence and shows this as an extracted slot.
-
While testing in the emulator, I display the slot using the variable {{session.slots.SlotName.value}} and also check it in the debugger (in the RAW JSON data structure). The value displayed in the emulator chat window and that in the data structure are the same - the entire user input.
Very rarely is it able to extract the slot that it is actually expected to pick from the user input.
What could be possibly going wrong? Kindly suggest how to fix this.
Thanks in advance,
Vishwa