I got this e-mail today about RiveScript and thought my response would be good for a general audience as well.
Hello Noah i want to know...
- What is Vanilla Rivescript?
- What can Vanilla Rivescript do?
- How can i install or use Vanilla Rivescript?
"Vanilla RiveScript" refers to the version of RiveScript I originally programmed myself (https://www.rivescript.com/). Some other developers have extended RiveScript and added features of their own on top, or forked it into an entirely different direction from where I wanted to take it.
Some that I know of:
RiveScript is implemented in multiple programming languages and I try and maintain feature parity between them all: a RiveScript bot that runs in the JS version should also run in the Python version (object macro support notwithstanding). For example, RiveScript won't do what SuperScript did (including WordNet and ConceptNet) because these NLP libraries are not equally available in all of the programming languages RiveScript has been ported to; I wouldn't want the JS version to diverge from the others, and so, RiveScript generally has zero dependency on external modules in any programming language and the logic is more or less the same everywhere.
See the "RiveScript Goals and Scope" here for more info: https://www.rivescript.com/contributing
What can vanilla RiveScript do?
Here is the language specification for RiveScript that defines all the commands and tags it supports: RiveScript::WD
And a tutorial is here: RiveScript Tutorial
How can I install or use Vanilla RiveScript?
RiveScript is a program library that can be used to design your own bots, but doesn't implement a full chatbot itself.
The RiveScript module implements the scripting language, letting you write your bot using RiveScript code and get a
reply() from it... it's very much designed to be a "black box" library that's self-contained and easy to integrate into any existing program.
dist/rivescript.js file suitable to embed in a web page (and
dist/rivescript.min.js for a minified version). v2.0.0 is still in alpha release mode but you can always get the webpacked script by embedding this: https://unpkg.com/rivescript@latest/dist/rivescript.min.js (or remove the .min if you want non-minified); the JS demo and Playground embed RiveScript via that URL so they stay at the latest version.
Here are links to various implementations of RiveScript in multiple programming languages: RiveScript Interpreters
If you're more interested in just running a bot rather than create your own, there are some here: https://www.rivescript.com/bots
A lot of the RiveScript libraries also come with a handful of example scripts in their git repos, showing how to use the library in various ways to accomplish various goals. For example the JS version includes an Express.js API server, a Slack bot, and a web page that embeds RiveScript.js so users can chat with the bot in their own web browsers.
I hope this answered all your questions! :)
There are 0 comments on this page. Add yours.