nonebot-plugin-githubmodels


Namenonebot-plugin-githubmodels JSON
Version 0.2.7 PyPI version JSON
download
home_pagehttps://github.com/lyqgzbl/nonebot-plugin-githubmodels
Summary一个调用 GitHub Models 的 AI 对话插件
upload_time2024-12-27 15:14:31
maintainerNone
docs_urlNone
authorlyqgzbl
requires_python<4.0,>=3.8
licenseMIT
keywords nonebot2 github models
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable MD033 MD036 MD041 -->

<div align="center">

<a href="https://v2.nonebot.dev/store">
  <img src="https://raw.githubusercontent.com/A-kirami/nonebot-plugin-template/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo">
</a>

<p>
  <img src="https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg" alt="NoneBotPluginText">
</p>

# nonebot-plugin-githubmodels

_✨ API调用GitHub models大语言模型 ✨_

<a href ="https://raw.githubusercontent.com/lyqgzbl/nonebot-plugin-githubmodels/refs/heads/main/LICENSE"><img src="https://img.shields.io/pypi/l/nonebot-plugin-githubmodels"> </a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-githubmodels"> <img src="https://img.shields.io/pypi/v/nonebot-plugin-githubmodels.svg" alt="pypi"></a> 
<img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">

</div>

# 安装
使用nb-cli [推荐]
```shell
nb plugin install nonebot-plugin-githubmodels
```
使用pip
```shell
pip install nonebot-plugin-githubmodels
```

# 使用
命令需要加 [NoneBot 命令前缀](https://nonebot.dev/docs/appendices/config#command-start-和-command-separator) (默认为`/`)  
使用命令`AI`/`ai`触发插件  
命令选项`-r` 重置上下文记忆  
命令选项`-i` 临时启用图片回复  

# 配置

配置参见 [.env.example](https://github.com/lyqgzbl/nonebot-plugin-githubmodels/blob/main/.env.example)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lyqgzbl/nonebot-plugin-githubmodels",
    "name": "nonebot-plugin-githubmodels",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "nonebot2, GitHub Models",
    "author": "lyqgzbl",
    "author_email": "admin@lyqgzbl.com",
    "download_url": "https://files.pythonhosted.org/packages/86/48/085f72ff5db9cf2315bd580b73824360974618b983e80afb605373e2412a/nonebot_plugin_githubmodels-0.2.7.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable MD033 MD036 MD041 -->\n\n<div align=\"center\">\n\n<a href=\"https://v2.nonebot.dev/store\">\n  <img src=\"https://raw.githubusercontent.com/A-kirami/nonebot-plugin-template/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\">\n</a>\n\n<p>\n  <img src=\"https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg\" alt=\"NoneBotPluginText\">\n</p>\n\n# nonebot-plugin-githubmodels\n\n_\u2728 API\u8c03\u7528GitHub models\u5927\u8bed\u8a00\u6a21\u578b \u2728_\n\n<a href =\"https://raw.githubusercontent.com/lyqgzbl/nonebot-plugin-githubmodels/refs/heads/main/LICENSE\"><img src=\"https://img.shields.io/pypi/l/nonebot-plugin-githubmodels\"> </a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-githubmodels\"> <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-githubmodels.svg\" alt=\"pypi\"></a> \n<img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n\n</div>\n\n# \u5b89\u88c5\n\u4f7f\u7528nb-cli [\u63a8\u8350]\n```shell\nnb plugin install nonebot-plugin-githubmodels\n```\n\u4f7f\u7528pip\n```shell\npip install nonebot-plugin-githubmodels\n```\n\n# \u4f7f\u7528\n\u547d\u4ee4\u9700\u8981\u52a0 [NoneBot \u547d\u4ee4\u524d\u7f00](https://nonebot.dev/docs/appendices/config#command-start-\u548c-command-separator) (\u9ed8\u8ba4\u4e3a`/`)  \n\u4f7f\u7528\u547d\u4ee4`AI`/`ai`\u89e6\u53d1\u63d2\u4ef6  \n\u547d\u4ee4\u9009\u9879`-r` \u91cd\u7f6e\u4e0a\u4e0b\u6587\u8bb0\u5fc6  \n\u547d\u4ee4\u9009\u9879`-i` \u4e34\u65f6\u542f\u7528\u56fe\u7247\u56de\u590d  \n\n# \u914d\u7f6e\n\n\u914d\u7f6e\u53c2\u89c1 [.env.example](https://github.com/lyqgzbl/nonebot-plugin-githubmodels/blob/main/.env.example)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\u4e00\u4e2a\u8c03\u7528 GitHub Models \u7684 AI \u5bf9\u8bdd\u63d2\u4ef6",
    "version": "0.2.7",
    "project_urls": {
        "Documentation": "https://github.com/lyqgzbl/nonebot-plugin-githubmodels#readme",
        "Homepage": "https://github.com/lyqgzbl/nonebot-plugin-githubmodels",
        "Repository": "https://github.com/lyqgzbl/nonebot-plugin-githubmodels"
    },
    "split_keywords": [
        "nonebot2",
        " github models"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1dc7040fb31c64c1953f13240f7dade0239352d78edb389bdef12197d038cf73",
                "md5": "2ae215a8325c964322e44dbd467b6db2",
                "sha256": "d6ae7e4ac16903bf6b94cbf821e8d94e833b8b4071da7d277b20c404039266ee"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_githubmodels-0.2.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2ae215a8325c964322e44dbd467b6db2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 7453,
            "upload_time": "2024-12-27T15:14:28",
            "upload_time_iso_8601": "2024-12-27T15:14:28.747700Z",
            "url": "https://files.pythonhosted.org/packages/1d/c7/040fb31c64c1953f13240f7dade0239352d78edb389bdef12197d038cf73/nonebot_plugin_githubmodels-0.2.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8648085f72ff5db9cf2315bd580b73824360974618b983e80afb605373e2412a",
                "md5": "44677b2e35bcdb4d4b68497a85295a07",
                "sha256": "c05b46efa6538b7159846b470bb6f0becadf6ed23c70be9beda0a44d5385c183"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_githubmodels-0.2.7.tar.gz",
            "has_sig": false,
            "md5_digest": "44677b2e35bcdb4d4b68497a85295a07",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 5308,
            "upload_time": "2024-12-27T15:14:31",
            "upload_time_iso_8601": "2024-12-27T15:14:31.035293Z",
            "url": "https://files.pythonhosted.org/packages/86/48/085f72ff5db9cf2315bd580b73824360974618b983e80afb605373e2412a/nonebot_plugin_githubmodels-0.2.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-27 15:14:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lyqgzbl",
    "github_project": "nonebot-plugin-githubmodels",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "nonebot-plugin-githubmodels"
}
        
Elapsed time: 1.21023s