https://github.com/benbrown/annotated-eliza-js
an implementation of eliza bot in Javascript with lots of comments explaining what is happening
https://github.com/benbrown/annotated-eliza-js
Last synced: 4 months ago
JSON representation
an implementation of eliza bot in Javascript with lots of comments explaining what is happening
- Host: GitHub
- URL: https://github.com/benbrown/annotated-eliza-js
- Owner: benbrown
- Created: 2020-03-02T22:57:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-02T23:08:32.000Z (over 5 years ago)
- Last Synced: 2025-01-21T11:33:14.952Z (6 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
elizabot-js
===========Annotated Eliza JS bot based on [this](https://github.com/brandongmwong/elizabot-js) which was based on [this](http://www.masswerk.at/elizabot) and http://en.wikipedia.org/wiki/ELIZA
Usage:
var elizabot = require('./elizabot.js');
elizabot.start() // initializes eliza and returns a greeting message
elizabot.reply(msgtext) // returns a eliza-like reply based on the message text passed into it
elizabot.bye() // returns a farewell message