Skip to main content

基于Misskey智能对话插件,支持多频道管理和回复链记忆

Project description

MisskeyPluginLogo

misskey-plugin-huaer-bot

✨基于硅基/DeepSeek API的智能对话插件✨

license python license Misskey license pypi deepseek

💿 安装

pip

pip install misskey-plugin-huaer-bot

git clone

见本项目github界面

📜 功能特性

  • 具有人格定制功能,可以自由设定人格
  • 具有频道管理器,可以小规模的同时管理数个频道
  • 基于siliconflow丰富的API,可以轻而易举的导入其它大语言模型
  • 基于misskey自带的“回复链”实现记忆功能,即以一段连续的回复构成的对话记录为记忆体,即方便的实现了记忆的增删和存储,又获得了很好的会话场景

🧐 快速上手/配置

  • (必填)在项目文件所在位置下,找到 'config.toml' 文件,可在其中根据注释修改配置,添加自己的API key等;所有要添加的频道请用列表格式将其ID输入到channel_id
  • 按示例启动,通过在指定频道中@bot来对话,通过不断回复来继续对话!

🎉 详细使用

示例:

import misskey_plugin_huaer_bot

misskey_plugin_huaer_bot.run() #如果使用pip安装
cd 项目文件夹
python demo.py #如果使用git clone

上述代码可以实现80%的功能; 如对发送的文本有特殊需求,参见源代码poster.py示例

🔭 records

  • 25.7.18 v1.0.1 默认配置debug完毕,正式发布

🙏 感谢

  • Misskey伟大的开源项目
  • D圣的开源和S圣的平台搭建
  • 欢迎大家加入https://hub.imikufans.com!这是一个正在建设中的优质术力口交流平台!
  • 各位用户朋友们

Project details


Download files

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

Source Distribution

misskey_plugin_huaer_bot-1.0.4.tar.gz (670.9 kB view details)

Uploaded Source

Built Distribution

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

misskey_plugin_huaer_bot-1.0.4-py3-none-any.whl (672.3 kB view details)

Uploaded Python 3

File details

Details for the file misskey_plugin_huaer_bot-1.0.4.tar.gz.

File metadata

  • Download URL: misskey_plugin_huaer_bot-1.0.4.tar.gz
  • Upload date:
  • Size: 670.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.9.23 Linux/6.11.0-1018-azure

File hashes

Hashes for misskey_plugin_huaer_bot-1.0.4.tar.gz
Algorithm Hash digest
SHA256 092e2361e81f72f8e5d1b32ae40d9ed72588ec21773f63b996dea9254f65b10d
MD5 35855b50667e2fce5bed8f2d5e43e534
BLAKE2b-256 5e5d91ea6eeac968029f36cc9774840040856aef017e339ccb932cf12cbde2de

See more details on using hashes here.

File details

Details for the file misskey_plugin_huaer_bot-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for misskey_plugin_huaer_bot-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bc4bdfd47a18800e01c6fc7e88a62ff965dbdc6290ea2dcf26e3c303394a5a28
MD5 1c1a805a2f3a163d9b5f372cda828b1e
BLAKE2b-256 71734898a54a81664e89e719512469518e6b4186dd16dade04a44d32957da1b4

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