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.0.tar.gz (10.7 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.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_aichatbyluxis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a0df3fff880508bea0d998efb186885988db522af07cd02d2f1fe3c7887f9ff0
MD5 827139023767f25c44f5df626b6db2d1
BLAKE2b-256 5d44bef1a22e28806f1122d057ad0273a1045c8d3f322bd125d3e24b2600c2dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_aichatbyluxis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c6a7cee679f92faa1409e088ecad4c03486d3ad5d1cf8056acf68a5f1516b50
MD5 858a7506d64a374fd0673d9fb372821b
BLAKE2b-256 cd68765af4e455cb2c9124247b68dcda3e534a85010790aea8e0a829714a643b

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