Skip to main content

Use large language models to interpret chat messages

Project description

entari-plugin-hyw

License PyPI

使用大语言模型在聊天环境解释大家的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

entari_plugin_hyw-0.3.5.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

entari_plugin_hyw-0.3.5-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

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

Hashes for entari_plugin_hyw-0.3.5.tar.gz
Algorithm Hash digest
SHA256 e2f8b06559c825b7cace3f7cb8e343e98ce4f0bceaa823e5034d800a976b4007
MD5 5f0b9f55a0596d560389c893bc5df071
BLAKE2b-256 bf4d2f79a5acdb25fee9e13c7b785776dfe13d3f728fef7e142d8df9fc9a5701

See more details on using hashes here.

Provenance

The following attestation bundles were made for entari_plugin_hyw-0.3.5.tar.gz:

Publisher: publish.yml on kumoSleeping/entari-plugin-hyw

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file entari_plugin_hyw-0.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for entari_plugin_hyw-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5d088120f21e9ae5be4b4c208504ed73b77482c89f5f5caa503705e0292c3613
MD5 d83a1720b7d0db0b4819db5e9bca3377
BLAKE2b-256 a58510dcc506be3c13903eec225bb675703d2b56254608a9959a144a888e561d

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page