Invite Users to Test¶
One of the key features of Rasa is the ability to learn from real conversations. You should get someone else to test your assistant as soon as possible, because real testers will always surprise you.
To share your assistant with someone, click on the ‘share’ icon in the models table
In the popup, you can select which of your deployed models you want to test. You can also edit what testers will see and copy the link they can use to try out your assistant.
Once you share this link, testers will be able to talk to your assistant, and their conversations will appear in the conversations tab.
Use Ngrok For Local Testing¶
You can use ngrok to create a connection to your local computer that is publicly available on the internet. You don’t need this when running Rasa on a server because you can set up a domain name to point to that server’s IP address.
By default, Rasa X runs on port
5002. The ngrok command to make that port
publicly available is:
ngrok http 5002
ngrok will create a https address for your computer, for example
Then set the
RASA_X_HOSTNAME environment variable before starting Rasa X.
To do this, run:
export RASA_X_HOSTNAME=https://xxxxxx.ngrok.io; rasa x
Testing Channel Integrations¶
If you are connecting your assistant to facebook or another service, you will need to set up an ngrok service pointing at port 5005. To do this, run:
ngrok http 5005; rasa runcopied!
Your webhook address will look like the following: