A customizable chat bot.
Project description
mmon
A customizable (BingChat-like) chat bot.
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
mmon-0.12.1-py3-none-any.whl
(8.0 kB
view details)
File details
Details for the file mmon-0.12.1.tar.gz
.
File metadata
- Download URL: mmon-0.12.1.tar.gz
- Upload date:
- Size: 206.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da27c1674389131d954b8630f6437416c24e351ea4e31a51c6a0f0caaf2fd580 |
|
MD5 | 2db525f19b56504527f3f4440ad5bca5 |
|
BLAKE2b-256 | f27bf1a2f8026bcae3be2f782c35bbfee879439cb63d63ee138cf2038f90d391 |
File details
Details for the file mmon-0.12.1-py3-none-any.whl
.
File metadata
- Download URL: mmon-0.12.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ee0bbe2b2cc11e408199430c82820d96425735d24a2bba490a6e1d79100c2ee |
|
MD5 | 92ea724934b93cea5a66aeb5cf56c333 |
|
BLAKE2b-256 | 70a2670eb53df094f7f722b8530b117fe6fa0d7b1256b516791ba4d2934354c5 |