Compute confidence from decision history instead of LLM

This commit is contained in:
Yanxin Lu
2026-03-04 15:05:44 -08:00
parent 64e28b55d1
commit eb0310fc2d
2 changed files with 71 additions and 48 deletions

View File

@@ -102,7 +102,7 @@ def _build_prompt(email_data, config):
parts.append(
"Respond in this exact format (nothing else):\n"
"Action: [delete|archive|keep|mark_read|label:<name>]\n"
f"Tags: [comma-separated tags from: {tags_list}]\n"
f"Tags: [comma-separated tags from: {tags_list}] (at least 3, max 5)\n"
"Summary: [one sentence summary of the email]\n"
"Reason: [brief explanation for your classification]"
)