Skip to main content

一个支持 DeepSeek API 的角色扮演插件。

Project description

nonebot-plugin-aichat

支持Deepseek大模型官方API的角色扮演对话插件。/A NoneBot2 plugin for role-playing chat powered by official DeepSeek API, featuring dynamic personality and memory management. nonebot-plugin-aichat

nonebot pypi python license

一套支持 DeepSeek 官方 API 的角色扮演对话插件,内置 Web 可视化管理面板。

A role-play chat plugin supporting official DeepSeek API, featuring a built-in web management panel.

功能特点 | Features 角色扮演强化:支持自定义 System Prompt,打造专属人格。

可视化管理:内置 Web 面板,无需手动修改 JSON 配置文件。

身份/群组映射:支持 User ID → 昵称、Group ID → 群名的映射,让 AI 更懂对话环境。

智能交互:支持前缀触发(如 #)及自定义概率的主动回复。

记忆管理:支持关键词触发的长期记忆检索。

安装 | Installation 使用 nb-cli 安装(推荐):

nb plugin install nonebot-plugin-aichat
pip install nonebot-plugin-aichat

管理面板 | Web Admin Panel 插件启动后,你可以通过浏览器直接访问管理面板进行全参数调节:

访问地址:

http://你的服务器IP:端口/aichat

(注:端口通常为 NoneBot 运行的端口,默认为 8080)

面板功能说明: 交互机制:调节触发前缀(如 #)及随机回复概率。

API 配置:设置 DeepSeek API Key 及端点。

模型参数:精细化调节 Temperature、Top_P 等生成参数。

身份映射:将复杂的 QQ 号映射为直观的角色昵称。

配置项 | Configuration 插件会在 data/nonebot_plugin_aichat/ 目录下自动生成以下文件:

config.json: 存储核心配置及 API 信息。

characters.json: 存储用户昵称映射。

groups.json: 存储群聊名称映射。

memory.json: 存储长期记忆库。

[!TIP] 默认参数提示:面板中预设的 Prompt 和参数经过多次角色扮演测试,建议初次使用时参考默认值进行微调。

注意事项 | Notice 隐私安全:请勿将生成的 config.json 文件上传到 GitHub 等公共平台,防止 API Key 泄露。

DeepSeek API:目前仅支持 DeepSeek 官方 API 格式。

开源协议 | License 本项目采用 MIT 协议开源。

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

nonebot_plugin_aichatbyluxis-0.1.4.tar.gz (11.5 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_aichatbyluxis-0.1.4-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_aichatbyluxis-0.1.4.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_aichatbyluxis-0.1.4.tar.gz
Algorithm Hash digest
SHA256 57c58b4709dc3140855625b693029006d1181f176271d14462d92f9832aef97e
MD5 24e30468a69cfe9772345c195ead72b1
BLAKE2b-256 eaf4e19358fe121ba142f8b9a23c1bbfb1962ce46ef8fba0dcd036a43c2c0fb3

See more details on using hashes here.

File details

Details for the file nonebot_plugin_aichatbyluxis-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_aichatbyluxis-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a53cb54ec0dcf8d5864db6a139fc19eb751daebb4519ae43c6041bde17e1ab36
MD5 c1c3c13f45d1a4e7328b6353c6be4570
BLAKE2b-256 eb5f9667eb6748602051f4cefcf1161671d94bebdaeac926996d4d3c8799c088

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