Files
enron_email_type/program.json

44 lines
2.2 KiB
JSON

{
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Classify this email into exactly one of the following types.\n\nDefinitions:\n- action_request: The sender is asking the recipient to do something\n specific (reply, send a file, approve, complete a task, etc.).\n- informational: The email conveys information, updates, or news without\n a specific ask (status updates, FYIs, reports, summaries).\n- meeting_request: The primary purpose is scheduling, confirming, or\n cancelling a meeting, call, or event.\n- newsletter: Bulk or automated distribution from an external service,\n publication, or mailing list (market data feeds, industry newsletters,\n promotional emails).\n- social: Casual personal correspondence \u2014 greetings, jokes, family\n updates, chain emails, congratulations.\n- legal_notice: Regulatory filings, formal legal correspondence,\n compliance notices, or attorney communications.\n\nChoose the single best-fit type. When multiple types are plausible,\nprefer the type that best captures the primary purpose of the email.\n\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in\nhow the definitions apply to this email and in whether you have enough\ncontext to classify it confidently.",
"fields": [
{
"prefix": "Subject:",
"description": "The email subject line (may be empty)."
},
{
"prefix": "Body:",
"description": "The email body text (may be truncated)."
},
{
"prefix": "Reasoning:",
"description": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant."
},
{
"prefix": "Email Type:",
"description": "The email type \u2014 one of the six defined categories."
}
]
},
"lm": {
"model": "together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo",
"model_type": "chat",
"cache": true,
"num_retries": 3,
"finetuning_model": null,
"launch_kwargs": {},
"train_kwargs": {},
"temperature": null,
"max_tokens": null
},
"metadata": {
"dependency_versions": {
"python": "3.11",
"dspy": "3.1.3",
"cloudpickle": "3.1"
}
}
}