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.3.tar.gz (11.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_aichatbyluxis-0.1.3-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_aichatbyluxis-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7badbcfb000005e324ffb58122a74b0f80f7294c4727289d7f346ac12bcbecb4
MD5 8749e52ddb8210ccb8bdb44e5ba6877b
BLAKE2b-256 dca88178ebbf0664f7c8ce9a4b49042c6a2d62c6b7ce1ddab1b63d80570f07a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_aichatbyluxis-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4fc6ff58ba8d9494919840743c019a6c9dab20c5e95c57fe45ef9a12e3abbb3c
MD5 a0fbacca46a27f659473bbf7903bfd0b
BLAKE2b-256 fa99de099c1d93cf9afdc40b3644049eb15e1faec34fed7a3ef105012dfe59b9

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