### Large Language Models Python API
- ✅ 百度文心一言/ERNIE
- ✅ 阿里通义千问/QWen
- ✅ 讯飞星火大模型/Spark
- ✅ 腾讯混元大模型/Hunyuan
- ✅ DeepSeek
- ✅ 智谱/ChatGLM
### Install
```shell
pip install chatchat
```
### Usage
```shell
# 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\]](./examples)
### Sponsor
<table align="center">
<thead>
<tr>
<th colspan="2">公众号</th>
</tr>
</thead>
<tbody align="center" valign="center">
<tr>
<td colspan="2"><img src="https://www.chatqkv.com/ghstatic/images/ofa_m.png" style="height: 196px" alt="AliPay.png"></td>
</tr>
</tbody>
<thead>
<tr>
<th>AliPay</th>
<th>WeChatPay</th>
</tr>
</thead>
<tbody align="center" valign="center">
<tr>
<td><img src="https://www.chatqkv.com/AliPay.png" style="width: 196px; height: 196px" alt="AliPay.png"></td>
<td><img src="https://www.chatqkv.com/WeChatPay.png" style="width: 196px; height: 196px" alt="WeChatPay.png"></td>
</tr>
</tbody>
</table>
Raw data
{
"_id": null,
"home_page": "https://github.com/JiauZhang/chatchat",
"name": "chatchat",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "llm, chatapi, chatbot",
"author": "JiauZhang",
"author_email": "jiauzhang@163.com",
"download_url": "https://files.pythonhosted.org/packages/c8/fe/b70f39f97fa99bd97ea0a7e71e7422b1cd217ddde271d7cfc45aaa2b82ac/chatchat-0.1.7.tar.gz",
"platform": null,
"description": "### Large Language Models Python API\n- \u2705 \u767e\u5ea6\u6587\u5fc3\u4e00\u8a00/ERNIE\n- \u2705 \u963f\u91cc\u901a\u4e49\u5343\u95ee/QWen\n- \u2705 \u8baf\u98de\u661f\u706b\u5927\u6a21\u578b/Spark\n- \u2705 \u817e\u8baf\u6df7\u5143\u5927\u6a21\u578b/Hunyuan\n- \u2705 DeepSeek\n- \u2705 \u667a\u8c31/ChatGLM\n\n### Install\n```shell\npip install chatchat\n```\n\n### Usage\n```shell\n# set YOUR secret keys\n# tencent\nchatchat config tencent.secret_id=YOUR_SECRET_ID\nchatchat config tencent.secret_key=YOUR_SECRET_KEY\n# baidu\nchatchat config baidu.api_key=YOUR_API_KEY\nchatchat config baidu.secret_key=YOUR_SECRET_KEY\n# list info of all supported platform\nchatchat config --list\n```\n> Refer to [\\[examples\\]](./examples)\n\n### Sponsor\n<table align=\"center\">\n <thead>\n <tr>\n <th colspan=\"2\">\u516c\u4f17\u53f7</th>\n </tr>\n </thead>\n <tbody align=\"center\" valign=\"center\">\n <tr>\n <td colspan=\"2\"><img src=\"https://www.chatqkv.com/ghstatic/images/ofa_m.png\" style=\"height: 196px\" alt=\"AliPay.png\"></td>\n </tr>\n </tbody>\n <thead>\n <tr>\n <th>AliPay</th>\n <th>WeChatPay</th>\n </tr>\n </thead>\n <tbody align=\"center\" valign=\"center\">\n <tr>\n <td><img src=\"https://www.chatqkv.com/AliPay.png\" style=\"width: 196px; height: 196px\" alt=\"AliPay.png\"></td>\n <td><img src=\"https://www.chatqkv.com/WeChatPay.png\" style=\"width: 196px; height: 196px\" alt=\"WeChatPay.png\"></td>\n </tr>\n </tbody>\n</table>\n\n",
"bugtrack_url": null,
"license": "GPL-2.0",
"summary": "Large Language Model API",
"version": "0.1.7",
"project_urls": {
"Homepage": "https://github.com/JiauZhang/chatchat"
},
"split_keywords": [
"llm",
" chatapi",
" chatbot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "557751f129d52bfcc7a070562b5a3e5184a35722ba506a64370bb903a09d0f34",
"md5": "9befb4e5af6c3242f45a8dd15602d769",
"sha256": "8df7faac381814bbf770fc53222773a744a523fa768198af4ab0b8fba6fa2311"
},
"downloads": -1,
"filename": "chatchat-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9befb4e5af6c3242f45a8dd15602d769",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 18741,
"upload_time": "2024-06-10T03:06:30",
"upload_time_iso_8601": "2024-06-10T03:06:30.053324Z",
"url": "https://files.pythonhosted.org/packages/55/77/51f129d52bfcc7a070562b5a3e5184a35722ba506a64370bb903a09d0f34/chatchat-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c8feb70f39f97fa99bd97ea0a7e71e7422b1cd217ddde271d7cfc45aaa2b82ac",
"md5": "37cc7212f414e476c43f0ad27ef131ba",
"sha256": "a742a1e94ee9eee2da6bb978ee190b49fc8f0db38896b78895d37fb3673b5398"
},
"downloads": -1,
"filename": "chatchat-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "37cc7212f414e476c43f0ad27ef131ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15291,
"upload_time": "2024-06-10T03:06:31",
"upload_time_iso_8601": "2024-06-10T03:06:31.468547Z",
"url": "https://files.pythonhosted.org/packages/c8/fe/b70f39f97fa99bd97ea0a7e71e7422b1cd217ddde271d7cfc45aaa2b82ac/chatchat-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-10 03:06:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "JiauZhang",
"github_project": "chatchat",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "chatchat"
}