email-triage-env / README.md
anugrah55's picture
Upload folder using huggingface_hub
86b950a verified
---
title: Email Triage Environment
emoji: πŸ“§
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
---
# Email Triage Environment
An RL environment where an AI agent must read incoming emails and classify them into the correct category.
## Task
The agent receives an email (subject + body) and must classify it into one of:
- `billing` β€” invoices, refunds, payments
- `security` β€” password resets, login alerts
- `order_update` β€” shipping, delivery, returns
- `scheduling` β€” meetings, appointments, calendar
- `promotional` β€” sales, offers, marketing
## Reward
- `1.0` β€” correct category
- `0.0` β€” wrong category
## Tools
- `read_email()` β€” returns the current email and list of categories
- `classify_email(category)` β€” submits the agent's answer
## Dataset
25 emails across 5 categories, randomly sampled each episode.