Skip to main content

An interpreter package for AIML, the Artificial Intelligence Markup Language

Project description

AIML Bot is a fork of Cort Stratton’s PyAIML, a pure-Python interpreter for AIML (Artificial Intelligence Markup Language), refactored for Pep 8 conformance and ease of use. It strives for simple, austere, 100% compliance with the AIML 1.0.1 standard. You can find Cort’s original implementation at Many thanks go to him for laying the groundwork for this project.

For information on what’s new in this version, see the file.

For information on the state of development, including the current level of AIML 1.0.1 compliance, see the SUPPORTED_TAGS.txt file.

Quick & dirty example (assuming you’ve installed the aiml_sets package):

import aiml_bot

# The Bot class is the public interface to the AIML interpreter.
bot = aiml_bot.Bot(command='load std aiml')

# Loop forever, reading user input from the command line and printing
# responses.
while True:
    # Use the 'respond' method to compute the response to a user's input
    # string.  respond() returns the interpreter's response.
    print(bot.respond(input("> ")))

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 AIML-Bot, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size AIML_Bot-0.0.3-py3-none-any.whl (39.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size AIML Bot-0.0.3.tar.gz (33.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page