Skip to content

Universal API chat Python client for OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba and Inception

License

Notifications You must be signed in to change notification settings

amidabuddha/unichat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unichat

Universal API chat Python client for OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba, Inception, Moonshot AI, and more.

Build sequence:

rm -rf dist build *.egg-info
python3 -m build
twine upload dist/*

Usage:

  1. Install the pip package:
pip install unichat
  1. Add the class 'UnifiedChatApi' from module 'unichat' to your application:

  2. [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

About

Universal API chat Python client for OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba and Inception

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages