Files
abot/plugins/member_roast/config.toml
liuwei f783e8ba0c 新增成员锐评插件
1. 新增 member_roast 插件,支持 @机器人 锐评一下 @某人、锐评一下我、按昵称锐评。

2. 复用现有成员画像、群画像和最近50条消息,生成带梗但有边界的群聊锐评文案。

3. 接入积分扣费、群级/用户级限流,并补充失败场景提示且不扣积分。
2026-04-27 14:36:06 +08:00

39 lines
1.1 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[MemberRoast]
enable = true
command = ["锐评一下", "锐评", "吐槽一下", "锐评我", "吐槽我"]
command_format = """
锐评插件指令:
@机器人 锐评一下 @某人
@机器人 锐评一下我
@机器人 锐评一下 张三
"""
[llm]
# 这里使用通用聊天场景,而不是成员画像提炼场景:
# 1. 成员画像场景更偏结构化抽取;
# 2. “锐评”更需要创意表达、梗感和自然语言发挥;
# 3. 因此优先复用 chat.main既稳定又方便后续单独切换模型。
scene = "chat.main"
temperature = 0.9
max_tokens = 700
timeout_seconds = 120
max_retries = 2
retry_delay_seconds = 1.5
[profile]
# 最近消息窗口:尽量贴近用户提出的“最近 50 条发言”。
sample_days = 30
message_limit = 50
min_message_count = 8
context_stale_hours = 24
name_match_min_chars = 2
[style]
# 文案风格参数:
# 1. 默认允许“犀利但有分寸”的群聊吐槽;
# 2. 输出长度控制在群里容易传播的一屏左右;
# 3. 若后续你想改成更狠/更柔和,只需要调这里。
max_output_chars = 320
min_output_chars = 140
sharpness_level = "high"