Browse Source
[Feature] Improve LLM prompt and add sender frequency tracking
[Feature] Improve LLM prompt and add sender frequency tracking
* Update default prompt to reduce false positives on legitimate emails - Explicitly recognize verification emails as legitimate - Require MULTIPLE red flags for phishing classification - Add guidance on known/frequent senders * Add sender frequency detection in context - Classify senders as: new, occasional, known, frequent - Based on sender_counts from user context - Passed to LLM via context snippet * Prompt instructs LLM to reduce phishing score for known senders * Helps avoid false positives on transactional/verification emailspull/5647/head
No known key found for this signature in database
GPG Key ID: 7647B6790081437
2 changed files with 50 additions and 9 deletions
Write
Preview
Loading…
Cancel
Save
Reference in new issue