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.1.tar.gz (11.0 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.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_aichatbyluxis-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0e2c061f4a16f4728dc6a1d4827ca43f694046b2ee3df666196f05f189319f8e
MD5 8fc7ae580f0ea1c4a3ac4a10c91c0a4d
BLAKE2b-256 6c3bfb7cf27b1ce81cc91e266d8781f8fe437efef086c743808bcc8c7e2c63ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_aichatbyluxis-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9b9c2cf1b8c4321bc332ccd64afbb188a0f3ad804562fae90cbb550f9983080
MD5 76180f6b006895f8dacceb913660377d
BLAKE2b-256 cd02d58a9d518292d03896f8cf85e564728843f6748f9cf72859e9a091736a30

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