manimknrn
(Mani MKN)
February 15, 2020, 4:30am
1
Hello All,
Please help how to set the custom messages for my Rasa chatbot.
Example:
If user enters “Manufacturing”, i need to set a response like "
Please tell me, which line you want to track in manufacturing?"
If user enters “Gear Box”, i need to set a response like "
Please tell me, which size of box you want?"
Like… Multiple responses.
See my code in Angular 7:
chat-widget botName=“Manikandan M” startingMessage=“Hello Mani” opened=“false” url=“http://localhost:4200 ”
And, when i set opened=“false”, the bot always opned when i open the application.
I need to close the bot until user clicks on icon.
It may be very basic question, but i am very new to this.
Thanks in advance.
Thanks,
Mani MKNPreformatted text
KarthiAru
(Karthik Arumugham)
February 15, 2020, 11:28am
2
For your usecase, you’ll need to use forms
Rasa is a backend technology. So there is no dependency on a front-end component built using Angular. You can ask this question in Angular forums.
manimknrn
(Mani MKN)
February 16, 2020, 2:13pm
3
Thanks for your reply, Can you please share any sample code for both integrated code front end and back end. So that, i could understand how to do that?
Thanks.
hey @manimknrn , I have created a front end in jQuery for Rasa, it can help you for developing in Angular:
and If you want to handle the custom messages, you can refer this lines of codes:
https://github.com/JiteshGaikwad/Chatbot-Widget/blob/d1d331f19bc6d5e74b85a16faaeff2ccdf8bfceb/static/js/script.js#L217
and check out the sample bot which sends the custom messages:
https://github.com/JiteshGaikwad/Restaurant-Search-Bot
https://github.com/JiteshGaikwad/HR_Bot
Let me know if this helps you
1 Like
SAID
(Boukhrissa Said)
March 6, 2021, 11:27am
5
Hi , please you can help me ! I d’like to integrate Rasa Bot on Angular