Test
Last updated
Last updated
As mentioned, Dhee.AI facilitates testing of your bot before deploying. This is highly useful to figure out our early bugs and ensure your production server is not affected. The developer can test the bot using the Test and Deploy->Test.
The Test UI is divided into two key subsections.
You can test the Agent using the Test Agent section of the Test Module.
You can provide the language of your choice, along with Username and phone number. You could also opt to skip providing Username and phone number. This would invoke the agent. You can now test your bot by communicating with it.
As seen in the image above, the trigger "I am sick" successfully helped in identifying the applyLeave. In response, the bot also requested the user for one of the slots startDate.
You can use the Test Agent to test your bot within the sandbox environment.
Dhee.AI also allows you to debug your bot and understand the behavior better. This is useful for developers in understanding the response of the bot to queries.
Parse
The Parse section allows the developer to debug the bot and understand the parsed information (described in JSON format). Developer can use these insights to define their bot better.
Extract Intent
If the developer needs to verify that the bot is correctly recognizing the intent in the test environment, he can use the Extract Intent section.
This would display the intent identified by the bot. For example, for the text "I am sick", the following displays the intent recognized.
Once again, these insights would help in further improving the bot performance.
Extract Slot
Similarly, the slots recognization could be debugged using the Extract Slot section.
Consider the following Text.
Debugging the text in Extract Slot would result in the following
As seen in the output, the slot value has been recognized correctly.