Universal API chat Python client for OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba, Inception, Moonshot AI, and more.
rm -rf dist build *.egg-info
python3 -m build
twine upload dist/*
- Install the pip package:
pip install unichat
-
Add the class 'UnifiedChatApi' from module 'unichat' to your application:
-
[optional] Import MODELS_LIST as well for additional validation
Try the eclosed in the source code 'sample_chat.py' file:
python3 sample_chat.py