Skip to main content

Plugin SuggarChat framework compatible with Nonebot2.

Project description

SuggarChat Logo

SuggarChat

高扩展性的大模型聊天框架

PyPI Version Python Version NoneBot Version License QQ Group

✨ 特性一览

🚀 核心功能

  • ✅ 开箱即用的多种协议支持(OpenAI / DeepSeek / Gemini 等)
  • ✅ 可独立运行的聊天机器人
  • ✅ 支持群聊与私聊双模式
  • ✅ AT 触发与智能上下文管理
  • ✅ 戳一戳消息交互支持
  • ✅ 多模型热切换
  • ✅ 多角色热切换

🧩 扩展体系

  • 🔌 模块化协议适配器架构
  • 🧠 自定义消息解析引擎
  • 📦 SuggarMatcher 扩展处理器
  • 🧰 插件 API 全开放,易于开发拓展

🛠️ 高级功能

  • 🤖 伪人模式(概率性自动回复)
  • ♻️ 消息撤回缓解机制
  • 🚨 异常日志自动推送管理群
  • ⏱️ 会话生命周期控制
  • 🔐 Token 智能管理策略

📦 安装

提供两种安装方式:

  • 方法一(推荐):

    nb plugin install nonebot-plugin-suggarchat
    
  • 方法二(手动安装):

    pip install nonebot_plugin_suggarchat
    

    若使用方法二,还需在 pyproject.toml 中手动添加插件名:

    plugins = ["nonebot_plugin_suggarchat"]
    

🧭 快速开始

请查阅我们的 📘 Wiki 使用文档 来了解如何快速部署和配置。

💬 社区支持

如需帮助或参与讨论,欢迎加入我们的官方 QQ 群:1002495699

Project details


Release history Release notifications | RSS feed

This version

2.4.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_suggarchat-2.4.0.tar.gz (43.3 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_suggarchat-2.4.0-py3-none-any.whl (54.5 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_suggarchat-2.4.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_suggarchat-2.4.0.tar.gz
Algorithm Hash digest
SHA256 dc444aa44d437642c86f874dc0b194588c5c4badba942909fe3846e1e58a3b02
MD5 6f475c9c8881b8aaf8056472e469a9a7
BLAKE2b-256 53cf4e4e32e87e1543dc371f7f3b82c96495429ff5f8a5bda1c2c087488f7cd5

See more details on using hashes here.

File details

Details for the file nonebot_plugin_suggarchat-2.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_suggarchat-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 774352e1e78ee7b85b17b05c86d25d9be373c60df69bffa4dd1b1e8c4d36c788
MD5 832e386872a6ae18acc4b5947c2b49b1
BLAKE2b-256 d429da7e53d04a743410dfaa1325be430f7eb77c3744088bbbf40c5520d222fc

See more details on using hashes here.

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