Files
abot/plugins/member_roast/config.toml
liuwei 290e44986e 增强成员锐评的历史画像分析
1. 为锐评插件新增近60天成员历史画像窗口,汇总周/月/少量日摘要形成长期人设。

2. 新增近60天群历史总结背景汇总,让锐评同时参考群长期语境与近期发言。

3. 调整提示词,明确要求模型结合当前画像与历史画像的反差进行分析。
2026-04-27 14:39:00 +08:00

46 lines
1.5 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
# 历史画像窗口:
# 1. 用户要求明确使用“历史两个月画像 + 当前本人画像”;
# 2. 这里统一按 60 天窗口汇总成员历史摘要与群历史总结;
# 3. 只抽取结构化关键信息,不会把全部原文暴力塞给模型。
history_profile_days = 60
history_member_digest_limit = 16
history_group_summary_limit = 10
[style]
# 文案风格参数:
# 1. 默认允许“犀利但有分寸”的群聊吐槽;
# 2. 输出长度控制在群里容易传播的一屏左右;
# 3. 若后续你想改成更狠/更柔和,只需要调这里。
max_output_chars = 320
min_output_chars = 140
sharpness_level = "high"