Name | nonebot-plugin-ai-interviewer JSON |
Version |
0.1.1
JSON |
| download |
home_page | |
Summary | A ai-interviewer based on chatgpt |
upload_time | 2023-03-20 14:34:00 |
maintainer | |
docs_url | None |
author | Alpaca |
requires_python | >=3.8,<4.0 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<div align="center">
<a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
<br>
<p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>
<div align="center">
# nonebot-plugin-ai-interviewer
</div>
## 介绍
- 本插件基于OpenAI的API开发,在nonebot框架下实现一个聊天式的可自定义面试职位的AI辅助面试官。
- 本插件具有用户识别功能
![](demo.jpg)
## 安装
* 手动安装
```
git clone https://github.com/Alpaca4610/nonebot-plugin-ai-interviewer.git
```
下载完成后在bot项目的pyproject.toml文件手动添加插件:
```
plugin_dirs = ["xxxxxx","xxxxxx",......,"下载完成的插件路径/nonebot-plugin-ai-interviewer"]
```
* 使用 pip
```
pip install nonebot-plugin-ai-interviewer
```
## 配置文件
在Bot根目录下的.env文件中追加如下内容:
```
OPENAI_API_KEY = key
```
可选内容:
```
OPENAI_HTTP_PROXY = "http://127.0.0.1:8001" # 中国大陆/香港IP调用API请使用代理访问api,否则有几率会被封禁
OPENAI_MODEL_NAME = "xxxxx" # AI面试官使用的模型名称
```
## 使用方法
- 初始化AI面试官:(注意,命令中的逗号为中文逗号)
```
interviewer 公司:XXXX 职位:XXXXX
```
- 回答面试官问题
```
interviewer 你的回答
```
- 停止面试,开始下一轮面试需要重新初始化
```
stop
```
Raw data
{
"_id": null,
"home_page": "",
"name": "nonebot-plugin-ai-interviewer",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Alpaca",
"author_email": "alpaca@bupt.edu.cn",
"download_url": "https://files.pythonhosted.org/packages/47/06/5b840510065184f66591f7ff277043705d604e8985b2f716c50429250bc1/nonebot_plugin_ai_interviewer-0.1.1.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n <br>\n <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-ai-interviewer\n</div>\n\n## \u4ecb\u7ecd\n- \u672c\u63d2\u4ef6\u57fa\u4e8eOpenAI\u7684API\u5f00\u53d1\uff0c\u5728nonebot\u6846\u67b6\u4e0b\u5b9e\u73b0\u4e00\u4e2a\u804a\u5929\u5f0f\u7684\u53ef\u81ea\u5b9a\u4e49\u9762\u8bd5\u804c\u4f4d\u7684AI\u8f85\u52a9\u9762\u8bd5\u5b98\u3002\n- \u672c\u63d2\u4ef6\u5177\u6709\u7528\u6237\u8bc6\u522b\u529f\u80fd\n\n![](demo.jpg)\n## \u5b89\u88c5\n\n* \u624b\u52a8\u5b89\u88c5\n ```\n git clone https://github.com/Alpaca4610/nonebot-plugin-ai-interviewer.git\n ```\n\n \u4e0b\u8f7d\u5b8c\u6210\u540e\u5728bot\u9879\u76ee\u7684pyproject.toml\u6587\u4ef6\u624b\u52a8\u6dfb\u52a0\u63d2\u4ef6\uff1a\n\n ```\n plugin_dirs = [\"xxxxxx\",\"xxxxxx\",......,\"\u4e0b\u8f7d\u5b8c\u6210\u7684\u63d2\u4ef6\u8def\u5f84/nonebot-plugin-ai-interviewer\"]\n ```\n* \u4f7f\u7528 pip\n ```\n pip install nonebot-plugin-ai-interviewer\n ```\n\n## \u914d\u7f6e\u6587\u4ef6\n\n\u5728Bot\u6839\u76ee\u5f55\u4e0b\u7684.env\u6587\u4ef6\u4e2d\u8ffd\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a\n\n```\nOPENAI_API_KEY = key\n```\n\n\u53ef\u9009\u5185\u5bb9\uff1a\n```\nOPENAI_HTTP_PROXY = \"http://127.0.0.1:8001\" # \u4e2d\u56fd\u5927\u9646/\u9999\u6e2fIP\u8c03\u7528API\u8bf7\u4f7f\u7528\u4ee3\u7406\u8bbf\u95eeapi,\u5426\u5219\u6709\u51e0\u7387\u4f1a\u88ab\u5c01\u7981\nOPENAI_MODEL_NAME = \"xxxxx\" # AI\u9762\u8bd5\u5b98\u4f7f\u7528\u7684\u6a21\u578b\u540d\u79f0\n```\n\n\n## \u4f7f\u7528\u65b9\u6cd5\n\n- \u521d\u59cb\u5316AI\u9762\u8bd5\u5b98\uff1a\uff08\u6ce8\u610f\uff0c\u547d\u4ee4\u4e2d\u7684\u9017\u53f7\u4e3a\u4e2d\u6587\u9017\u53f7\uff09\n```\ninterviewer \u516c\u53f8\uff1aXXXX \u804c\u4f4d\uff1aXXXXX\n```\n- \u56de\u7b54\u9762\u8bd5\u5b98\u95ee\u9898\n```\ninterviewer \u4f60\u7684\u56de\u7b54\n```\n- \u505c\u6b62\u9762\u8bd5\uff0c\u5f00\u59cb\u4e0b\u4e00\u8f6e\u9762\u8bd5\u9700\u8981\u91cd\u65b0\u521d\u59cb\u5316\n```\nstop\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A ai-interviewer based on chatgpt",
"version": "0.1.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "897be3ee4505c4fcf051d01060a18e1a153a203504f5f54071523b3db0d98ad1",
"md5": "c46d629d03126db409eab65bbcdf0561",
"sha256": "0b1f8101527f7a1eedaaa5fc996877b120dae3d87526b006de3090043c85df06"
},
"downloads": -1,
"filename": "nonebot_plugin_ai_interviewer-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c46d629d03126db409eab65bbcdf0561",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 4465,
"upload_time": "2023-03-20T14:33:59",
"upload_time_iso_8601": "2023-03-20T14:33:59.011021Z",
"url": "https://files.pythonhosted.org/packages/89/7b/e3ee4505c4fcf051d01060a18e1a153a203504f5f54071523b3db0d98ad1/nonebot_plugin_ai_interviewer-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "47065b840510065184f66591f7ff277043705d604e8985b2f716c50429250bc1",
"md5": "e3d1699562887dff23e96a771b81bf4e",
"sha256": "c616d467eb5ff226d3ae5f2ec06af5672682b53823cc23dca147e06ff3a4f048"
},
"downloads": -1,
"filename": "nonebot_plugin_ai_interviewer-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "e3d1699562887dff23e96a771b81bf4e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 3946,
"upload_time": "2023-03-20T14:34:00",
"upload_time_iso_8601": "2023-03-20T14:34:00.489328Z",
"url": "https://files.pythonhosted.org/packages/47/06/5b840510065184f66591f7ff277043705d604e8985b2f716c50429250bc1/nonebot_plugin_ai_interviewer-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-20 14:34:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "nonebot-plugin-ai-interviewer"
}