Nonebot2 的谷歌 Gemini 多模态助手,一个命令即可玩转 Gemini 的多模态!
Project description
💿 安装
使用 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 | 是 | 无 | 配置说明 |
| gm_model | 否 | gemini-1.5-flash | 配置说明 |
| gm_prompt | 否 | 请用中文回答以下问题: | 配置说明 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| gemini / Gemini | 群员 | 否 | 群聊/私聊 | 指令说明 |
效果图
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_multimodal_gemini-0.0.3.tar.gz.
File metadata
- Download URL: nonebot_plugin_multimodal_gemini-0.0.3.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5634f249bbba922d3783a08f22424b29ffdeb9e1221f57d216ebb0adf92062e1
|
|
| MD5 |
d2d7ae0c341852ac384889d25917b912
|
|
| BLAKE2b-256 |
4bab24dd3042e0382fa1dbcdd39c5e3d7a0059a6046eae8ca0348e86af928d47
|
File details
Details for the file nonebot_plugin_multimodal_gemini-0.0.3-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_multimodal_gemini-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df6c8e968f70ff08e29438bb98263539412332e499a736fb97adfa9fec06a1a0
|
|
| MD5 |
66cccf248bc3ee3a71e643a343182d1b
|
|
| BLAKE2b-256 |
b3ff2f998906ecda2b340c807ba65ba151e8ca8baa3df5b72315864ef4ac9c23
|