Views
No views yet
reset() / step() / state() APIinference.py using OpenAI client and required env varssupport_triage_env/models.py defines typed Action, Observation, State.support_triage_env/client.py gives a reusable typed client.server/app.py is the OpenEnv validator-compatible entrypoint (main() + callable script).server/Dockerfile provides reproducible container runtime.openenv.yaml defines deployment metadata.support_triage_env/server/environment.py implements task simulation.support_triage_env/tasks.py defines deterministic fixtures.support_triage_env/graders.py implements 0.0-1.0 grading.inference.py runs model-based episodes and exports reproducible baseline scores.SupportTriageAction1set_priority(value)
2route_team(value)
3add_tag(value)
4draft_reply(value)
5request_info(value)
6close_ticket()
7noop()low | medium | high | urgentbilling | technical | account | trust_safety | shippingSupportTriageObservationtask_id, difficulty, objectivetitle, customer_tier, customer_messagepriority, routed_team, tags, draft_reply, info_requestedsteps_remaining, last_feedback, allowed_actionsreward, doneSupportTriageStateepisode_id, step_counttask_id, difficulty, objective, max_stepspriority, routed_team, tagsinfo_requested, closed, close_validhistoryeasy_password_resetaccountmediumpassword-reset, loginmedium_double_chargebillinghighrefund, double-charge, viphard_account_takeovertrust_safetyurgentsecurity, account-takeover, fraud, content-abusesupport_triage_env/graders.py computes deterministic component scores:[0.0, 1.0].1py -3.11 -m venv .venv
2.\.venv\Scripts\Activate.ps1
3python -m pip install -U pip
4pip install -r requirements.txtopenenv command is not found, use:& "$env:APPDATA\Python\Python313\Scripts\openenv.exe" --helppython -m uvicorn support_triage_env.server.app:app --host 0.0.0.0 --port 8000 --reload1openenv validate --verbose
2openenv validate --url http://localhost:8000inference.py is at project root as required.1$env:API_BASE_URL = "https://router.huggingface.co/v1"
2$env:MODEL_NAME = "meta-llama/Llama-3.1-8B-Instruct"
3$env:HF_TOKEN = "<your_hf_token>"python .\inference.pybaseline_scores.jsondocker build -t support-triage-openenv:latest -f server/Dockerfile .docker run --rm -p 8000:8000 support-triage-openenv:latestopenenv push --repo-id <your-username>/support-triage-openenvAPI_BASE_URLMODEL_NAMEHF_TOKEN1support-triage-openenv/
2|- server/
3| |- __init__.py
4| |- app.py
5| |- Dockerfile
6|- support_triage_env/
7| |- __init__.py
8| |- models.py
9| |- client.py
10| |- tasks.py
11| |- graders.py
12| |- server/
13| |- __init__.py
14| |- app.py
15| |- environment.py
16| |- Dockerfile
17|- inference.py
18|- openenv.yaml
19|- pyproject.toml
20|- requirements.txt
21|- uv.lock
22|- README.md