I am starting with rasa and I want to make a chatbot that starts talking before the user, I attach an example:
Bot: Hello, how can I help you?
User: Hello, what time is it?
Bot: It's 5:23 p.m.
I know how to make the user write first but I don’t know how to do it the other way around. I have been looking for information and saw this link:
How to let bot start the conversation - #5 by JiteshGaikwad
but it is still up to the user to write first
- story: greet
- action: action_utter_supply_greet_user
- intention: greet
def name(self) -> Text:
def run(self, dispatcher: CollectingDispatcher,
domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
dispatcher.utter_message("Hello! How can I help you?")
What’s wrong? How can I do it?
Thank you very much I will read what you have sent me and try to apply it.
November 27, 2021, 5:55pm
Don’t hesitate to get back to me if you have any problems
I’ve a small doubt to use your method I must have an external interface, I mean, right now I test the chatbot from the python terminal itself, no external page is opened.
November 27, 2021, 6:07pm
Yes, you need an interface for methods 2 and 3.
But aren’t you planning on having one?
Yes, but it was a future thing, I wasn’t planning to implement it so soon
November 27, 2021, 6:20pm
@Paulllllaaa you can try any method, as suggested by chris, but for display a bot init conversation you need an interface and If you want to implement the one please see this link : Rasa chatbot website integration | Quick tutorial - YouTube it have everything mentioned. I hope this will solve your issue.
November 27, 2021, 10:31pm
You can try the first method meanwhile if it’s really urgent
But I couldn’t make it work last time I tried it.
November 29, 2021, 1:24pm
Yeah, I couldn’t make it work either haha.
I still suggest doing it from your front-end application, but if you still want to go with the back-end method, show me what you did and we’ll try to fix it.
Or, try out
this other method, which requires you to build your own custom channel.
I tried to create a web interface but it didn’t work very well
I tried to do the same as here but it didn’t work
November 29, 2021, 1:57pm
There are already multiple frontends you can use:
Chatbot Widget by Jitesh Gaikwad (web)
WebApp by me (web)
Webchat by Botfront (web)
Chatroom by ScalableMinds (web)
Rasa Android by Dishant Ghandi (mobile)
MobApp by me (mobile)
You can use one of them and edit it as you wish, easier than building your own
I am familiar with
#1, #2, and #6 if you need any help.
I just got back, I’m going to try one of those three. Thanks for everything