Spaces:
Sleeping
Sleeping
Enhance customer support environment with reward breakdown and new dependencies. Added detailed reward breakdown for actions, including classification, routing, response, escalation, and resolution. Updated `pyproject.toml` to include new dependencies: OpenAI, FastAPI, Uvicorn, and OpenEnv core. Improved internal state management to track last reward breakdown for interpretability.
506123a | from models.action import ( | |
| ACTION_CLASSES, | |
| Action, | |
| ActionAdapter, | |
| ClassifyAction, | |
| EscalateAction, | |
| RequestInfoAction, | |
| RespondAction, | |
| ResolveAction, | |
| RouteAction, | |
| ) | |
| from models.observation import ActionRecord, Observation, Phase | |
| from models.step_result import StepResult | |
| from models.ticket import ( | |
| Category, | |
| CustomerTier, | |
| CustomerValue, | |
| Department, | |
| Difficulty, | |
| KeywordSpec, | |
| Priority, | |
| Sentiment, | |
| TicketData, | |
| ) | |
| __all__ = [ | |
| "ACTION_CLASSES", | |
| "Action", | |
| "ActionAdapter", | |
| "ActionRecord", | |
| "Category", | |
| "ClassifyAction", | |
| "CustomerTier", | |
| "CustomerValue", | |
| "Department", | |
| "Difficulty", | |
| "EscalateAction", | |
| "KeywordSpec", | |
| "Observation", | |
| "Phase", | |
| "Priority", | |
| "RequestInfoAction", | |
| "RespondAction", | |
| "ResolveAction", | |
| "RouteAction", | |
| "Sentiment", | |
| "StepResult", | |
| "TicketData", | |
| ] | |