Use large language models to interpret chat messages
Project description
entari-plugin-hyw
使用大语言模型在聊天环境解释大家的hyw
目前的局限
目前仅支持 satori-python-adapter-onebot11 使用此插件, 更多适配请等一会...
目前没有考虑 video , 小程序 等复杂消息类型的处理
🚀 快速开始
安装
pip install entari-plugin-hyw
配置
在你的 entari.yml 配置文件中根据您的情况添加以下配置:
plugins:
entari_plugin_hyw:
hyw_command_name: ["/hyw", "hyw"]
# 文本模型配置
text_llm_model_name: "qwen3-max"
text_llm_api_key: "your-api-key"
text_llm_model_base_url: "https://xxx/v1"
text_llm_enable_search: false
# 视觉模型配置
vision_llm_model_name: "qwen3-vl-plus"
vision_llm_api_key: "your-api-key"
vision_llm_model_base_url: "https://xxx/v1"
vision_llm_enable_search: false
📖 使用方法
hyw 什么是人工智能?
hyw [图片]
[引用消息[图片, 文字]] hyw
[引用消息[图片, 文字]] [At] hyw 什么是人工智能? [图片]
自动屏蔽 At 元素
⚙️ 配置参数
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
hyw_command_name |
str | List[str] |
"hyw" |
触发命令名称 |
text_llm_model_name |
str |
- | 文本模型名称 |
text_llm_api_key |
str |
- | 文本模型 API 密钥 |
text_llm_model_base_url |
str |
- | 文本模型 API 地址 |
text_llm_temperature |
float |
0.4 |
文本模型温度参数 |
text_llm_enable_search |
bool |
false |
是否启用搜索功能 |
vision_llm_model_name |
str |
- | 视觉模型名称 |
vision_llm_api_key |
str |
- | 视觉模型 API 密钥 |
vision_llm_model_base_url |
str |
- | 视觉模型 API 地址 |
vision_llm_temperature |
float |
0.4 |
视觉模型温度参数 |
vision_llm_enable_search |
bool |
false |
是否启用视觉搜索 |
hyw_prompt |
str |
默认提示词 | 自定义系统提示词 |
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 entari_plugin_hyw-0.3.5.tar.gz.
File metadata
- Download URL: entari_plugin_hyw-0.3.5.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2f8b06559c825b7cace3f7cb8e343e98ce4f0bceaa823e5034d800a976b4007
|
|
| MD5 |
5f0b9f55a0596d560389c893bc5df071
|
|
| BLAKE2b-256 |
bf4d2f79a5acdb25fee9e13c7b785776dfe13d3f728fef7e142d8df9fc9a5701
|
Provenance
The following attestation bundles were made for entari_plugin_hyw-0.3.5.tar.gz:
Publisher:
publish.yml on kumoSleeping/entari-plugin-hyw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
entari_plugin_hyw-0.3.5.tar.gz -
Subject digest:
e2f8b06559c825b7cace3f7cb8e343e98ce4f0bceaa823e5034d800a976b4007 - Sigstore transparency entry: 651958524
- Sigstore integration time:
-
Permalink:
kumoSleeping/entari-plugin-hyw@968065501578714872389b31a8955c5de6713135 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kumoSleeping
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@968065501578714872389b31a8955c5de6713135 -
Trigger Event:
push
-
Statement type:
File details
Details for the file entari_plugin_hyw-0.3.5-py3-none-any.whl.
File metadata
- Download URL: entari_plugin_hyw-0.3.5-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d088120f21e9ae5be4b4c208504ed73b77482c89f5f5caa503705e0292c3613
|
|
| MD5 |
d83a1720b7d0db0b4819db5e9bca3377
|
|
| BLAKE2b-256 |
a58510dcc506be3c13903eec225bb675703d2b56254608a9959a144a888e561d
|
Provenance
The following attestation bundles were made for entari_plugin_hyw-0.3.5-py3-none-any.whl:
Publisher:
publish.yml on kumoSleeping/entari-plugin-hyw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
entari_plugin_hyw-0.3.5-py3-none-any.whl -
Subject digest:
5d088120f21e9ae5be4b4c208504ed73b77482c89f5f5caa503705e0292c3613 - Sigstore transparency entry: 651958551
- Sigstore integration time:
-
Permalink:
kumoSleeping/entari-plugin-hyw@968065501578714872389b31a8955c5de6713135 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kumoSleeping
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@968065501578714872389b31a8955c5de6713135 -
Trigger Event:
push
-
Statement type: