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 触发与智能上下文管理
  • ✅ 戳一戳消息交互支持
  • ✅ 多模型热切换
  • ✅ 多角色热切换
  • ✅ 会话生命周期管理
  • ✅ 聊天模型切换
  • ✅ Agent工作流
  • ✅ MCP支持
  • ✅ Function Calling支持
    • ✅ 内置聊天不良内容检测
    • ✅ 基于Cookie检测的提示词防泄露

🧩 扩展体系

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

🛠️ 高级功能

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

📦 安装

提供两种安装方式:

  • 方法一(推荐):

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

    pip install nonebot_plugin_suggarchat[openai]
    

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

    plugins = ["nonebot_plugin_suggarchat"]
    

🧭 快速开始

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

💬 社区支持

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

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.6.0.tar.gz (74.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-3.6.0-py3-none-any.whl (93.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_suggarchat-3.6.0.tar.gz
  • Upload date:
  • Size: 74.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_suggarchat-3.6.0.tar.gz
Algorithm Hash digest
SHA256 b648ee7a1b5013ccfa9673db80b5ff1e2844b63586a3f9f2743863a86d18120e
MD5 66d26710466497f00185fa766142255d
BLAKE2b-256 725bf66415c141c35797889e7bc742ce530d459b544389fa61919b0cb6aad6a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nonebot_plugin_suggarchat-3.6.0-py3-none-any.whl
  • Upload date:
  • Size: 93.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_suggarchat-3.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22d81904be9937ec1f3a7fc7cacf43ff0879b21cdcd06cc60e6055ec6422b247
MD5 9998b6472e69d062bdd2c416baae8ba0
BLAKE2b-256 cdb9e7c8cf894e8ae12cab22e26aff9ba6a9f01ed64f929dc40257f29f5e537d

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