Skip to main content

Powerful AI Framework

Project description

HAL is a matching AI engine that is designed to replace ALICE, Eliza, and like. It currently has three main backends: regex, matrix (or word index), and substring. It also has a few supplement backends: spam [1], oneword [2], and generic.

Note that this is only a library, it doesn’t have any fancy interfaces pre-installed. There is only one script, hal.

[1]detects keyboard spam and notify the user instead of giving a “I don’t understand” response
[2]one-word variant of matrix, designed to run after matrix, but in practice never used.

Installation

To install, do: pip install HAL.

After install, run python in interactive mode and run import HAL.dbtest. If it says you don’t have fts (full-text search), then you should install the pysqlite2 module from here.

Now you need a dataset, the main set that I am developing is here: http://github.com/HALTeam/HALdata. Note that it was converted from an older version that I wrote a few months ago, which has only a regex engine. The dataset is based on the standard AIML set, which have a very different design compared to HAL. So I expect many bugs in the dataset, feel free to report them on GitHub.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for HAL, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size HAL-0.0.2.zip (25.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page