Improve LLM context with full timestamped channel history
Send last ~8 messages from all users (not just others) as a multi-line chat log with relative timestamps so the LLM can better understand conversation flow and escalation patterns. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,10 +14,10 @@ sentiment:
|
||||
mute_threshold: 0.75
|
||||
spike_warning_threshold: 0.5 # Single message score that triggers instant warning
|
||||
spike_mute_threshold: 0.8 # Single message score that triggers instant mute
|
||||
context_messages: 3 # Number of previous messages to include as context
|
||||
context_messages: 8 # Number of previous messages to include as context
|
||||
rolling_window_size: 10 # Number of messages to track per user
|
||||
rolling_window_minutes: 15 # Time window for tracking
|
||||
batch_window_seconds: 3 # Wait this long for more messages before analyzing (debounce)
|
||||
batch_window_seconds: 10 # Wait this long for more messages before analyzing (debounce)
|
||||
escalation_threshold: 0.25 # Triage toxicity score that triggers re-analysis with heavy model
|
||||
|
||||
game_channels:
|
||||
|
||||
Reference in New Issue
Block a user