Apress / building-chatbots-with-python

Source Code for 'Building Chatbots with Python' by Sumit Raj
Other
100 stars 75 forks source link

How to test my model in chapter 4 ? #4

Open red-frog opened 5 years ago

sumit12dec commented 5 years ago

Hi @red-frog If you go to page no. 152 in Chapter IV. It's explained how to test your bot which you developed.

Check the screenshot here. https://imgur.com/a/H55VQjZ

Let me know if you need any other help.

Please do leave your review on Amazon about your experience of the book and support. https://amazon.com/Building-Chatbots-Python-Language-Processing/dp/1484240952

red-frog commented 5 years ago

Hi @sumit12dec I have read the page no.152 in Chapter IV. and the test case 1 and test case 2 is used Online studying? I want test the bot like a app_service, like: User_input: hello and the bot directly return at the terminal: Hello! What can I do for you? Instead of like Online studying So, For this, What should I do? Can you give some advice? Very thankful!

red-frog commented 5 years ago

Ok. I think I have slove my problem. and run

python3 -m rasa_core.run --enable_api -d models/dialogue/ -u models/nlu/book_bot -o out.log

The command could help me! -d : Rasa Core model route -u : Rasa NLU model route

Thanks very much!

sumit12dec commented 5 years ago

Hey @red-frog Glad your problem could be solved. Feel free to raise an issue here or come join our discussion forum https://buildingchatbotswithpython.sumitraj.in/

Request you to please leave your review about the book on Amazon.

https://www.amazon.com/Building-Chatbots-Python-Language-Processing/dp/1484240952