Web application UI for rasa chatbot - Rasa Open Source - Rasa Community Forum
Web application UI for rasa chatbot
Post by amitsood on Dec 14, 2018
Hello,
I am very new to chatbots. I have an existing web application where I want to have a chatbot. A very basic chatbot with very less NLP support. More of if else statements than intelligence.
Question:
- How do I get started?
- Does Rasa provide a UI that I can easily hook into my web page HTML?
- And how do I host it?
Thanks, Amit
Post by JiteshGaikwad on Dec 14, 2018
hey @amitsood welcome to RASA forum, you can get started by visiting this link.
And RASA doesn’t provide a UI to hook into your webpage but yes it does have REST channels where you can integrate your bot.
Post by amitsood on Dec 14, 2018
Hi @JiteshGaikwad, Thanks for the reply.
So when you say it does not provide a chat UI. Means I have to custom build a chat UI and then use RASA backend as a service to it?
It doesn’t have a channel that hooks into a web app?
Thanks
Post by JiteshGaikwad on Dec 14, 2018
Yes @amitsood you need to build a custom chat UI and use RASA as a backend service.
I have made a custom UI for that, you can get it here.
Yes, it has a REST channel that you can use to hook into your web app.
Post by amitsood on Dec 14, 2018
Thanks @JiteshGaikwad.
Also, do I need to install TensorFlow to make this run? And can you copy-paste the document which you have shown in the video here?
Thanks again
Post by JiteshGaikwad on Dec 14, 2018
Yes, if you want to set up on Windows machine I have the tutorial video for that too.
Post by amitsood on Dec 14, 2018
Thanks but I have a Mac but I can do that.
Post by JiteshGaikwad on Dec 14, 2018
Ok @amitsood, I hope you enjoy it!
Post by amitsood on Dec 14, 2018
@JiteshGaikwad, possible for you to share the rsademo text file here? Or just copy all the commands here?
Post by JiteshGaikwad on Dec 14, 2018
Hey @amitsood, I am not able to get the rasa demo commands file in my system, but you can get the commands in the video description.
Post by amitsood on Dec 14, 2018
Sure thanks.
Post by amitsood on Dec 14, 2018
@JiteshGaikwad, getting the following error where I run:
python -m rasa_core.train -d domain.yml -s data/core/ -o models/dialogue/ --epochs 300
usage: train.py [-h] {default,compare,interactive} …
train.py: error: unrecognized arguments: --epochs 300
Post by JiteshGaikwad on Dec 14, 2018
Try running:
python -m rasa_core.train -d domain.yml -s stories.md -o models/dialogue
Post by amitsood on Dec 14, 2018
Still get an error. Here it is:
Post by JiteshGaikwad on Dec 14, 2018
There might be an error in your stories.md file or domain file format.
Post by amitsood on Dec 14, 2018
Ok, but I haven’t touched any file yet just downloaded it straight as you suggested in the video.
Post by JiteshGaikwad on Dec 14, 2018
Yeah, but that was for a previous version. So now you are facing the issues; better you first start with:
https://rasa.com/docs/get_started_step1/ https://rasa.com/docs/get_started_step2/
Post by Ajinkz on Jan 15, 2019
Does it support buttons & payload from Rasa templates?
Post by JiteshGaikwad on Jan 15, 2019
Not as of now, I am working on it.
Post by KhalidBentaleb on Apr 9, 2020
Hey @JiteshGaikwad how can I integrate voice in your chat UI?
Post by JiteshGaikwad on Apr 9, 2020
Hey @KhalidBentaleb, I haven’t added the support for voice within the chat UI, it’s there in my future enhancement, you can check it here.
Post by Punith on Apr 11, 2020
Hi Ajinkz,
I am not able to view the video. It's showing “Video unavailable”. Could you please give me the link to access the video.
Thanks, Punith
Post by JiteshGaikwad on Apr 11, 2020
Hey @Punith, Welcome to the community. I had removed that video, you can get the updated video here.
Post by Punith on Apr 11, 2020
Thank you, Jitesh, for that quick reply.
I am new to RASA chatbot development. Could you please provide me the GitHub link for this chatbot code? It will be much helpful.
Regards, Punith
Post by JiteshGaikwad on Apr 11, 2020
Hey @Punith, sure you can get the code here.
Post by Punith on Apr 11, 2020
Hey JiteshGaikwad, Thanks a lot for the link.
I tried to install RASA using “pip install rasa” in the command prompt. I am getting the following error:
“”“ERROR: Could not find a version that satisfies the requirement tensorflow<2.2, >=2.1 (from rasa)”
I tried some of the solution given in the community like upgrading pip, downloading a specific version of TensorFlow separately, but it didn't work. I have Python 3.8.2 version.
Could you please suggest me how to resolve this issue?
Many thanks in advance! Punith
Post by JiteshGaikwad on Apr 12, 2020
Hey @Punith, can you switch to python v3.7 and check if you face the same issue?
Post by Punith on Apr 13, 2020
Sure, Jitesh. It worked with 3.7 version. Thank you so much!
Post by JiteshGaikwad on Apr 13, 2020
Glad that it solved the issue!