Posted: Mon May 08, 2006 5:45 pm Post subject: RiveScript 0.21
RiveScript is a "scripting" language for writing responses for chatterbots. In its simplest form, the code looks like this:
Code:
+ hello bot
- Hello, human.
RiveScript is a simple input/response language. It is simple, easy to learn, and mimics and perhaps even surpasses the power of AIML (Artificial Intelligence Markup Language). RiveScript was initially created as a reply language for chatterbots, but it has also been used for more complex things above and beyond that.
Good work on such a fine module. From looking at the CPAN page it seems incredibly complex - something which I'm sure you find fine (being the author), but I'm curious as to how many people have actually created a bot using this. Do you know any? Such a detailed CPAN page has advantages as well as disadvantages - that it may confuse and overwhelm people! _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Yeah, on the (now closed) AiChaos forum, I had two members who seemed to work with it a lot.
jeffohrt used RiveScript in lots of ways it was never meant to be used, i.e. he used its framework to program MUD bots, like setting the RS files to accept MUD commands as the triggers, and he used objects in very complex ways too.
harleypig seems to use RiveScript in the "normal" way (how it was originally meant to be used, as a reply language), and has also helped a lot in its development, finding more efficient ways to do things in the code (i.e. he helped move the <star#> limit from 100 to however many is needed).
And then if anyone knows Ian (the guy who hosted aichaos once upon a time), he's getting into using RiveScript too.
As for the module itself, I have a few things on my to-do list before making a "beta" release (version 1.00), and that distribution should come with an example brain rather than a bunch of test triggers to test the various features.
Posted: Tue May 09, 2006 10:02 pm Post subject: I get distracted easily too
Yeah - I'm still working the kinks out of my IKC server ... and battling the anti-online gaming software at the school I work at ... it completely trashed my login and security setup ...
I originally used POE and Chatbot::Alpha, then Chatbot::RS to populate a LambdaMOO / Encore environment. The bots quickly exceeded what I could do with that MOO and I moved on to (back to) a mud - Boutell's PerlMud ... the bot's - like a cancer - invaded the Mud library until it turned into a headache just to keep straight who did what ... it got to the point where the mess that was the mud code was limiting what I wanted the bots to do ... so rather than program a seperate mud from scratch ... I went with this ... which was about when Chatbot::RS jumped to RiveScript ...
The current version of what I'm up to sets up a POE TCP server for standard mud client access and a POE IKC server which does a wicked job of mimicing a fastCGI environment. The servers' themselves handle the login ... that's it ... once you're logged in ... every command is passed directly to a RS bot that is unique to your session ... the bot can dynamically load in new libraries to equip itself for privates - chats and muds ... the two servers interact in realtime ... and the entire mess is a single perl process ...
Joined: 03 May 2006 Posts: 2292 Location: Colorado
Posted: Wed May 10, 2006 9:19 pm Post subject:
Hey,
Is there somewhere to get RiveScripts? It would be cool to see some sample scripts with topics and see how they work. _________________ Eric256
Proud previous owner and current admin of Bot-depot.com