Universal API chat Python client for OpenAI, MistralAI, Anthropic, xAI, Google AI, or any OpenAI SDK LLM provider.
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unichat-4.3.0.tar.gz.
File metadata
- Download URL: unichat-4.3.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96401396c6d170dfe782f0fe42dd41c520bebc8b3ab687a60cfa51fefed557cf
|
|
| MD5 |
be8879d48bd08b4387153eab6059f5fd
|
|
| BLAKE2b-256 |
10d6442bd22e5c1cbc4f0847d7321a595050047139cd464ae864f058c28e35bd
|
File details
Details for the file unichat-4.3.0-py3-none-any.whl.
File metadata
- Download URL: unichat-4.3.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
111665ab281f8ed4c77f33488719606e9c7aa1ead12ad916736c6bf7607ba824
|
|
| MD5 |
f6883ed850038984bff90dbd4a3b3491
|
|
| BLAKE2b-256 |
9da843cd6c07933613dcfeadb432c7d5d663a210c2eee5073ca910bea674cc01
|