Skip to main content

A customizable chat bot.

Project description

mmon PyPI version Release Building

A customizable (BingChat-like) chat bot.

A chatbot image generated by algorithm

Install

pip install -U mmon

Set environment variable in your ~/.bashrc, ~/.zshrc, etc.

export OPENAI_API_KEY=sk~XXXXXXXX

Or, to use Azure OpenAI endpoint, set following environment variable:

export AZURE_OPENAI_ENDPOINT=https://XXXXXX.openai.azure.com/
export OPENAI_API_KEY=XXXXXXXXXX
export OPENAI_API_TYPE=azure
export OPENAI_API_VERSION=2023-07-01-preview
# Use a deploymetn of gpt-3.5-turbo or gpt-4 with version 0613 or later
export MMON_DEPLOYMENT=gpt-35-turbo-16k

When you first run mmon, it will generate config file in ~/.mmon_cfg.json based on the environment variable (and ignore environment variable afterward).

Usage

python -m mmon
# or
mmon

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

mmon-0.12.1.tar.gz (206.1 kB view hashes)

Uploaded Source

Built Distribution

mmon-0.12.1-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

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