Let AI help you compare two things.
Project description
📖 介绍
让 AI 帮你一本正经地胡说八道
服务来自 EitherChoice
💿 安装
以下提到的方法 任选其一 即可
[推荐] 使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-eitherchoice
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-eitherchoice
pdm
pdm add nonebot-plugin-eitherchoice
poetry
poetry add nonebot-plugin-eitherchoice
conda
conda install nonebot-plugin-eitherchoice
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分的 plugins
项里追加写入
[tool.nonebot]
plugins = [
# ...
"nonebot_plugin_eitherchoice"
]
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
PROXY |
否 | 无 | 访问接口使用的代理 |
EITHER_CHOICE_TIMEOUT |
否 | 90 |
访问接口超时,单位秒 |
EITHER_CHOICE_RETRY |
否 | 2 |
访问接口最大重试次数 |
EITHER_CHOICE_LANG |
否 | zh-CN |
目标语言 |
EITHER_CHOICE_ALLOW_PUBLIC |
否 | True |
是否允许 AI 上网搜索相关信息 |
EITHER_CHOICE_PIC_WIDTH |
否 | 1280 |
生成图片的宽度,单位像素(实际宽度可能是这里的一倍) |
EITHER_CHOICE_MAIN_FONT |
否 | ... | 生成图片的主字体,使用 CSS 语法 |
EITHER_CHOICE_CODE_FONT |
否 | ... | 生成图片的代码字体,使用 CSS 语法 |
🎉 使用
指令
- 指令:对比 要顶的事物 和 要踩的事物
- 别名:比较、比较一下、锐评、如何评价
- 例:
- 对比 Python 和 JavaScript
- 比较一下 C# 和 Java
效果图
📞 联系
QQ:3076823485
Telegram:@lgc2333
吹水群:1105946125
邮箱:lgc2333@126.com
💡 鸣谢
EitherChoice
- 服务提供
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
-
赞助二维码(点击展开)
📝 更新日志
0.1.1
- 添加配置项
EITHER_CHOICE_RETRY
,当访问接口出现问题时,将会自动重试
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_eitherchoice-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 729ac5174175dd2bd6caedced1a8c383b2756e9433c638ba2cefc32f2c200d6a |
|
MD5 | aa2c0e558d5b31cf766480d852c22c1c |
|
BLAKE2b-256 | ed22248be7dd113bf4924575fbfc9e9fba2f7784ddfb68d94cc573e7b422fbdb |
Close
Hashes for nonebot_plugin_eitherchoice-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85085229bd46657419970cc79fc81f418caa90b5bed7765925d7eb80c0262032 |
|
MD5 | 4cc306db828cf1a35c56b8631972ef14 |
|
BLAKE2b-256 | 62a7e308352cd4de6bd693f1b95a9cd3b759413d2a55dc54051d0f3708dda92d |