pa-w / nodejsotrbot

1 stars 11 forks source link

Add "skills" API #2

Open n8fr8 opened 7 years ago

n8fr8 commented 7 years ago

"Do you want people to enter a configuration file (with their keywords and their response) It could be something like "when a user types X perform this API call and reply to the user with the API response)"

Yes!

We should also have a set of default capabilities, or perhaps a default skill if no skill is specified.

n8fr8 commented 7 years ago

More on this... I just discovered RiveScript, and am very impressed: https://www.rivescript.com/

I think the format is quite simple, and there are already many interpreters for different languages, as well as excellent starting point templates: https://www.rivescript.com/try

It also offers the ability to link into other "native" code for more complex logic and processes.

n8fr8 commented 7 years ago

Let's track progress on rivescript impl here.