Skip to main content

HAL is an AI engine which tries to take a different approach than ALICE, Eliza, and the like, by not only having one engine doing all processing, but by having three.

It currently has three main engines: regex, matrix (or word index), and substring. It also has a few supplement engines: spam [1], one word [2], and generic.

Note that this is only a library, it doesn’t have any fancy interfaces pre-installed. There are two scripts, hal, which will load command- line HAL, and whal, which will load a Tkinter-based GUI for it.

Installation

To install, do: pip install HAL.

After installation, run python in interactive mode and run import HAL.dbtest. If it says you don’t have full-text search, then you should install the pysqlite2 module from here. If you don’t, HAL will still function, albeit much slower.

Note that this is the raw engine, which accepts HAL file extensions to run. If you do not wish to make your own, you can use the dataset we are developing that is located here: http://github.com/HALTeam/HALdata.

To start HAL, run hal. This will search for data files in the current directory. Optionally, you can pass the directory where the dataset is as an argument to hal.

Note: The dataset is a converted AIML set, that was again converted to the new HAL engine from a previous one that only had a regex engine. Because of this, and that the entries were separated by a machine, we expect there to be a lot of bugs. Please feel free to report them on GitHub.

Metadata

Release files for HAL 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HAL 0.0.3
File Size Uploaded Provenance Actions
HAL-0.0.3.zip 27.3 kB Without provenance Details for HAL-0.0.3.zip

Release files / HAL-0.0.3.zip

Download URL HAL-0.0.3.zip
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b59d830e28f112f555408f4a41ab8d2baa0478fa6acbdc0a92fa37a8aeb35a82
BLAKE2b-256 checksum
How to use checksums
eaf4d8e9e38cf223686da2736cc17739a907678ec4cb9905361de5de86ad2f42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for HAL 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page