ELIZA [plugin]

0 favourites
  • 7 posts
From the Asset Store
The I18N (Translation) is a Construct plugin created to translate text in game.
  • ELIZA is an early natural language processing computer program created from 1964 to 1966 at the MIT Artificial Intelligence Laboratory by Joseph Weizenbaum or in short is an early ChatBot.

    https://en.wikipedia.org/wiki/ELIZA

    I found a Javascript implementation here : http://www.masswerk.at/elizabot/ and made a plugin for fun. It's maybe possible to alter this ELIZA implementation to make your own ChatBot, more in the link above. I didn't tried it.

    It has two actions 'input' and 'reset' and and three expression 'output', getInitial and getFinal. With getInitial you got an Initial message, with getFinal you can force an end message that you also got if you type in one of theis key words: bye, goodbye, done, exit, quit.

    There is an example capx in the zip, that should be self explaining. Eliza is a plugin and should be put in the plugin folder (Construct 2\exporters\html5\plugins).

    Edit: I implemented getInitial and getFinal and updated the example capx.

    https://drive.google.com/uc?export=down ... Xg-uku5htu

  • I like it, thanks for sharing. It would also be nice, to have all the text from the bot in an xml or json file, for easyier editing but it is ok for me to edit it via notepad. Keep up the good work!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I like it, thanks for sharing. It would also be nice, to have all the text from the bot in an xml or json file, for easyier editing but it is ok for me to edit it via notepad. Keep up the good work!

    Thanks. I've done that more as a joke for someone. I thought that maybe someone else have interest in that plugin.

    The problem to make an extra xml or json file for the text is the structure of the program.

    I has to be practical completely rewritten to use xml, json and for a joke that was to much work for me.

  • Asmodean I really dont think that this plugin is a joke. That was a missing plugin for C2 and its very kind, that you shared it here.

  • that is pretty dope, i remember eliza windows version, had so much fun with it, however i just revisited it... and is just bad, i think she trolls me

  • Thank you so much! May i know where does the bot retrive the data or respond? Can i connect it to database? thanks again.

  • It's all in elizadata.js in the plugin-folder. You can alter that if you want, a little help about the data structure is here: masswerk.at/elizabot

    I never tried it, so I can't help you with that.

    I don't think there is an easy way to use a database. You have to change how Eliza receives the data for this.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)