### Example 1

```json
{
  "agent": "recorded_agent",
  "goals": {
    "get_assignment_id_hr_usecase": [
      "get_timeoff_schedule_hr_usecase"
    ],
    "get_timeoff_schedule_hr_usecase": [
      "summarize"
    ]
  },
  "goal_details": [
    {
      "type": "tool_call",
      "name": "get_assignment_id_hr_usecase",
      "tool_name": "get_assignment_id_hr_usecase",
      "args": {
        "username": "nwaters"
      },
      "arg_matching": {
          "username": "strict"
        }
    },
    {
      "type": "tool_call",
      "name": "get_timeoff_schedule_hr_usecase",
      "tool_name": "get_timeoff_schedule_hr_usecase",
      "args": {
        "assignment_id": "15778303",
        "start_date": "2025-01-01",
        "end_date": "2025-03-03"
      },
       "arg_matching": {
          "end_date": "strict",
          "start_date": "strict",
          "assignment_id": "strict"
      }
    },
    {
      "type": "text",
      "name": "summarize",
      "summary": "Agent provides the time off for the request time range",
    }
  ],
  "story": "Your username is nwaters. Your assignment_id can be retrieved from your username. You need your assignment_id to get your timeoff schedule. You want to find out your timeoff schedule from: 2025-01-01 to: 2025-03-03.",
  "starting_sentence": "I want to know my timeoff schedule for a certain period"
}
```

The final step is the "summarize" field, where the final expected response from the agent is captured and summarized.

It is possible that a given journey needs to call the same tool multiple times. You can differentiate between these using the "name" field in goal details. The `tool_name` is the canonical name of the tool whereas the "name" is just an identifier. Here is an example that demonstrates this,

```json
{
  "agent": "hr_agent",
  "goals": {
    "get_assignment_id_self": [
      "get_direct_reports_hr_usecase"
    ],
    "get_direct_reports_hr_usecase": [
      "get_assignment_id_1",
      "get_assignment_id_2"
    ],
    "get_assignment_id_1": [
      "get_timeoff_schedule_1"
    ],
    "get_assignment_id_2": [
      "get_timeoff_schedule_2"
    ],
    "get_timeoff_schedule_1": [
      "summarize"
    ],
    "get_timeoff_schedule_2": [
      "summarize"
    ]
  },
  "goal_details": [
    {
      "type": "tool_call",
      "name": "get_assignment_id_self",
      "tool_name": "get_assignment_id_hr_usecase",
      "args": {
        "username": "nken"
      },
      "arg_matching": {
          "username": "strict",
        }
    },
    {
      "type": "tool_call",
      "name": "get_direct_reports_hr_usecase",
      "tool_name": "get_direct_reports_hr_usecase",
      "args": {
        "assignment_id": "15338304"
      },
      "arg_matching": {
          "assignment_id": "strict",
        }
    },
    {
      "type": "tool_call",
      "name": "get_assignment_id_1",
      "tool_name": "get_assignment_id_hr_usecase",
      "args": {
        "username": "nwaters"
      },
      "arg_matching": {
          "username": "strict",
        }
    },
    {
      "type": "tool_call",
      "name": "get_assignment_id_2",
      "tool_name": "get_assignment_id_hr_usecase",
      "args": {
        "username": "johndoe"
      },
      "arg_matching": {
          "username": "strict",
        }
    },
    {
      "type": "tool_call",
      "name": "get_timeoff_schedule_1",
      "tool_name": "get_timeoff_schedule_hr_usecase",
      "args": {
        "assignment_id": "15778303",
        "start_date": "2025-01-01",
        "end_date": "2025-05-05"
      },
      "arg_matching": {
          "end_date": "strict",
          "start_date": "strict",
          "assignment_id": "strict"
      }
    },
    {
      "type": "tool_call",
      "name": "get_timeoff_schedule_2",
      "tool_name": "get_timeoff_schedule_hr_usecase",
      "args": {
        "assignment_id": "15338303",
        "start_date": "2025-01-01",
        "end_date": "2025-05-05"
      },
      "arg_matching": {
          "end_date": "strict",
          "start_date": "strict",
          "assignment_id": "strict"
      }
    },
    {
      "type": "text",
      "name": "summarize",
      "summary": "The time off schedule for your reports from 2025-01-01 to 2025-05-05 is as follows:\n\n- nwaters: 2025-01-05\n- johndoe: 2025-01-01, 2025-03-11, 2025-04-11",
      "keywords": [
        "2025-01-01",
        "2025-03-11",
        "2025-04-11",
        "2025-01-05"
      ]
    }
  ],
  "story": "Your username is nken. Assignment_id can be retrieved from username. You need assignment_id to get timeoff schedule. You want to find out the timeoff schedule for your reports from: 2025-01-01 to: 2025-05-05.",
  "starting_sentence": "I want to know the timeoff schedule for my reports for a certain period"
}
```

Lastly, it is possible that if the user provided description is vague, or you are unsure about the sequence of tools to achieve the stated description, or the agent does not have any tools for you to reference. In these cases, you can create a dataset with just the "summary" step. This is an example:

```json
{
  "agent": "recorded",
  "goals": {
    "summarize": []
  },
  "goal_details": [
    {
      "type": "text",
      "name": "summarize",
      "response": "Agent provides a response about company policy for AI tools.",
    }
  ],
  "story": "The agent provides facts about company policy about AI tools.",
  "starting_sentence": "What are the company policies around AI tools."
}
```

Here are some other examples,

```json
{
  "agent": "recorded_agent",
  "goals": {
    "search_menu": [
      "update_order"
    ],
    "update_order": [
      "summarize"
    ]
  },
  "goal_details": [
    {
      "type": "tool_call",
      "name": "search_menu_coffee",
      "tool_name": "search_menu",
      "args": {
        "name": "coffee"
      },
      "arg_matching": {
          "name": "strict"
        }
    },
    {
      "type": "tool_call",
      "name": "update_order_coffee",
      "tool_name": "update_order",
      "args": {
        "order_id": "12345",
        "add": "milk",
      },
       "arg_matching": {
          "order_id": "ignore",
          "add": "strict",
      }
    },
    {
      "type": "text",
      "name": "summarize",
      "summary": "Agent provides the time off for the request time range",
    }
  ],
  "story": "The user wants to order coffee with regular milk",
  "starting_sentence": "I want to know my to order coffee"
}
```
