October 2018
Intermediate to advanced
472 pages
10h 57m
English
Now it's the moment to make your bot go live! While using Rasa, you don't need to write any API services—everything is available in the package itself. So, to expose the trained model as a service, you need to execute the following command, which takes the path of the stored trained model:
python -m rasa_nlu.server --path projects
If everything goes fine, then a RESTful API will be exposed at port 5000, and you should see this log on the console screen:
2018-05-23 21:34:23+0530 [-] Log opened.2018-05-23 21:34:23+0530 [-] Site starting on 50002018-05-23 21:34:23+0530 [-] Starting factory <twisted.web.server.Site instance at 0x1062207e8>
To access the API, you can use the following command. We are querying the model, making ...
Read now
Unlock full access