Skip to main content

SuggarChat chat framework

Project description

SuggarChat Logo

SuggarChat

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

PyPI Version Python Version NoneBot Version License QQ Group

✨ 特性一览

🚀 核心功能

  • ✅ 开箱即用的多种协议支持(OpenAI / DeepSeek / Gemini 等)
  • ✅ 可独立运行的聊天机器人
  • ✅ 支持群聊与私聊双模式
  • ✅ AT 触发与智能上下文管理
  • ✅ 戳一戳消息交互支持
  • ✅ 多模型热切换
  • ✅ 多角色热切换
  • ✅ 会话生命周期管理
  • ✅ 聊天模型切换
  • ✅ 多模态模型支持
  • ✅ Function Calling支持
    • ✅ 内置聊天不良内容检测
    • ✅ 基于Cookie检测的提示词防泄露

🧩 扩展体系

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

🛠️ 高级功能

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

📦 安装

提供两种安装方式:

  • 方法一(推荐):

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

    pip install nonebot_plugin_suggarchat
    

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

    plugins = ["nonebot_plugin_suggarchat"]
    

🧭 快速开始

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

💬 社区支持

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

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

nonebot_plugin_suggarchat-3.2.0.dev4.tar.gz (54.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file nonebot_plugin_suggarchat-3.2.0.dev4.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_suggarchat-3.2.0.dev4.tar.gz
Algorithm Hash digest
SHA256 8abc67aec2f910a4689f359ae910bc6d2c16175057650fcc883d49125c1668b9
MD5 e60e4914f0ccaec9a28c7d84d962a14d
BLAKE2b-256 1f37fdfb9f1a0d3955a446ab4375a2111c7d7b2490f1b354aa4bf9fd5f68f507

See more details on using hashes here.

File details

Details for the file nonebot_plugin_suggarchat-3.2.0.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_suggarchat-3.2.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 c9d0e93f70672219c75e5594910d37682f26cb5bed35112f702b27a0972fddf4
MD5 f093be041ccd8c14a929fa88a13b92a0
BLAKE2b-256 c9ded2fc81b7b97b0a093de17ce949199adc37bd18e65193f1f64570f22095f1

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