扩大成员锐评的最近发言样本
1. 将成员锐评插件的最近发言默认采样窗口从50条提升到200条。 2. 补充中文注释,说明更大样本有助于识别口头禅、重复行为和阶段性状态。
This commit is contained in:
@@ -52,7 +52,11 @@ class MemberRoastService:
|
||||
|
||||
profile_cfg = self.plugin_config.get("profile", {}) or {}
|
||||
self.sample_days = max(int(profile_cfg.get("sample_days", 30) or 30), 1)
|
||||
self.message_limit = max(int(profile_cfg.get("message_limit", 50) or 50), 1)
|
||||
# 最近发言样本默认提升到 200 条:
|
||||
# 1. 锐评比普通摘要更依赖口头禅、重复行为和阶段性状态;
|
||||
# 2. 样本过少时,模型容易只抓住最近几句偶发发言,导致人设偏差;
|
||||
# 3. 因此这里放宽窗口,让模型更容易看出“长期稳定抽象点”。
|
||||
self.message_limit = max(int(profile_cfg.get("message_limit", 200) or 200), 1)
|
||||
self.min_message_count = max(int(profile_cfg.get("min_message_count", 8) or 8), 1)
|
||||
self.context_stale_hours = max(int(profile_cfg.get("context_stale_hours", 24) or 24), 1)
|
||||
self.history_profile_days = max(int(profile_cfg.get("history_profile_days", 60) or 60), 1)
|
||||
|
||||
Reference in New Issue
Block a user