Skip to main content

Use large language models to interpret chat messages

Project description

Entari Plugin HYW

PyPI version License: MIT Python Versions

English | 简体中文

Entari Plugin HYW is an advanced agentic chat plugin for the Entari framework. It leverages Large Language Models (LLMs) to provide intelligent, context-aware, and multi-modal responses within instant messaging environments (OneBot 11, Satori).

The plugin implements a three-stage pipeline (Vision, Instruct, Agent) to autonomously decide when to search the web, crawl pages, or analyze images to answer user queries effectively.

Features

  • 📖 Agentic Workflow
    Autonomous decision-making process to search, browse, and reason.

  • 🎑 Multi-Modal Support
    Native support for image analysis using Vision Language Models (VLMs).

  • 🔍 Web Search & Crawling
    Integrated DuckDuckGo and Crawl4AI for real-time information retrieval.

  • 🎨 Rich Rendering
    Responses are rendered as images containing Markdown, syntax-highlighted code, LaTeX math, and citation badges.

  • 🔌 Protocol Support
    Deep integration with OneBot 11 and Satori protocols, handling reply context and JSON cards perfectly.

Installation

pip install entari-plugin-hyw

Configuration

Configure the plugin in your entari.yml.

Minimal Configuration

plugins:
  entari_plugin_hyw:
    model_name: google/gemini-2.0-flash-exp
    api_key: "your-or-api-key-here"
    # Rendering Configuration
    render_timeout_ms: 6000 # Browser wait timeout
    render_image_timeout_ms: 3000 # Image load wait timeout

Usage

Commands

  • Text Query

    /q What's the latest news on Rust 1.83?
    
  • Image Analysis (Send an image with command, or reply to an image)

    /q [Image] Explain this error.
    
  • Quote Query

    [quote: User Message] /q
    
  • Follow-up Reply to the bot's message to continue the conversation.

Documentation for AI/LLMs


License

This project is licensed under the MIT License.

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-4.0.0rc7.tar.gz (1.8 MB 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-4.0.0rc7-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file entari_plugin_hyw-4.0.0rc7.tar.gz.

File metadata

  • Download URL: entari_plugin_hyw-4.0.0rc7.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for entari_plugin_hyw-4.0.0rc7.tar.gz
Algorithm Hash digest
SHA256 50425f2fa454917ef77a40878f99f119d99d56e6283ef01a994b0d9bf38c841c
MD5 bb9654b8427d5d1b97959eb3d8a6cd6b
BLAKE2b-256 bdaf808be697f74f559d3103c40b2e21940717ce9e391b6fc8d66a5ceeb637f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for entari_plugin_hyw-4.0.0rc7.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-4.0.0rc7-py3-none-any.whl.

File metadata

File hashes

Hashes for entari_plugin_hyw-4.0.0rc7-py3-none-any.whl
Algorithm Hash digest
SHA256 67e0f3e1f9441e428b25b1f7bf3e4d05b03bbde678a5569ad0aa059354487d9b
MD5 6ba4cc04f41ea10bd737f67358f20aed
BLAKE2b-256 7919d8d3a7edbfb29108053b8c5bb84630d9a1ece782645d3e46b1b12ed5a6ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for entari_plugin_hyw-4.0.0rc7-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