Task Row Format
| Field | Read by | Contents |
|---|---|---|
responses_create_params.input | The model | The conversation: a system message and the customer’s ticket |
responses_create_params.tools | The model | The tools it can call, each with a JSON schema. The server serves a tool of the same name. |
| Other top-level fields | The grader | The expected result. The model never sees them. |
support_escalation grader reads four fields:
| Field | Type | Description |
|---|---|---|
should_escalate | bool | The ticket must go to a person |
expected_category | string | The category that an escalation must name: refund, contract, data_loss, churn, complaint, or no_article. Empty for a resolved ticket. |
expected_facts | list of strings | The facts that a correct reply states. Empty for an escalation. |
article_id | int | The help-center article that answers the ticket, or -1 |
Example Row
This row must be resolved from the help center with the fact10 minutes. In the file, the row is on one line.
{
"responses_create_params": {
"input": [
{"role": "system", "content": "Answer from the help center with find_article, or call hand_off with one category."},
{"role": "user", "content": "How long does the CSV export of my invoices take to arrive?"}
],
"tools": [
{"type": "function", "name": "find_article", "description": "Return help-center articles that match a query.",
"parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}},
{"type": "function", "name": "hand_off", "description": "Pass the ticket to a person, with a category.",
"parameters": {"type": "object", "properties": {
"category": {"type": "string", "enum": ["refund", "contract", "data_loss", "churn", "complaint", "no_article"]},
"reason": {"type": "string"}}, "required": ["category", "reason"]}}
]
},
"should_escalate": false,
"expected_category": "",
"expected_facts": ["10 minutes"],
"article_id": 3
}
Task Files
monte-gym/
├── resources_servers/support_escalation/
│ ├── configs/support_escalation.yaml # declares the training rows
│ └── data/train.jsonl # training rows
└── benchmarks/
├── support_escalation/ # the held-out eval
│ ├── config.yaml
│ ├── prepare.py # writes the task file
│ └── data/support_escalation_benchmark.jsonl
└── support_escalation_dev/ # the development eval, same layout
type: train. An eval config declares one task file of type: benchmark, with the script that writes it:
config_paths:
- resources_servers/support_escalation/configs/support_escalation.yaml
support_escalation_benchmark_simple_agent:
_inherit_from: support_escalation_simple_agent
responses_api_agents:
simple_agent:
datasets:
- name: support_escalation
type: benchmark
jsonl_fpath: benchmarks/support_escalation/data/support_escalation_benchmark.jsonl
prepare_script: benchmarks/support_escalation/prepare.py
prompt_config: null
num_repeats: 1
Never put eval tasks in a training file. A model trained on its eval tasks scores high on that eval and nowhere else.

