Lately I’ve been creating my own character in or via RiveScript.
What I’m doing is different that starting with the usual subset of AIML based files and entering a name in the Begin.rs file, then having a routine conversation.
First I did a cut & paste to remove all the AIML based files to a thumb drive. Next, I started with the begin.rs file and made it the way I wanted for my character. I then started creating my own text / script files starting with Hello then added plenty of expected responses for my character. With each conversational exchange, I would invariably encounter the Err: No Reply Matched error. I’d then write a Trigger and Response for that one plus some others. I also saved each with a unique name like wwa.rs, wwb.rs, wwc.rs, and so on.
Soon, my rough and tumble and somewhat edgy and brash character began to develop.
Yep it’s like Steve Worswick once said, to paraphrase, “It’s 10 percent programming and 90 percent creative writing!” or something to that effect.
I find that I have to put myself into the story almost as an omniscient observer, following the main character and watching everything over his shoulder as he encounters others or how he handles conversations or phrases as they are delivered to him. Then I enter his mind and decide how he might answer a question or deal with an insult or perhaps a friendly meeting. I provide him thoughts and possible phrases from which to choose as most can be randomly chosen so I never know exactly what he might say. It’s a good exercise.
It’s quite an enjoyable experience and also quite a learning / educational experience. While I’m sure this technique is nothing new for some, hopefully it might allow others to experiment in the development of their own bots. One doesn’t have to take or settle with what comes with your bot when you first extract and run it. Make it your own, give it your own character and develop his or her personality and profile the way you want it to be. It’s a lot of fun!
For me, a big thanks to Noah Petherbridge and his RiveScript platform that helps make this journey a lot more fun for me!
Happy Botting!