This is the home of the RiveScript chatbot scripting language and other related chatbot projects.
See the RiveScript website at https://www.rivescript.com/
Some notable repositories in this organization include:
These will enable you to build your own custom chatbot from scratch that uses RiveScript as its A.I. engine. There are implementations available in several programming languages:
- Go: rivescript-go
- Java: rivescript-java
- JavaScript: rivescript-js
- Perl: rivescript-perl
- Python: rivescript-python
There is also a very much work-in-progress official port for Rust: rivescript-rs.
Outside of the AiChaos organization, there are a couple of third-party implementations of RiveScript in more languages:
- PHP: https://github.com/axiom-labs/rivescript-php (at least 80% feature complete)
- C#: https://github.com/fabioravila/rivescript-csharp (progress unknown)
See the RiveScript Working Draft for the language specification. This will be a crucial resource if you want to try and develop your own RiveScript interpreter from scratch!
Also see the RiveScript Test Suite (RSTS), a unified set of tests that the official implementations run against. If your custom interpreter passes these tests, you know your implementation is at least as correct as the official ones!
- Aiden is a reference RiveScript chatbot personality (collection
of
*.rive
files you can use with a RiveScript bot). - There is aiml2rs, scripts that can translate A.L.I.C.E. AIML code into RiveScript, and back again! It may be useful to port an existing Alicebot brain over to RiveScript.
- There are a few full chatbot applications: Scarecrow (Go, supporting Slack & XMPP), Admiral (Python, for Slack bots), and Aires (Python, supporting XMPP and the now-defunct AOL Instant Messenger OSCAR protocol)