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 https://github.com/cdwfs/pyaiml. Many thanks go to him for laying the groundwork for this project.

For information on what’s new in this version, see the CHANGES.md 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.

Source Distribution

AIML Bot-0.0.1.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

AIML_Bot-0.0.1-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file AIML Bot-0.0.1.tar.gz.

File metadata

  • Download URL: AIML Bot-0.0.1.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for AIML Bot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f5820e0ae15c089bce8ddfd84a1f4a78129117ed7a0954f14938a2d34b338c4a
MD5 b5c434125269d3ee2790d2f60b5c765f
BLAKE2b-256 ef2387a7834c1c4808abad1ab9f0ec05af8d3c887087a288de9c301dda834342

See more details on using hashes here.

Provenance

File details

Details for the file AIML_Bot-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for AIML_Bot-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01606e2cbfc5c473d8f6d0e77e39635f01c52329dca6dad4a7b864ecf9951008
MD5 268bbbd7b97df8e36b749d7a8a5a9d23
BLAKE2b-256 a54ea816518617c21456ae0a07ab7ffa45cd120e2c4b539e43f5c700b098132e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page