You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am the current maintainer of Rivescript-PHP (not this package) but I asked the maintainer the same question. To answer your question 1 I asked, "What if you would use Rivescript on a website for a customer support section and you want the bot to say hell how can I help you?" when the chatbot is engaged.
Well, the current Rivescript definition is a lurker approach but you can get around this. If you initialize your Rivescript instance (in Python or PHP) you can just call reply() with a pre-configured response. for example
+ welcome
- Hi how can I help you?
And then when you call reply on your instance send "welcome" trough to the bot. It will automatically reply with "Hi how can I help you?".
The current script design let's you program a response for a given user message. There are scenarios where
Ex - questionnaires.
Is there a way to do this ?
Thanks for your suggestions.
The text was updated successfully, but these errors were encountered: