Skip to main content

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/hook 

figure

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

# HappyCoding

NOTE: UNDER ACTIVE DEVELOPMENT (ACCEPTING PULL REQUESTS)

Release files for machaao 0.3.18

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

Source distribution (sdist)

Source distribution for machaao 0.3.18
File Size Uploaded
machaao-0.3.18.tar.gz 9.3 kB Details

Release files / machaao-0.3.18.tar.gz

Download URL machaao-0.3.18.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4851873a4c2176aa4b7bca938ac8603cd95bd64756727176d295efc1587be529
BLAKE2b-256 checksum
How to use checksums
ebebcdcce255fe47950c538a9e87f050269860558665c269f980dc066705675b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.18 This release

1 release file

0.3.17

1 release file

0.3.16

1 release file

0.3.14

1 release file

0.3.13

1 release file

0.3.12

1 release file

0.3.11

1 release file

0.3.10

1 release file

0.3.9

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

1 release file

0.2.0

2 release files

0.1.9

2 release files

0.1.7

2 release files

0.0.3

2 release files

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