Skip to main content

A module for python developers looking to build, prototype & deploy deeply personalized chatbots

Project description

machaao - make personalized chatbots that scale

codebeat badge Gitter
A module for python developers looking to rapidly build, prototype and publish personalized chatbots

Live Web Demo

figure

Jeanie is a GPT-J powered virtual girlfriend based on the module

Minimum Requirements

python # 3.6 or higher version

Get your FREE API Key through the Dev Portal

Get your FREE API Key @ https://portal.messengerx.io

Install

# For Linux/MacOS
pip3 install machaao

# For Windows
pip install machaao

Create new chatbot project

machaao start -n <project_name>

Navigate to the newly created chatbot project directory

cd <project_name>

Open chatbot.py in any text editor, update the api key and base url as shown below

MESSENGERX_API_TOKEN = "<API_KEY_FROM_PORTAL>"
MESSENGERX_BASE_URL = "https://ganglia.machaao.com" [for development purposes]

Run your simple chatbot on your local server

# For Linux/MacOS
python3 chatbot.py

# For Windows
python chatbot.py

Start ngrok.io tunnel in a new terminal (local development)

ngrok http 5000

Update your webhook

Update your bot Webhook URL at MessengerX.io Portal with the url provided as shown below to continue development

https://<Your NGROK URL>/machaao/incoming 

figure

Your chatbot is now ready to start receiving incoming messages from users

# HappyCoding

NOTE: UNDER ACTIVE DEVELOPMENT (ACCEPTING PULL REQUESTS)

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

machaao-0.3.13.tar.gz (9.0 kB view details)

Uploaded Source

File details

Details for the file machaao-0.3.13.tar.gz.

File metadata

  • Download URL: machaao-0.3.13.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.28.2 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.13

File hashes

Hashes for machaao-0.3.13.tar.gz
Algorithm Hash digest
SHA256 e082ef3b9f3e4d24af71b9fbbf6cc51c9a3ac50a844d57ee66a86740af5d5ec0
MD5 b647d69135ee091b072d4f1d97a89423
BLAKE2b-256 79626ef9ea161af2aedb49c75928369c5f1a7085f7aee783b876ab6c2824b044

See more details on using hashes here.

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