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.10.1.post0.tar.gz
(205.8 kB
view hashes)
Built Distribution
Close
Hashes for mmon-0.10.1.post0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 615c21d81e8c2bf00d780272a3b27f0c3a345ab7bbc6874aed560c6e78411d9b |
|
MD5 | f4af2420e34a3ea60ab8e9ca1a360959 |
|
BLAKE2b-256 | 09c98facb4823382522ca2c9c87db1118df2a7137ce0c44e8eedd06cdca15d1b |