💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-multimodal-gemini
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-multimodal-gemini
pdm
pdm add nonebot-plugin-multimodal-gemini
poetry
poetry add nonebot-plugin-multimodal-gemini
conda
conda install nonebot-plugin-multimodal-gemini
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot-plugin-multimodal-gemini"]
⚙️ 配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| gm_api_key | 是 | 无 | Gemini API Key |
| gm_model | 否 | gemini-2.0-flash-exp | Gemini 模型 |
| gm_prompt | 否 | 请用中文回答以下问题: | 提示词(不要设置太长) |
| gm_proxy | 否 | 无 | 插件使用的代理地址,格式为http://<ip>:<port> |
| gm_search | 否 | True | 是否启用Gemini附带搜索 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| gemini / Gemini | 群员 | 否 | 群聊 | 指令说明 |
效果图
🌼 贡献
同时感谢以下开发者对 Nonebot - Gemini 多模态助手 作出的贡献:
Metadata
Release files for nonebot-plugin-multimodal-gemini 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_multimodal_gemini-0.1.3.tar.gz | 8.6 kB | Without provenance | Details for nonebot_plugin_multimodal_gemini-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_multimodal_gemini-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_multimodal_gemini-0.1.3-py3-none-any.whl |
Total release size: 18.8 kB
Release files / nonebot_plugin_multimodal_gemini-0.1.3.tar.gz
| Download URL | nonebot_plugin_multimodal_gemini-0.1.3.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92d424ed0d1efb04cfd7cd7ec463292077181b352c34f95dd7520b24355bb889
|
|
BLAKE2b-256 checksum How to use checksums |
4b75423eab2a88c824087c79ee8a50468c7b791668021850b63eb467ef9f02f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / nonebot_plugin_multimodal_gemini-0.1.3-py3-none-any.whl
| Download URL | nonebot_plugin_multimodal_gemini-0.1.3-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90c238afd20949ec8413570a41ff807f1823761dc89aae0f357c334642bc9d7a
|
|
BLAKE2b-256 checksum How to use checksums |
64339dd85003210efc24f9085be46555c420c565946f4135921e82c48b4847e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for nonebot-plugin-multimodal-gemini 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.