Closed mariohmol closed 8 years ago
Extremely possible.
Cool!! But would be better if rivescript works with AIML?
And I would like to make a robot oriented to questions, so he makes the questions and based in what users answer can ask others. Do you think is possible to make it with rivescript?
Ex:
You had a problem in the morning, afternon or night?
-> The user answers afterno.. then i make another questoin:
Which state are you located?
-> The user answer state
What is your city?
-> The user answer the city
You can use topics to create a targeted interview system like what you described. My RiveScript chatbot Aiden does this to ask new users some basic questions (name, gender, age). By using topics you can prevent the bot from getting sidetracked until the question has been answered, or the bot gives up (mine tries 3 times to get a valid answer to each question before abandoning the entire interview).
For simpler questions where the bot just wants an answer to one thing, using %Previous
works, like
+ i have a problem
- You had a problem in the morning, afternoon or night?
+ [in] [the] morning [*]
% you had a problem in the morning afternoon or night
- What time in the morning?
+ [in] [the] afternoon [*]
% * problem in the morning afternoon *
- What time in the afternoon?
// ...
+ *
% what time in the morning
- Etc...
Not sure what you mean about AIML. RiveScript was inspired by AIML bots so it works somewhat the same, but with a lot of more advanced features (especially the pattern system, with simplified regular expressions). There's a comparison vs. AIML, and there's an aiml2rs converter to translate AIML code into RiveScript (and back again).
I made a Hubot plugin: hubot-rivescript
WOWWWWWW fantastic!! I migrated my script to rivescript.. its really cool!
do you use a plugin in sublime, atom or other IDE to help colloring in .rive files? Do you have a google groups or something where we can discuss and this be searchable on internet?
Syntax highlighters:
Groups:
#rivescript
channelPerfect!! I will make a hubot integrate with rivescript today.. so we can open issues there if necessary! closing this.. thanks a lot!
Do you think that is possible to make rivescript works integrated with HUBOT?
So it can answer things like a human robot but do tasks like hubot?
bests