Dataset Viewer
Auto-converted to Parquet
example_id
int64
prompt
list
completion
list
task
string
reward
float64
generation_ms
float64
scoring_ms
float64
total_ms
float64
info
dict
evaluate_tau2_task
float64
0
[ { "content": "<instructions>\nYou are a customer service agent that helps the user according to the <policy> provided below.\nIn each turn you can either:\n- Send a message to the user.\n- Make a tool call.\nYou cannot do both at the same time.\n\nTry to be helpful and always follow the policy. Always make sure you generate valid JSON only.\n</instructions>\n<policy>\n# Airline Agent Policy\n\nThe current time is 2024-05-15 15:00:00 EST.\n\nAs an airline agent, you can help users **book**, **modify**, or **cancel** flight reservations. You also handle **refunds and compensation**.\n\nBefore taking any actions that update the booking database (booking, modifying flights, editing baggage, changing cabin class, or updating passenger information), you must list the action details and obtain explicit user confirmation (yes) to proceed.\n\nYou should not provide any information, knowledge, or procedures not provided by the user or available tools, or give subjective recommendations or comments.\n\nYou should only make one tool call at a time, and if you make a tool call, you should not respond to the user simultaneously. If you respond to the user, you should not make a tool call at the same time.\n\nYou should deny user requests that are against this policy.\n\nYou should transfer the user to a human agent if and only if the request cannot be handled within the scope of your actions. To transfer, first make a tool call to transfer_to_human_agents, and then send the message 'YOU ARE BEING TRANSFERRED TO A HUMAN AGENT. PLEASE HOLD ON.' to the user.\n\n## Domain Basic\n\n### User\nEach user has a profile containing:\n- user id\n- email\n- addresses\n- date of birth\n- payment methods\n- membership level\n- reservation numbers\n\nThere are three types of payment methods: **credit card**, **gift card**, **travel certificate**.\n\nThere are three membership levels: **regular**, **silver**, **gold**.\n\n### Flight\nEach flight has the following attributes:\n- flight number\n- origin\n- destination\n- scheduled departure and arrival time (local time)\n\nA flight can be available at multiple dates. For each date:\n- If the status is **available**, the flight has not taken off, available seats and prices are listed.\n- If the status is **delayed** or **on time**, the flight has not taken off, cannot be booked.\n- If the status is **flying**, the flight has taken off but not landed, cannot be booked.\n\nThere are three cabin classes: **basic economy**, **economy**, **business**. **basic economy** is its own class, completely distinct from **economy**.\n\nSeat availability and prices are listed for each cabin class.\n\n### Reservation\nEach reservation specifies the following:\n- reservation id\n- user id\n- trip type\n- flights\n- passengers\n- payment methods\n- created time\n- baggages\n- travel insurance information\n\nThere are two types of trip: **one way** and **round trip**.\n\n## Book flight\n\nThe agent must first obtain the user id from the user. \n\nThe agent should then ask for the trip type, origin, destination.\n\nCabin:\n- Cabin class must be the same across all the flights in a reservation. \n\nPassengers: \n- Each reservation can have at most five passengers. \n- The agent needs to collect the first name, last name, and date of birth for each passenger. \n- All passengers must fly the same flights in the same cabin.\n\nPayment: \n- Each reservation can use at most one travel certificate, at most one credit card, and at most three gift cards. \n- The remaining amount of a travel certificate is not refundable. \n- All payment methods must already be in user profile for safety reasons.\n\nChecked bag allowance: \n- If the booking user is a regular member:\n - 0 free checked bag for each basic economy passenger\n - 1 free checked bag for each economy passenger\n - 2 free checked bags for each business passenger\n- If the booking user is a silver member:\n - 1 free checked bag for each basic economy passenger\n - 2 free checked bag for each economy passenger\n - 3 free checked bags for each business passenger\n- If the booking user is a gold member:\n - 2 free checked bag for each basic economy passenger\n - 3 free checked bag for each economy passenger\n - 4 free checked bags for each business passenger\n- Each extra baggage is 50 dollars.\n\nDo not add checked bags that the user does not need.\n\nTravel insurance: \n- The agent should ask if the user wants to buy the travel insurance.\n- The travel insurance is 30 dollars per passenger and enables full refund if the user needs to cancel the flight given health or weather reasons.\n\n## Modify flight\n\nFirst, the agent must obtain the user id and reservation id. \n- The user must provide their user id. \n- If the user doesn't know their reservation id, the agent should help locate it using available tools.\n\nChange flights: \n- Basic economy flights cannot be modified.\n- Other reservations can be modified without changing the origin, destination, and trip type.\n- Some flight segments can be kept, but their prices will not be updated based on the current price.\n- The API does not check these for the agent, so the agent must make sure the rules apply before calling the API!\n\nChange cabin: \n- Cabin cannot be changed if any flight in the reservation has already been flown.\n- In other cases, all reservations, including basic economy, can change cabin without changing the flights.\n- Cabin class must remain the same across all the flights in the same reservation; changing cabin for just one flight segment is not possible.\n- If the price after cabin change is higher than the original price, the user is required to pay for the difference.\n- If the price after cabin change is lower than the original price, the user is should be refunded the difference.\n\nChange baggage and insurance: \n- The user can add but not remove checked bags.\n- The user cannot add insurance after initial booking.\n\nChange passengers:\n- The user can modify passengers but cannot modify the number of passengers.\n- Even a human agent cannot modify the number of passengers.\n\nPayment: \n- If the flights are changed, the user needs to provide a single gift card or credit card for payment or refund method. The payment method must already be in user profile for safety reasons.\n\n## Cancel flight\n\nFirst, the agent must obtain the user id and reservation id. \n- The user must provide their user id. \n- If the user doesn't know their reservation id, the agent should help locate it using available tools.\n\nThe agent must also obtain the reason for cancellation (change of plan, airline cancelled flight, or other reasons)\n\nIf any portion of the flight has already been flown, the agent cannot help and transfer is needed.\n\nOtherwise, flight can be cancelled if any of the following is true:\n- The booking was made within the last 24 hrs\n- The flight is cancelled by airline\n- It is a business flight\n- The user has travel insurance and the reason for cancellation is covered by insurance.\n\nThe API does not check that cancellation rules are met, so the agent must make sure the rules apply before calling the API!\n\nRefund:\n- The refund will go to original payment methods within 5 to 7 business days.\n\n## Refunds and Compensation\nDo not proactively offer a compensation unless the user explicitly asks for one.\n\nDo not compensate if the user is regular member and has no travel insurance and flies (basic) economy.\n\nAlways confirms the facts before offering compensation.\n\nOnly compensate if the user is a silver/gold member or has travel insurance or flies business.\n\n- If the user complains about cancelled flights in a reservation, the agent can offer a certificate as a gesture after confirming the facts, with the amount being $100 times the number of passengers.\n\n- If the user complains about delayed flights in a reservation and wants to change or cancel the reservation, the agent can offer a certificate as a gesture after confirming the facts and changing or cancelling the reservation, with the amount being $50 times the number of passengers.\n\nDo not offer compensation for any other reason than the ones listed above.\n</policy>", "role": "system" } ]
[ { "content": "\n<think>The user wants to cancel a reservation. According to the policy, I need to:\n\n1. First obtain the user ID and reservation ID\n2. If the user doesn't know their reservation ID, I should help locate it using available tools\n3. I must also obtain the reason for cancellation (change of plan, airline cancelled flight, or other reasons)\n4. I need to check if any portion of the flight has already been flown - if so, I cannot help and need to transfer\n5. I need to verify the cancellation rules are met before calling the API\n\nLet me start by getting the user ID and reservation ID.</think>\nI'd be happy to help you cancel your reservation. To get started, I'll need a few pieces of information:\n\n1. What's your user ID?\n2. What's your reservation ID? (If you don't have it handy, I can help you look it up)\n3. What's the reason for your cancellation? (change of plan, airline cancelled flight, or other reasons)\n\nOnce I have this information, I can look up your reservation details and help you process the cancellation.", "role": "assistant", "tool_calls": null }, { "content": "Sure! My user ID is emma_kim_9957, and the reservation ID is EHGLP3. The reason I need to cancel is because my plans changed.", "role": "user", "tool_calls": null }, { "content": "\n<think>The user wants to cancel their reservation. I have:\n- User ID: emma_kim_9957\n- Reservation ID: EHGLP3\n- Reason: change of plan\n\nAccording to the policy, I need to:\n1. Get the reservation details to understand the booking\n2. Check cancellation rules:\n - If any portion of the flight has already been flown, I cannot help and need transfer\n - Otherwise, flight can be cancelled if any of:\n - The booking was made within the last 24 hrs\n - The flight is cancelled by airline\n - It is a business flight\n - The user has travel insurance and the reason for cancellation is covered by insurance\n\nThe user's reason is \"change of plan\", which would only be covered if they have travel insurance OR if the booking was made within last 24 hrs OR if it's a business flight.\n\nLet me first get the reservation details to check these conditions.</think>\nThank you for providing that information. Let me look up your reservation details first to check the cancellation eligibility.\n", "role": "assistant", "tool_calls": [ "{\"id\": \"chatcmpl-tool-5491b93aa00d432b9444602eff97d87b\", \"function\": {\"arguments\": \"{\\\"reservation_id\\\": \\\"EHGLP3\\\"}\", \"name\": \"get_reservation_details\"}, \"type\": \"function\"}" ] }, { "content": "{\"reservation_id\": \"EHGLP3\", \"user_id\": \"emma_kim_9957\", \"origin\": \"PHX\", \"destination\": \"JFK\", \"flight_type\": \"one_way\", \"cabin\": \"basic_economy\", \"flights\": [{\"flight_number\": \"HAT156\", \"origin\": \"PHX\", \"destination\": \"SEA\", \"date\": \"2024-05-17\", \"price\": 50}, {\"flight_number\": \"HAT021\", \"origin\": \"SEA\", \"destination\": \"JFK\", \"date\": \"2024-05-17\", \"price\": 54}], \"passengers\": [{\"first_name\": \"Evelyn\", \"last_name\": \"Taylor\", \"dob\": \"1965-01-16\"}, {\"first_name\": \"Anya\", \"last_name\": \"Silva\", \"dob\": \"1971-11-22\"}], \"payment_history\": [{\"payment_id\": \"credit_card_5832574\", \"amount\": 208}], \"created_at\": \"2024-05-04T23:12:06\", \"total_baggages\": 0, \"nonfree_baggages\": 0, \"insurance\": \"no\", \"status\": null}", "role": "tool", "tool_calls": null }, { "content": "\n<think>Now I have the reservation details. Let me analyze the cancellation rules:\n\n1. Flight dates: 2024-05-17 (both flights)\n2. Current date: 2024-05-15\n3. So the flights are in the future (2 days away), so no portion has been flown yet.\n\n4. Check cancellation eligibility:\n - Booking was made on 2024-05-04T23:12:06, current time is 2024-05-15 15:00:00 EST\n - Time difference: about 11 days, so NOT within last 24 hrs\n - Cabin class: basic_economy (not business)\n - Insurance: \"no\" \n - Reason: \"change of plan\" (not airline cancelled)\n\n5. According to the rules:\n - NOT within last 24 hrs\n - NOT business flight (it's basic economy)\n - NO travel insurance\n - Reason \"change of plan\" is not covered by insurance anyway\n\nBased on the policy, this reservation CANNOT be cancelled because:\n- The booking was NOT made within the last 24 hrs\n- It is NOT a business flight (it's basic economy)\n- There is NO travel insurance\n- The reason \"change of plan\" is not covered by insurance\n\nI need to inform the user that this reservation cannot be cancelled according to our policy.</think>\nI've reviewed your reservation details. Unfortunately, I'm unable to cancel reservation EHGLP3 for you. Here's why:\n\n**Your reservation details:**\n- Reservation ID: EHGLP3\n- Flight: PHX → JFK on May 17, 2024 (one-way, basic economy)\n- 2 passengers: Evelyn Taylor, Anya Silva\n- Booking date: May 4, 2024\n- Travel insurance: No\n\n**Cancellation policy requirements:**\nYour reservation can only be cancelled if at least one of these conditions is met:\n- Booking made within the last 24 hours (yours was made on May 4th)\n- Flight cancelled by the airline\n- Business class booking (yours is basic economy)\n- Travel insurance covering your reason (you don't have insurance)\n\nSince your reason is a \"change of plan\" and none of the cancellation conditions apply, I cannot process this cancellation.\n\nIs there anything else I can help you with regarding your reservation?", "role": "assistant", "tool_calls": null }, { "content": "But when I booked, I was told I didn’t need to get insurance because my previous trip with your agency included it. Does that make a difference?", "role": "user", "tool_calls": null }, { "content": "\n<think>The user is claiming they were told they didn't need to get insurance because their previous trip with the agency included it. However, looking at the policy and the reservation details, I can see:\n\n1. The reservation clearly shows \"insurance\": \"no\"\n2. The policy states that travel insurance needs to be purchased for the specific reservation to be valid\n3. The user's reason for cancellation is \"change of plan\" which would only be covered if they had insurance on this specific reservation\n\nThe policy doesn't mention anything about previous trips including insurance for future reservations. Each reservation needs its own insurance. I should clarify this to the user based on the policy and the actual reservation details.\n\nI should not make assumptions about what they were told or create policy exceptions. I need to stick to the facts of the reservation and the policy as written.</think>\nI understand your concern, but I can see from your reservation details that travel insurance was not purchased for this specific reservation (EHGLP3). The reservation clearly shows \"insurance: no\".\n\nTravel insurance needs to be purchased for each individual reservation to be valid. Insurance from previous trips doesn't automatically carry over to new bookings.\n\nSince your reservation doesn't have travel insurance, and your reason for cancellation is a \"change of plan,\" the cancellation conditions I mentioned earlier still apply, and unfortunately, I'm unable to process this cancellation.\n\nIf you'd like to discuss this further or feel there may have been a misunderstanding during your booking process, I can transfer you to a human agent who may be able to help with your specific situation.\n\nWould you like me to do that, or is there anything else I can assist you with?", "role": "assistant", "tool_calls": null }, { "content": "If I can’t get a refund, then I don’t want to cancel. Thanks for clarifying.", "role": "user", "tool_calls": null }, { "content": "\n<think>The user has decided not to cancel their reservation after learning they wouldn't get a refund. This is a straightforward response where I should acknowledge their decision and offer any other assistance if needed.</think>\nYou're welcome! I understand you'd prefer to keep your reservation then. If you need any other assistance with your reservation EHGLP3 or have any other questions about your upcoming trip from Phoenix to New York on May 17th, please don't hesitate to ask.\n\nHave a great day!", "role": "assistant", "tool_calls": null }, { "content": "Thanks again, that answers my question. Have a good day! ###STOP###", "role": "user", "tool_calls": null } ]
default
1
0
273.727894
273.727894
{ "description": { "purpose": "Testing that agent refuses to proceed with a cancellation that is not allowed even if User mentions that she had been told she didn't need insurance." }, "evaluation_criteria": { "actions": [], "communicate_info": [], "nl_assertions": [ "Agent should refuse to proceed with the cancellation." ], "reward_basis": [ "DB", "COMMUNICATE" ] }, "id": "0", "oai_tools": [ { "function": { "description": "Book a reservation.", "name": "book_reservation", "parameters": { "$defs": { "FlightInfo": { "properties": { "date": { "description": "The date for the flight in the format 'YYYY-MM-DD', such as '2024-05-01'.", "title": "Date", "type": "string" }, "flight_number": { "description": "Flight number, such as 'HAT001'.", "title": "Flight Number", "type": "string" } }, "required": [ "flight_number", "date" ], "title": "FlightInfo", "type": "object" }, "Passenger": { "properties": { "dob": { "description": "Date of birth in YYYY-MM-DD format", "title": "Dob", "type": "string" }, "first_name": { "description": "Passenger's first name", "title": "First Name", "type": "string" }, "last_name": { "description": "Passenger's last name", "title": "Last Name", "type": "string" } }, "required": [ "first_name", "last_name", "dob" ], "title": "Passenger", "type": "object" }, "Payment": { "properties": { "amount": { "description": "Payment amount in dollars", "title": "Amount", "type": "integer" }, "payment_id": { "description": "Unique identifier for the payment", "title": "Payment Id", "type": "string" } }, "required": [ "payment_id", "amount" ], "title": "Payment", "type": "object" } }, "properties": { "amount": null, "cabin": { "description": "The cabin class such as 'basic_economy', 'economy', or 'business'.", "enum": [ "business", "economy", "basic_economy" ], "title": "Cabin", "type": "string" }, "date": null, "destination": { "description": "The IATA code for the destination city such as 'JFK'.", "title": "Destination", "type": "string" }, "expression": null, "flight_number": null, "flight_type": { "description": "The type of flight such as 'one_way' or 'round_trip'.", "enum": [ "round_trip", "one_way" ], "title": "Flight Type", "type": "string" }, "flights": { "description": "An array of objects containing details about each piece of flight.", "items": { "anyOf": [ { "$ref": "#/$defs/FlightInfo", "additionalProperties": null, "type": null }, { "$ref": null, "additionalProperties": true, "type": "object" } ] }, "title": "Flights", "type": "array" }, "insurance": { "description": "Whether the reservation has insurance.", "enum": [ "yes", "no" ], "title": "Insurance", "type": "string" }, "nonfree_baggages": { "description": "The number of non-free baggage items to book the reservation.", "title": "Nonfree Baggages", "type": "integer" }, "origin": { "description": "The IATA code for the origin city such as 'SFO'.", "title": "Origin", "type": "string" }, "passengers": { "description": "An array of objects containing details about each passenger.", "items": { "anyOf": [ { "$ref": "#/$defs/Passenger", "additionalProperties": null, "type": null }, { "$ref": null, "additionalProperties": true, "type": "object" } ] }, "title": "Passengers", "type": "array" }, "payment_id": null, "payment_methods": { "description": "An array of objects containing details about each payment method.", "items": { "anyOf": [ { "$ref": "#/$defs/Payment", "additionalProperties": null, "type": null }, { "$ref": null, "additionalProperties": true, "type": "object" } ] }, "title": "Payment Methods", "type": "array" }, "reservation_id": null, "summary": null, "total_baggages": { "description": "The total number of baggage items to book the reservation.", "title": "Total Baggages", "type": "integer" }, "user_id": { "description": "The ID of the user to book the reservation such as 'sara_doe_496'`.", "title": "User Id", "type": "string" } }, "required": [ "user_id", "origin", "destination", "flight_type", "cabin", "flights", "passengers", "payment_methods", "total_baggages", "nonfree_baggages", "insurance" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Calculate the result of a mathematical expression.", "name": "calculate", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": null, "destination": null, "expression": { "description": "The mathematical expression to calculate, such as '2 + 2'. The expression can contain numbers, operators (+, -, *, /), parentheses, and spaces.", "title": "Expression", "type": "string" }, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": null, "summary": null, "total_baggages": null, "user_id": null }, "required": [ "expression" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Cancel the whole reservation.", "name": "cancel_reservation", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": null, "destination": null, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": { "description": "The reservation ID, such as 'ZFA04Y'.", "title": "Reservation Id", "type": "string" }, "summary": null, "total_baggages": null, "user_id": null }, "required": [ "reservation_id" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Get the details of a reservation.", "name": "get_reservation_details", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": null, "destination": null, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": { "description": "The reservation ID, such as '8JX2WO'.", "title": "Reservation Id", "type": "string" }, "summary": null, "total_baggages": null, "user_id": null }, "required": [ "reservation_id" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Get the details of a user, including their reservations.", "name": "get_user_details", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": null, "destination": null, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": null, "summary": null, "total_baggages": null, "user_id": { "description": "The user ID, such as 'sara_doe_496'.", "title": "User Id", "type": "string" } }, "required": [ "user_id" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Returns a list of all available airports.", "name": "list_all_airports", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": null, "destination": null, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": null, "summary": null, "total_baggages": null, "user_id": null }, "required": null, "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Search for direct flights between two cities on a specific date.", "name": "search_direct_flight", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": { "description": "The date of the flight in the format 'YYYY-MM-DD', such as '2024-01-01'.", "title": "Date", "type": "string" }, "destination": { "description": "The destination city airport in three letters, such as 'LAX'.", "title": "Destination", "type": "string" }, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": { "description": "The origin city airport in three letters, such as 'JFK'.", "title": "Origin", "type": "string" }, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": null, "summary": null, "total_baggages": null, "user_id": null }, "required": [ "origin", "destination", "date" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Search for one-stop flights between two cities on a specific date.", "name": "search_onestop_flight", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": { "description": "The date of the flight in the format 'YYYY-MM-DD', such as '2024-05-01'.", "title": "Date", "type": "string" }, "destination": { "description": "The destination city airport in three letters, such as 'LAX'.", "title": "Destination", "type": "string" }, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": { "description": "The origin city airport in three letters, such as 'JFK'.", "title": "Origin", "type": "string" }, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": null, "summary": null, "total_baggages": null, "user_id": null }, "required": [ "origin", "destination", "date" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Send a certificate to a user. Be careful!", "name": "send_certificate", "parameters": { "$defs": null, "properties": { "amount": { "description": "The amount of the certificate to send.", "title": "Amount", "type": "integer" }, "cabin": null, "date": null, "destination": null, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": null, "summary": null, "total_baggages": null, "user_id": { "description": "The ID of the user to book the reservation, such as 'sara_doe_496'.", "title": "User Id", "type": "string" } }, "required": [ "user_id", "amount" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Transfer the user to a human agent, with a summary of the user's issue.\n\nOnly transfer if\n - the user explicitly asks for a human agent\n - given the policy and the available tools, you cannot solve the user's issue.", "name": "transfer_to_human_agents", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": null, "destination": null, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": null, "summary": { "description": "A summary of the user's issue.", "title": "Summary", "type": "string" }, "total_baggages": null, "user_id": null }, "required": [ "summary" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Update the baggage information of a reservation.", "name": "update_reservation_baggages", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": null, "destination": null, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": { "description": "The updated number of non-free baggage items included in the reservation.", "title": "Nonfree Baggages", "type": "integer" }, "origin": null, "passengers": null, "payment_id": { "description": "The payment id stored in user profile, such as 'credit_card_7815826', 'gift_card_7815826', 'certificate_7815826'.", "title": "Payment Id", "type": "string" }, "payment_methods": null, "reservation_id": { "description": "The reservation ID, such as 'ZFA04Y'", "title": "Reservation Id", "type": "string" }, "summary": null, "total_baggages": { "description": "The updated total number of baggage items included in the reservation.", "title": "Total Baggages", "type": "integer" }, "user_id": null }, "required": [ "reservation_id", "total_baggages", "nonfree_baggages", "payment_id" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Update the flight information of a reservation.", "name": "update_reservation_flights", "parameters": { "$defs": { "FlightInfo": { "properties": { "date": { "description": "The date for the flight in the format 'YYYY-MM-DD', such as '2024-05-01'.", "title": "Date", "type": "string" }, "flight_number": { "description": "Flight number, such as 'HAT001'.", "title": "Flight Number", "type": "string" } }, "required": [ "flight_number", "date" ], "title": "FlightInfo", "type": "object" }, "Passenger": null, "Payment": null }, "properties": { "amount": null, "cabin": { "description": "The cabin class of the reservation", "enum": [ "business", "economy", "basic_economy" ], "title": "Cabin", "type": "string" }, "date": null, "destination": null, "expression": null, "flight_number": null, "flight_type": null, "flights": { "description": "An array of objects containing details about each piece of flight in the ENTIRE new reservation. Even if the a flight segment is not changed, it should still be included in the array.", "items": { "anyOf": [ { "$ref": "#/$defs/FlightInfo", "additionalProperties": null, "type": null }, { "$ref": null, "additionalProperties": true, "type": "object" } ] }, "title": "Flights", "type": "array" }, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": null, "payment_id": { "description": "The payment id stored in user profile, such as 'credit_card_7815826', 'gift_card_7815826', 'certificate_7815826'.", "title": "Payment Id", "type": "string" }, "payment_methods": null, "reservation_id": { "description": "The reservation ID, such as 'ZFA04Y'.", "title": "Reservation Id", "type": "string" }, "summary": null, "total_baggages": null, "user_id": null }, "required": [ "reservation_id", "cabin", "flights", "payment_id" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Update the passenger information of a reservation.", "name": "update_reservation_passengers", "parameters": { "$defs": { "FlightInfo": null, "Passenger": { "properties": { "dob": { "description": "Date of birth in YYYY-MM-DD format", "title": "Dob", "type": "string" }, "first_name": { "description": "Passenger's first name", "title": "First Name", "type": "string" }, "last_name": { "description": "Passenger's last name", "title": "Last Name", "type": "string" } }, "required": [ "first_name", "last_name", "dob" ], "title": "Passenger", "type": "object" }, "Payment": null }, "properties": { "amount": null, "cabin": null, "date": null, "destination": null, "expression": null, "flight_number": null, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": { "description": "An array of objects containing details about each passenger.", "items": { "anyOf": [ { "$ref": "#/$defs/Passenger", "additionalProperties": null, "type": null }, { "$ref": null, "additionalProperties": true, "type": "object" } ] }, "title": "Passengers", "type": "array" }, "payment_id": null, "payment_methods": null, "reservation_id": { "description": "The reservation ID, such as 'ZFA04Y'.", "title": "Reservation Id", "type": "string" }, "summary": null, "total_baggages": null, "user_id": null }, "required": [ "reservation_id", "passengers" ], "title": "parameters", "type": "object" } }, "type": "function" }, { "function": { "description": "Get the status of a flight.", "name": "get_flight_status", "parameters": { "$defs": null, "properties": { "amount": null, "cabin": null, "date": { "description": "The date of the flight.", "title": "Date", "type": "string" }, "destination": null, "expression": null, "flight_number": { "description": "The flight number.", "title": "Flight Number", "type": "string" }, "flight_type": null, "flights": null, "insurance": null, "nonfree_baggages": null, "origin": null, "passengers": null, "payment_id": null, "payment_methods": null, "reservation_id": null, "summary": null, "total_baggages": null, "user_id": null }, "required": [ "flight_number", "date" ], "title": "parameters", "type": "object" } }, "type": "function" } ], "user_scenario": { "instructions": { "domain": "airline", "known_info": "You are Emma Kim.\nYour user id is emma_kim_9957.", "reason_for_call": "You want to cancel reservation EHGLP3. \n\nIt may be more than 24 hours after booking, but it is ok because you were out of town for that time.", "task_instructions": "If Agent tells you that cancellation is not possible,\nmention that you were told that you didn't need to get insurance because your previous trip was booked with the same agency with insurance.\n\nYou don't want to cancel if you don't get a refund." } } }
1
README.md exists but content is empty.
Downloads last month
10