Unichat
Universal API chat Python client for OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba and Inception
Install / Use
/learn @amidabuddha/UnichatAbout this skill
Quality Score
0/100
Category
Development & EngineeringSupported Platforms
Claude Code
Claude Desktop
README
unichat
Universal API chat Python client for OpenAI, MistralAI, Anthropic, xAI, Google AI, or any OpenAI SDK LLM provider.
Build sequence:
rm -rf dist build *.egg-info
python3 -m build
twine upload dist/*
Usage:
- 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
Functionality testing:
Try the eclosed in the source code 'sample_chat.py' file:
python3 sample_chat.py
