nonebot-plugin-ai-topia


Namenonebot-plugin-ai-topia JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
Summarynonebot2AI乌托邦pro对话插件
upload_time2025-02-13 02:49:35
maintainerNone
docs_urlNone
authorkanzakiD
requires_python<4.0,>=3.13
licenseMIT License Copyright (c) 2025 神崎 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords nonebot2 nonebot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!--
 * @Author         : kanzakiD
 * @Date           : 2024-02-10 00:00:00
 * @LastEditors    : kanzakiD
 * @LastEditTime   : 2021-02-10 00:00:00
 * @Description    : None
 * @GitHub         : https://github.com/KanzakiD/nonebot-plugin-ai-topia
-->

<p align="center">
  <a href="https://v2.nonebot.dev/"><img src="https://v2.nonebot.dev/logo.png" width="200" height="200" alt="nonebot"></a>
</p>

<div align="center">

# nonebot-plugin-ai-topia

_✨ NoneBot2 AI乌托邦对话插件 ✨_


</div>

<p align="center">
  <a href="https://raw.githubusercontent.com/cscs181/QQ-Github-Bot/master/LICENSE">
    <img src="https://img.shields.io/github/license/cscs181/QQ-Github-Bot.svg" alt="license">
  </a>
  <a href="https://pypi.python.org/pypi/nonebot_plugin_ai_topia">
    <img src="https://img.shields.io/pypi/v/nonebot_plugin_ai_topia.svg" alt="pypi">
  </a>
  <img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">
</p>

## 更新记录
2025/2/12
整体功能已完成

## 使用方式
首先去插件目录找config.py 填写乌托邦的apikey、secret和roleId

私聊或群聊@机器人 即可对话


## 安装(没发到pypi和nonebot商店,以下都暂时用不了喵)

1. 使用 nb-cli 安装,不需要手动添加入口,更新使用 pip (推荐)

```
nb plugin install nonebot_plugin_ai_topia
```

2. 使用 pip 安装和更新,初次安装需要手动添加入口 (新版默认不带 bot.py 文件)

```
pip install --upgrade nonebot_plugin_ai_topia
```

pip 安装后在 Nonebot2 入口文件(例如 bot.py )增加:

```python
nonebot.load_plugin("nonebot_plugin_ai_topia")
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "nonebot-plugin-ai-topia",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.13",
    "maintainer_email": null,
    "keywords": "nonebot2, nonebot",
    "author": "kanzakiD",
    "author_email": "1690800500@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/52/98/a6978927cacbcb5c3d24505d31693d4bd0fddad02ed58d4b62b3e7a347b2/nonebot_plugin_ai_topia-0.1.0.tar.gz",
    "platform": null,
    "description": "<!--\n * @Author         : kanzakiD\n * @Date           : 2024-02-10 00:00:00\n * @LastEditors    : kanzakiD\n * @LastEditTime   : 2021-02-10 00:00:00\n * @Description    : None\n * @GitHub         : https://github.com/KanzakiD/nonebot-plugin-ai-topia\n-->\n\n<p align=\"center\">\n  <a href=\"https://v2.nonebot.dev/\"><img src=\"https://v2.nonebot.dev/logo.png\" width=\"200\" height=\"200\" alt=\"nonebot\"></a>\n</p>\n\n<div align=\"center\">\n\n# nonebot-plugin-ai-topia\n\n_\u2728 NoneBot2 AI\u4e4c\u6258\u90a6\u5bf9\u8bdd\u63d2\u4ef6 \u2728_\n\n\n</div>\n\n<p align=\"center\">\n  <a href=\"https://raw.githubusercontent.com/cscs181/QQ-Github-Bot/master/LICENSE\">\n    <img src=\"https://img.shields.io/github/license/cscs181/QQ-Github-Bot.svg\" alt=\"license\">\n  </a>\n  <a href=\"https://pypi.python.org/pypi/nonebot_plugin_ai_topia\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot_plugin_ai_topia.svg\" alt=\"pypi\">\n  </a>\n  <img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n</p>\n\n## \u66f4\u65b0\u8bb0\u5f55\n2025/2/12\n\u6574\u4f53\u529f\u80fd\u5df2\u5b8c\u6210\n\n## \u4f7f\u7528\u65b9\u5f0f\n\u9996\u5148\u53bb\u63d2\u4ef6\u76ee\u5f55\u627econfig.py \u586b\u5199\u4e4c\u6258\u90a6\u7684apikey\u3001secret\u548croleId\n\n\u79c1\u804a\u6216\u7fa4\u804a@\u673a\u5668\u4eba \u5373\u53ef\u5bf9\u8bdd\n\n\n## \u5b89\u88c5\uff08\u6ca1\u53d1\u5230pypi\u548cnonebot\u5546\u5e97\uff0c\u4ee5\u4e0b\u90fd\u6682\u65f6\u7528\u4e0d\u4e86\u55b5\uff09\n\n1. \u4f7f\u7528 nb-cli \u5b89\u88c5\uff0c\u4e0d\u9700\u8981\u624b\u52a8\u6dfb\u52a0\u5165\u53e3\uff0c\u66f4\u65b0\u4f7f\u7528 pip (\u63a8\u8350)\n\n```\nnb plugin install nonebot_plugin_ai_topia\n```\n\n2. \u4f7f\u7528 pip \u5b89\u88c5\u548c\u66f4\u65b0\uff0c\u521d\u6b21\u5b89\u88c5\u9700\u8981\u624b\u52a8\u6dfb\u52a0\u5165\u53e3 \uff08\u65b0\u7248\u9ed8\u8ba4\u4e0d\u5e26 bot.py \u6587\u4ef6\uff09\n\n```\npip install --upgrade nonebot_plugin_ai_topia\n```\n\npip \u5b89\u88c5\u540e\u5728 Nonebot2 \u5165\u53e3\u6587\u4ef6\uff08\u4f8b\u5982 bot.py \uff09\u589e\u52a0\uff1a\n\n```python\nnonebot.load_plugin(\"nonebot_plugin_ai_topia\")\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT License\n         \n         Copyright (c) 2025 \u795e\u5d0e\n         \n         Permission is hereby granted, free of charge, to any person obtaining a copy\n         of this software and associated documentation files (the \"Software\"), to deal\n         in the Software without restriction, including without limitation the rights\n         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n         copies of the Software, and to permit persons to whom the Software is\n         furnished to do so, subject to the following conditions:\n         \n         The above copyright notice and this permission notice shall be included in all\n         copies or substantial portions of the Software.\n         \n         THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n         SOFTWARE.",
    "summary": "nonebot2AI\u4e4c\u6258\u90a6pro\u5bf9\u8bdd\u63d2\u4ef6",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/kanzakiD/nonebot_plugin_ai_topia"
    },
    "split_keywords": [
        "nonebot2",
        " nonebot"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "37496def3481cab351d19a51466ff246d6b7152c3b8e882ab2ff130fc6d4f22b",
                "md5": "9f6b2550fb3f9e61ecfe23cb4f302533",
                "sha256": "1d3e7288005dc25af88fae0e11d6061693ab3c3ef4e4007660815019c5355f4e"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_ai_topia-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9f6b2550fb3f9e61ecfe23cb4f302533",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.13",
            "size": 5974,
            "upload_time": "2025-02-13T02:49:33",
            "upload_time_iso_8601": "2025-02-13T02:49:33.792741Z",
            "url": "https://files.pythonhosted.org/packages/37/49/6def3481cab351d19a51466ff246d6b7152c3b8e882ab2ff130fc6d4f22b/nonebot_plugin_ai_topia-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5298a6978927cacbcb5c3d24505d31693d4bd0fddad02ed58d4b62b3e7a347b2",
                "md5": "f5c74ad3a9c225de38e110a2a3c595b8",
                "sha256": "f42f3b877e2bed9bf8040578e73736c0bcae5c3ea0eb9fd4038c087279560bc9"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_ai_topia-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f5c74ad3a9c225de38e110a2a3c595b8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.13",
            "size": 4051,
            "upload_time": "2025-02-13T02:49:35",
            "upload_time_iso_8601": "2025-02-13T02:49:35.789457Z",
            "url": "https://files.pythonhosted.org/packages/52/98/a6978927cacbcb5c3d24505d31693d4bd0fddad02ed58d4b62b3e7a347b2/nonebot_plugin_ai_topia-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-13 02:49:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kanzakiD",
    "github_project": "nonebot_plugin_ai_topia",
    "github_not_found": true,
    "lcname": "nonebot-plugin-ai-topia"
}
        
Elapsed time: 1.48470s