---
title: "Generating Training Data"
description: ""
position: 1
---
import { NavButton } from "../../../../../components/NavButton";

Generate synthetic task data (user queries) for the [Workplace Assistant](/environment-tutorials/real-world-environment) environment using [NeMo Data Designer](https://github.com/NVIDIA-NeMo/DataDesigner). 

This pipeline focuses on generating tasks for use with the environment. It also simulates agent trajectories, but these are used for quality filtering and validation — the environment itself produces the actual model responses during rollout collection. The Workplace Assistant uses 27 tools across 6 databases, and NeMo Data Designer can produce realistic multi-step user queries at scale.

<NavButton href="/environment-tutorials/real-world-environment" label="Back to Workplace Assistant" direction="back" />

---

## Pipeline Overview

The data generation pipeline:

1. Load tool schemas for the Workplace Assistant environment
2. Use NeMo Data Designer to generate realistic multi-step user queries
3. Simulate agent trajectories (step-by-step tool-call solutions)
4. Apply dual-level LLM judge filtering to ensure data quality
5. Export task data in NeMo Gym JSONL format

---

## Notebook

The tutorial is provided as a Jupyter notebook. See the [notebook README](https://github.com/NVIDIA-NeMo/Gym/blob/main/resources_servers/workplace_assistant/notebooks/synthetic-data-generation/) for prerequisites and setup instructions.

[View Notebook on GitHub](https://github.com/NVIDIA-NeMo/Gym/blob/main/resources_servers/workplace_assistant/notebooks/synthetic-data-generation/multistep-toolcalling-sdg.ipynb)

---

## What's Next?

After generating your tasks, let's perform [GRPO training](/training-tutorials/nemo-rl-grpo) with NeMo RL by having an agent attempt the tasks in the Workplace Assistant environment.

<NavButton href="/environment-tutorials/real-world-environment/resources-server-implementation" label="Resources Server Implementation" direction="next" />
