### Large Language Models Python API
<table align="center">
<tr>
<th>Vendor</th>
<th>Model</th>
</tr>
<tr>
<td align="center">DeepSeek</td>
<td>
<code>deepseek-chat</code> <code>deepseek-reasoner</code> <code>deepseek-coder</code>
</td>
</tr>
<tr>
<td align="center">百度</td>
<td>
<code>ernie-lite-8k</code> <code>ernie-tiny-8k</code> <code>ernie-speed-8k</code> <code>ernie-speed-128k</code> <code>deepseek-v3</code> <code>deepseek-r1</code>
</td>
</tr>
<tr>
<td align="center">阿里巴巴</td>
<td>
<code>deepseek-v3</code> <code>deepseek-r1</code> <code>deepseek-r1-distill-qwen-1.5b</code> <code>deepseek-r1-distill-qwen-7b</code> <code>deepseek-r1-distill-qwen-14b</code> <code>deepseek-r1-distill-qwen-32b</code>
</td>
</tr>
<tr>
<td align="center">讯飞</td>
<td>
<code>lite</code> <code>generalv3</code> <code>pro-128k</code> <code>generalv3.5</code> <code>max-32k</code> <code>4.0Ultra</code> <code>deepseek-r1</code> <code>deepseek-v3</code>
</td>
</tr>
<tr>
<td align="center">腾讯</td>
<td>
<code>hunyuan-lite</code> <code>hunyuan-standard</code> <code>hunyuan-standard-256K</code> <code>hunyuan-pro</code>
</td>
</tr>
<tr>
<td align="center">智谱</td>
<td>
<code>glm-4-plus</code> <code>glm-4-air</code> <code>glm-4-long</code> <code>glm-4-flash</code>
</td>
</tr>
</table>
### 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.app_id=YOUR_APP_ID
# list info of all supported vendors
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://jiauzhang.github.io/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://jiauzhang.github.io/AliPay.png" style="width: 196px; height: 196px" alt="AliPay.png"></td>
<td><img src="https://jiauzhang.github.io/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/00/f0/f0d1b1fc2dfbda4ea752f8ddd18135cc31e0cd07740dcdd7840b7852f4a5/chatchat-0.2.5.tar.gz",
"platform": null,
"description": "### Large Language Models Python API\n<table align=\"center\">\n <tr>\n <th>Vendor</th>\n <th>Model</th>\n </tr>\n <tr>\n <td align=\"center\">DeepSeek</td>\n <td>\n <code>deepseek-chat</code> <code>deepseek-reasoner</code> <code>deepseek-coder</code>\n </td>\n </tr>\n <tr>\n <td align=\"center\">\u767e\u5ea6</td>\n <td>\n <code>ernie-lite-8k</code> <code>ernie-tiny-8k</code> <code>ernie-speed-8k</code> <code>ernie-speed-128k</code> <code>deepseek-v3</code> <code>deepseek-r1</code>\n </td>\n </tr>\n <tr>\n <td align=\"center\">\u963f\u91cc\u5df4\u5df4</td>\n <td>\n <code>deepseek-v3</code> <code>deepseek-r1</code> <code>deepseek-r1-distill-qwen-1.5b</code> <code>deepseek-r1-distill-qwen-7b</code> <code>deepseek-r1-distill-qwen-14b</code> <code>deepseek-r1-distill-qwen-32b</code>\n </td>\n </tr>\n <tr>\n <td align=\"center\">\u8baf\u98de</td>\n <td>\n <code>lite</code> <code>generalv3</code> <code>pro-128k</code> <code>generalv3.5</code> <code>max-32k</code> <code>4.0Ultra</code> <code>deepseek-r1</code> <code>deepseek-v3</code>\n </td>\n </tr>\n <tr>\n <td align=\"center\">\u817e\u8baf</td>\n <td>\n <code>hunyuan-lite</code> <code>hunyuan-standard</code> <code>hunyuan-standard-256K</code> <code>hunyuan-pro</code>\n </td>\n </tr>\n <tr>\n <td align=\"center\">\u667a\u8c31</td>\n <td>\n <code>glm-4-plus</code> <code>glm-4-air</code> <code>glm-4-long</code> <code>glm-4-flash</code>\n </td>\n </tr>\n</table>\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.app_id=YOUR_APP_ID\n# list info of all supported vendors\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://jiauzhang.github.io/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://jiauzhang.github.io/AliPay.png\" style=\"width: 196px; height: 196px\" alt=\"AliPay.png\"></td>\n <td><img src=\"https://jiauzhang.github.io/WeChatPay.png\" style=\"width: 196px; height: 196px\" alt=\"WeChatPay.png\"></td>\n </tr>\n </tbody>\n</table>\n",
"bugtrack_url": null,
"license": "GPL-2.0",
"summary": "Large Language Models Python API ",
"version": "0.2.5",
"project_urls": {
"Homepage": "https://github.com/JiauZhang/chatchat"
},
"split_keywords": [
"llm",
" chatapi",
" chatbot"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "59357c270d6eddc61c8f0d1fbb7cd5c8455b75ba4436b0a1137340ef5519ada9",
"md5": "0531923ea9be3b84d777430a99ed7826",
"sha256": "f864ba78cee83d35dcf186811b6060c63c754cf8d0eac4c8a02dfe60a9944931"
},
"downloads": -1,
"filename": "chatchat-0.2.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0531923ea9be3b84d777430a99ed7826",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17102,
"upload_time": "2025-02-12T10:57:12",
"upload_time_iso_8601": "2025-02-12T10:57:12.350816Z",
"url": "https://files.pythonhosted.org/packages/59/35/7c270d6eddc61c8f0d1fbb7cd5c8455b75ba4436b0a1137340ef5519ada9/chatchat-0.2.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "00f0f0d1b1fc2dfbda4ea752f8ddd18135cc31e0cd07740dcdd7840b7852f4a5",
"md5": "62d18e37b385069cf169bd170e702638",
"sha256": "ddfa149dab357c3fba696b4d260beb06c728bb36ecf2460c4c17661a9df65516"
},
"downloads": -1,
"filename": "chatchat-0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "62d18e37b385069cf169bd170e702638",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13871,
"upload_time": "2025-02-12T10:57:13",
"upload_time_iso_8601": "2025-02-12T10:57:13.556917Z",
"url": "https://files.pythonhosted.org/packages/00/f0/f0d1b1fc2dfbda4ea752f8ddd18135cc31e0cd07740dcdd7840b7852f4a5/chatchat-0.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-12 10:57:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "JiauZhang",
"github_project": "chatchat",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "chatchat"
}