Large Language Model API
Project description
Large Language Models Python API
- ✅ 百度文心一言/ERNIE
- ✅ 阿里通义千问/QWen
- ✅ 讯飞星火大模型/Spark
- ✅ 腾讯混元大模型/Hunyuan
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.5.tar.gz
(14.7 kB
view hashes)
Built Distribution
chatchat-0.1.5-py3-none-any.whl
(16.9 kB
view hashes)