A customizable chat bot.
Project description
mon
A customizable 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 OPENAI_API_KEY=XXXXXXXXXX
export OPENAI_API_BASE=https://XXXXXX.openai.azure.com/
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 MON_DEPLOYMENT=gpt-35-turbo-16k
Usage
python -m mon
# or
mon
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.5.2.tar.gz
(6.0 kB
view hashes)
Built Distribution
mmon-0.5.2-py3-none-any.whl
(4.2 kB
view hashes)