User Control Panel
Advertisements

HELP US, HELP YOU!

RiveScript 0.21

 
Post new topic   Reply to topic    Bot Depot Forum Index -> RiveScript
View unanswered posts
Author Message
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Mon May 08, 2006 5:45 pm    Post subject: RiveScript 0.21 Reply with quote

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.

Check out its CPAN page @ http://search.cpan.org/perldoc?RiveScript
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Mon May 08, 2006 7:23 pm    Post subject: Reply with quote

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. ]
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Tue May 09, 2006 2:30 am    Post subject: Reply with quote

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. Smile

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.
Back to top
jeffohrt
Newbie
Newbie


Joined: 08 May 2006
Posts: 17

Reputation: 6Reputation: 6Reputation: 6Reputation: 6Reputation: 6Reputation: 6

PostPosted: Tue May 09, 2006 10:02 pm    Post subject: I get distracted easily too Reply with quote

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 ...

Lots of fun when I have time to work on it ...
Back to top
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Wed May 10, 2006 9:19 pm    Post subject: Reply with quote

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
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Wed May 10, 2006 9:41 pm    Post subject: Reply with quote

Actually, come to think of it, I haven't created any publicly-released RiveScript brains.

I plan on starting a new bot when RiveScript reaches version 1.00, so, I'll upload my bot's replies from the pre-1.00 versions of RiveScript.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> RiveScript All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group