Large Language Model API
Project description
Large Language Models Python API
- ✅ 百度文心一言/ERNIE
- ✅ 阿里通义千问/QWen
- ✅ 讯飞星火大模型/Spark
- ✅ 腾讯混元大模型/Hunyuan
- ✅ DeepSeek
- ✅ 智谱/ChatGLM
Install
pip install chatchat
Usage
# set YOUR secret keys
# tencent
chatchat config tencent.secret_id=YOUR_SECRET_ID
chatchat config tencent.secret_key=YOUR_SECRET_KEY
# baidu
chatchat config baidu.api_key=YOUR_API_KEY
chatchat config baidu.secret_key=YOUR_SECRET_KEY
# list info of all supported platform
chatchat config --list
Refer to [examples]
Sponsor
公众号 | |
---|---|
AliPay | WeChatPay |
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
chatchat-0.1.7.tar.gz
(15.3 kB
view details)
Built Distribution
chatchat-0.1.7-py3-none-any.whl
(18.7 kB
view details)
File details
Details for the file chatchat-0.1.7.tar.gz
.
File metadata
- Download URL: chatchat-0.1.7.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a742a1e94ee9eee2da6bb978ee190b49fc8f0db38896b78895d37fb3673b5398 |
|
MD5 | 37cc7212f414e476c43f0ad27ef131ba |
|
BLAKE2b-256 | c8feb70f39f97fa99bd97ea0a7e71e7422b1cd217ddde271d7cfc45aaa2b82ac |
File details
Details for the file chatchat-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: chatchat-0.1.7-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8df7faac381814bbf770fc53222773a744a523fa768198af4ab0b8fba6fa2311 |
|
MD5 | 9befb4e5af6c3242f45a8dd15602d769 |
|
BLAKE2b-256 | 557751f129d52bfcc7a070562b5a3e5184a35722ba506a64370bb903a09d0f34 |