New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eliza-core

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eliza-core

A rendition of ELIZA program engine by Weizenbaum sharable for all javascript environments

  • 1.2.0-beta.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Eliza: Implementation for JavaScript

NPM version tested with jest

A JavaScript(TypeScript) code version of Eliza ported from Charles Hayden's Java implementation: http://chayden.net/eliza/Eliza.html.

This rendition of ELIZA in TypeScript/JavaScript is designed as a complete and faithful implementation of the original design that was described by Joseph Weizenbaum: https://doi.org/10.1145/365153.365168. The psychologist script that was attached on that paper is included as well, though the format is a little revised for clarity and the possibility in other languages that is not segmented with spaces in design, such as Japanese and Chinese. Additionally, a Japanese script package as a deliberate example for this interpreter has been released as well: https://www.npmjs.com/package/eliza-jp

Usage

const eliza = require('eliza-core');
const util = require('eliza-util');
loadEliza(util.fromFile(util.SCRIPT_PATH + '/eliza.script')).then(eliza => {
  console.log(eliza.processInput('Hello, Eliza'));
});

Keywords

FAQs

Package last updated on 02 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc