hui107/Berkeley-Function-Calling-Leaderboard huggingface dataset:
Expected function call(s):
get_flight_cost(travel_from='SFO', travel_to='LAX', travel_date='2024-11-10', travel_class='business')
compute_exchange_rate(base_currency='USD', target_currency='EUR', value=400.0)
book_flight(access_token='abc123xyz', card_id='144756014165', travel_date='2024-11-10', travel_from='SFO', travel_to='LAX', travel_class='business', travel_cost=400.0)
cancel_booking(access_token='abc123xyz', booking_id='3426812')
authenticate_twitter(username='john',password='john1234')
post_tweet(content='Just cancelled my trip to LA',tags=['#TravelUpdate','#BusinessTrip'])
Expected function call(s):
get_flight_cost(travel_from='SFO', travel_to='ORD', travel_date='2024-11-15', travel_class='first')
book_flight(access_token='secureAccessToken12345',card_id='144756014165', travel_date='2024-11-15', travel_from='SFO', travel_to='ORD', travel_cost=4000.0, travel_class='first')
cancel_booking(access_token='secureAccessToken12345', booking_id='3426812')
ticket_login(username='mthompson', password='securePass123')
create_ticket(title='Flight Cancellation Alert', description='Request to cancel.',priority=5)
Expected function call(s):
verify_traveler_information(first_name='Michael', last_name='Thompson', date_of_birth='1950-01-01', passport_number='P12345678')
get_flight_cost(travel_from='RMS', travel_to='GFD', travel_date='2024-12-15', travel_class='business')
set_budget_limit(access_token='abc123xyz', budget_limit=5000)
book_flight(access_token='abc123xyz', card_id='card1234', travel_date='2024-12-15', travel_from='RMS', travel_to='GFD', travel_class='business', travel_cost=640.0)
retrieve_invoice(access_token='abc123xyz', booking_id='3426812')
Expected function call(s):
verify_traveler_information(first_name='Michael', last_name='Smith', date_of_birth='1962-02-14', passport_number='P87654321')
get_flight_cost(travel_from='ORD', travel_to='LAX', travel_date='2024-08-10', travel_class='economy')
set_budget_limit(access_token='token_ABC123XYZ', budget_limit=1500)
book_flight(access_token='token_ABC123XYZ', card_id='card1', travel_date='2024-08-10', travel_from='ORD', travel_to='LAX', travel_class='economy', travel_cost=180.0)
view_messages_sent()
Expected function call(s):
get_flight_cost(travel_from='LAX', travel_to='JFK', travel_date='2024-11-15', travel_class='business')
book_flight(access_token='abc123xyz', card_id='id15583', travel_date='2024-11-15', travel_from='LAX', travel_to='JFK', travel_class='business', travel_cost=2400.0)
purchase_insurance(access_token='abc123xyz', insurance_type='comprehensive', insurance_cost=120.0, booking_id='3426812', card_id='id15583')
Expected function call(s):
get_flight_cost(travel_from='SFO', travel_to='LAX', travel_date='2024-10-15', travel_class='first')
book_flight(access_token='abc123xyz456', card_id='travel_card_12345', travel_date='2024-10-15', travel_from='SFO', travel_to='LAX', travel_class='first', travel_cost=1000.0)
retrieve_invoice(access_token='abc123xyz456', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Urgent: last-minute complication with my reservation.')
ticket_login(username='mthompson', password='securePass123')
create_ticket(title='Urgent Flight Issue', priority=4)
edit_ticket(ticket_id=0, updates={'status':'Urgent', 'priority':5})
Expected function call(s):
verify_traveler_information(first_name='Theodore', last_name='Collins', date_of_birth='1985-09-14', passport_number='US876543')
get_flight_cost(travel_from='JFK',travel_to='LAX',travel_date='2024-10-15',travel_class='first')
book_flight(access_token='abc123xyz', card_id='primary', travel_date='2024-10-15', travel_from='JFK',travel_to='LAX',travel_class='first',travel_cost=2850.0)
cancel_booking(access_token='abc123xyz', booking_id='3426812')
Expected function call(s):
list_all_airports()
get_flight_cost(travel_from='RMS', travel_to='SBK', travel_date='2024-11-15', travel_class='economy')
book_flight(access_token='abc123xyz', card_id='card_3456', travel_date='2024-11-15', travel_from='SFO', travel_to='LAX', travel_class='economy', travel_cost=400.0)
purchase_insurance(access_token='abc123xyz', insurance_type='comprehensive', booking_id='3426812', insurance_cost=500.0, card_id='card_3456')
Expected function call(s):
compute_exchange_rate(base_currency='RMB', target_currency='USD', value=20000.0)
set_budget_limit(access_token='abc123xyz', budget_limit=2857.14)
book_flight(access_token='abc123xyz', card_id='card_3478', travel_date='2024-02-28', travel_from='JFK', travel_to='LAX', travel_class='business', travel_cost=2280.0)
close_ticket(ticket_id=83912)
Expected function call(s):
list_all_airports()
get_nearest_airport_by_city(location='Rivermist')
get_flight_cost(travel_from='RMS',travel_to='JFK',travel_date='2024-09-10',travel_class='economy')
compute_exchange_rate(base_currency='USD', target_currency='RMB', value=420.0)
set_budget_limit(access_token='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9', budget_limit=2940.0)
book_flight(access_token='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9', card_id='card6749', travel_date='2024-09-10', travel_from='RMS', travel_to='JFK', travel_class='economy', travel_cost=420.0)
close_ticket(ticket_id=458219)
Expected function call(s):
get_flight_cost(travel_from='SFO', travel_to='LAX', travel_date='2024-11-16', travel_class='business')
book_flight(access_token='abc123xyz', card_id='AMEX123456789', travel_date='2024-11-16', travel_from='SFO', travel_to='LAX', travel_class='business', travel_cost=400.0)
cancel_booking(access_token='abc123xyz', booking_id='3426812')
Expected function call(s):
get_flight_cost(travel_from='RMS', travel_to='JFK', travel_date='2024-12-01', travel_class='first')
compute_exchange_rate(base_currency='RMB', target_currency='USD', value=10000.0)
set_budget_limit(access_token='abc123', budget_limit=1428.57)
book_flight(access_token='abc123', card_id='card_3456', travel_date='2024-12-01', travel_from='RMS', travel_to='JFK', travel_class='first', travel_cost=2100.0)
retrieve_invoice(access_token='abc123', booking_id='3426812')
Expected function call(s):
verify_traveler_information(first_name='Eleanor', last_name='Smith', date_of_birth='1985-03-15', passport_number='US123456789')
get_nearest_airport_by_city(location='Crescent Hollow')
set_budget_limit(access_token='abc123xyz',budget_limit=1000)
book_flight(access_token='abc123xyz', card_id='primary', travel_date='2024-12-15', travel_from='CRH', travel_to='HKG', travel_class='economy', travel_cost=850.0)
retrieve_invoice(access_token='abc123xyz', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Urgent: Discrepancy encountered with the booking. Please resolve.')
Expected function call(s):
get_flight_cost(travel_from='CRH',travel_to='RMS',travel_date='2022-07-15',travel_class='business')
set_budget_limit(access_token='access_token_abc123', budget_limit=2000.0)
book_flight(access_token='access_token_abc123', card_id='card7320', travel_date='2022-07-15',travel_from='CRH',travel_to='RMS', travel_class='business',travel_cost=560.0)
retrieve_invoice(access_token='access_token_abc123', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Concern regarding seating arrangements')
Expected function call(s):
get_flight_cost(travel_from='RMS', travel_to='LAX', travel_date='2024-12-15', travel_class='business')
compute_exchange_rate(base_currency='RMB', target_currency='USD', value=20000.0)
set_budget_limit(access_token='abc123xyz456', budget_limit=2857.14)
book_flight(access_token='abc123xyz456', card_id='card_0064', travel_date='2024-12-15', travel_from='RMS', travel_to='LAX', travel_class='business', travel_cost=660.0)
cancel_booking(access_token='abc123xyz456', booking_id='3426812')
Expected function call(s):
compute_exchange_rate(base_currency='USD', target_currency='EUR', value=1500.0)
book_flight(access_token='abc123xyz456', card_id='card5638', travel_date='2024-07-01', travel_from='SFO', travel_to='BOS', travel_class='business', travel_cost=1800.0)
retrieve_invoice(access_token='abc123xyz456', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Require assistance with transaction particulars')
message_login(user_id='USR100145')
send_message(receiver_id='travel_advisor', message='Details regarding problems faced with the flight booking transaction.')
Expected function call(s):
book_flight(access_token='2278-9812-3456-4567', card_id='card_6789', travel_date='2024-11-10', travel_from='RMS', travel_to='LAX', travel_class='business', travel_cost=1200.0)
retrieve_invoice(access_token='2278-9812-3456-4567', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Inquiry regarding luggage restrictions for my flight')
Expected function call(s):
get_flight_cost(travel_from='SFO',travel_to='LAX',travel_date='2024-11-15',travel_class='first')
book_flight(access_token='access_token_abc123', card_id='card123', travel_date='2024-11-15', travel_from='SFO', travel_to='LAX', travel_class='first', travel_cost=2000.0)
retrieve_invoice(access_token='access_token_abc123', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Please assist with my confirmed booking.')
cancel_booking(access_token='access_token_abc123', booking_id='3426812')
authenticate_twitter(username='michael_smith', password='michael1234')
post_tweet(content='Exploring the world, one city at a time!', tags=['#Travel', '#Adventure'])
retweet(tweet_id=0)
Expected function call(s):
compute_exchange_rate(base_currency='RMB', target_currency='USD', value=10000.0)
set_budget_limit(access_token='897362', budget_limit=1428.57)
get_flight_cost(travel_from='JFK',travel_to='PEK',travel_date='2024-06-15',travel_class='first')
book_flight(access_token='897362', card_id='card_8283', travel_date='2024-06-15', travel_from='JFK', travel_to='PEK', travel_class='first', travel_cost=10000.0)
purchase_insurance(access_token='897362', insurance_type='comprehensive', insurance_cost=250.0, booking_id='3426812', card_id='card_8283')
retrieve_invoice(access_token='897362', booking_id='3426812')
message_login(user_id='USR001')
send_message(receiver_id='travel_agent', message='Thank you for your efficient handling of my booking to Beijing. My trip is confirmed for June 15th from JFK to PEK in first class.')
view_messages_sent()
Expected function call(s):
authenticate_travel(client_id='trav3lMaxID2023', client_secret='M@xSecret!', refresh_token='r3freshM3n0w', grant_type='read_write', user_first_name='Maxwell', user_last_name='Edison')
register_credit_card(access_token='251675', card_number='2345-6789-1234-5678', expiration_date='08/2025', cardholder_name='Maxwell Edison', card_verification_number=567)
book_flight(access_token='251675', card_id='391310425148', travel_date='2024-12-15', travel_from='SFO', travel_to='LAX', travel_class='business', travel_cost=400.0)
send_message(receiver_id='m0llyTr@vel2k24', message='Everything for our trip is sorted and ready!')
view_messages_sent()
Expected function call(s):
get_flight_cost(travel_from='LAX', travel_to='JFK', travel_date='2024-11-15', travel_class='business')
compute_exchange_rate(base_currency='USD', target_currency='GBP', value=2400.0)
set_budget_limit(access_token='abc123xyz', budget_limit=10000.0)
book_flight(access_token='abc123xyz', card_id='card_1496', travel_date='2024-11-15', travel_from='LAX', travel_to='JFK', travel_class='business', travel_cost=2400.0)
close_ticket(ticket_id='ticket_001')
Expected function call(s):
get_flight_cost(travel_from='SFO', travel_to='CIA', travel_date='2024-10-10', travel_class='business')
compute_exchange_rate(base_currency='USD', target_currency='EUR', value=2800.0)
book_flight(access_token='abc123xyz', card_id='card_7243', travel_date='2024-10-10', travel_from='SFO', travel_to='CIA', travel_class='business', travel_cost=2800.0)
purchase_insurance(access_token='abc123xyz', insurance_type='travel', insurance_cost=187.5, card_id='card_7243', booking_id='3426812')
retrieve_invoice(access_token='abc123xyz', booking_id='3426812',insurance_id='498276044')
authenticate_twitter(username='bookworm_traveler', password='Tr@v3lB00ks2023')
post_tweet(content='Off to Rome! Can\'t wait to explore the ancient wonders and dive into Italian cuisine!')
comment(tweet_id=10, comment_content='Safe travels and enjoy every moment!')
Expected function call(s):
get_flight_cost(travel_from='SFO', travel_to='LAX', travel_date='2024-11-25', travel_class='business')
book_flight(access_token='1293', card_id='card_3487', travel_date='2024-11-25', travel_from='SFO', travel_to='LAX', travel_class='business', travel_cost=400.0)
retrieve_invoice(access_token='1293', booking_id='3426812')
authenticate_twitter(username='john', password='john1234')
post_tweet(content='Loved my flight journey!',tags=['#TravelDiaries'])
retweet(tweet_id=10)
Expected function call(s):
book_flight(access_token='ABCD1234', card_id='id_1234', travel_date='2024-12-15', travel_from='JFK', travel_to='LAX', travel_class='business', travel_cost=4500.0)
cancel_booking(access_token='ABCD1234', booking_id='3426812')
create_ticket(priority=5, title='Urgent Flight Cancellation', description='Due to unexpected changes in schedule, the flight from JFK to LAX on December 15, 2023, needs to be canceled immediately.')
Expected function call(s):
book_flight(access_token='abc123xyz', card_id='card_6789', travel_date='2024-11-12', travel_from='CRH', travel_to='JFK', travel_class='economy', travel_cost=850.0)
purchase_insurance(access_token='abc123xyz', insurance_type='comprehensive', booking_id='3426812', insurance_cost=100.0, card_id='card_6789')
retrieve_invoice(access_token='abc123xyz', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Request for itinerary adjustments or refund due to family emergency.')
Expected function call(s):
compute_exchange_rate(base_currency='RMB', target_currency='USD', value=20000.0)
set_budget_limit(access_token='abc123xyz', budget_limit=2857.14)
get_flight_cost(travel_from='LAX', travel_to='JFK', travel_date='2024-10-12', travel_class='business')
book_flight(access_token='abc123xyz', card_id='main_card', travel_date='2024-10-12', travel_from='LAX', travel_to='JFK', travel_class='business', travel_cost=2400.0)
cancel_booking(access_token='abc123xyz', booking_id='3426812')
ticket_login(username='mzhang', password='SecurePass123')
create_ticket(priority=3, title='Invoice Discrepancy', description='Problem encountered with invoicing.')
Expected function call(s):
verify_traveler_information(first_name='Carlos', last_name='Martinez', date_of_birth='1968-03-23', passport_number='123456')
get_flight_cost(travel_from='JFK', travel_to='LAX', travel_date='2024-10-10', travel_class='first')
book_flight(access_token='abc123xyz', card_id='card_3456', travel_date='2024-10-10', travel_from='JFK', travel_to='LAX', travel_class='first', travel_cost=5700.0)
cancel_booking(access_token='abc123xyz', booking_id='3426812')
ticket_login(username='cmartinez', password='SecurePass123')
create_ticket(title='Flight Cancellation Experience', description='The abrupt cancellation caused significant inconvenience, disrupting my travel plans and causing financial loss.')
Expected function call(s):
verify_traveler_information(first_name='Matt', last_name='Bradley', date_of_birth='1995-04-23', passport_number='US9148817941')
get_flight_cost(travel_from='RMS', travel_to='LAX', travel_date='2024-11-15', travel_class='economy')
book_flight(access_token='abc123xyz456', card_id='card_2023', travel_date='2024-11-15', travel_from='RMS', travel_to='LAX', travel_class='economy', travel_cost=660.0)
retrieve_invoice(access_token='abc123xyz456', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Requesting clarification on booking details')
cancel_booking(access_token='abc123xyz456', booking_id='3426812')
authenticate_twitter(username='john', password='john1234')
post_tweet(content='Just booked a flight to LA!', tags=['#TravelSuccess', '#RivermistJourney'])
Expected function call(s):
get_flight_cost(travel_from='JFK', travel_to='LAX', travel_date='2024-12-15', travel_class='business')
book_flight(access_token='abc123xyz', card_id='card_2108', travel_date='2024-12-15', travel_from='JFK', travel_to='LAX', travel_class='business', travel_cost=1140.0)
retrieve_invoice(access_token='abc123xyz', booking_id='3426812')
cancel_booking(access_token='abc123xyz', booking_id='3426812')
send_message(receiver_id='USR006', message='Hi Sam, my travel plans have changed. I\'ll update you soon.')
view_messages_sent()
delete_message(receiver_id='USR006')
Expected function call(s):
get_flight_cost(travel_from='RMS', travel_to='JFK', travel_date='2024-12-15', travel_class='first')
book_flight(access_token='secure_access_token_987654321', card_id='card_4526', travel_date='2024-12-15', travel_from='RMS', travel_to='JFK', travel_class='first', travel_cost=1050.0)
retrieve_invoice(access_token='secure_access_token_987654321', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='No feedback yet on my inquiry regarding my flight arrangements. Please expedite the process.')
cancel_booking(access_token='secure_access_token_987654321', booking_id='3426812')
authenticate_twitter(username='john', password='john1234')
post_tweet(content='Postponing my plans.', tags=['#Travel', '#PlansChanged'], mentions=['@AirlineSupport'])
Expected function call(s):
get_flight_cost(travel_from='JFK',travel_to='HND',travel_date='2024-12-24',travel_class='first')
book_flight(access_token='abc123xyz', card_id='card_5678', travel_date='2024-12-24', travel_from='JFK', travel_to='HND', travel_class='first', travel_cost=4000.0)
authenticate_twitter(username='john', password='john1234')
post_tweet(content='Flexibility is key! Plans changed, but the adventure continues.', tags=['#TravelBlog'], mentions=['@Spontaneity'])
retweet(tweet_id=10)
Expected function call(s):
book_flight(access_token='abc123xyz', card_id='crd6789', travel_date='2024-11-15', travel_from='OKD', travel_to='LAX', travel_class='business', travel_cost=880.0)
purchase_insurance(access_token='abc123xyz', insurance_type='comprehensive protection', booking_id='3426812', insurance_cost=50.0, card_id='crd6789')
retrieve_invoice(access_token='abc123xyz', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Unexpected charge found on the invoice.')
create_ticket(priority=2, title='Billing Concern', description='Detailed exchange with customer support regarding unexpected charge.')
Expected function call(s):
verify_traveler_information(first_name='Michael', last_name='Thompson', date_of_birth='1995-08-15', passport_number='US1234')
get_nearest_airport_by_city(location='San Francisco')
get_flight_cost(travel_from='LAX', travel_to='SFO', travel_date='2024-12-15', travel_class='first')
book_flight(access_token='auth_token_987654321', card_id='card_9012', travel_date='2024-12-15', travel_from='LAX', travel_to='SFO', travel_class='first', travel_cost=500.0)
cancel_booking(access_token='auth_token_987654321', booking_id='3426812')
Expected function call(s):
get_nearest_airport_by_city(location='Rivermist')
get_nearest_airport_by_city(location='Stonebrook')
get_flight_cost(travel_from='RMS', travel_to='LAX', travel_date='2024-08-15', travel_class='business')
set_budget_limit(access_token='ABCDE12345', budget_limit=1500.0)
book_flight(access_token='ABCDE12345', card_id='1432', travel_date='2024-08-15', travel_from='RMS', travel_to='LAX', travel_class='business', travel_cost=1320.0)
retrieve_invoice(access_token='ABCDE12345', booking_id='3426812')
Expected function call(s):
authenticate_travel(client_id='my_client_id', client_secret='my_client_secret', refresh_token='my_refresh_token', grant_type='read_write', user_first_name='Michael', user_last_name='Thompson')
book_flight(access_token='251675', card_id='credit_9988', travel_date='2024-12-25', travel_from='JFK', travel_to='MPC', travel_class='first', travel_cost=3000.5)
cancel_booking(access_token='251675', booking_id='5431449')
create_ticket(priority=4, title='Urgent Change in Travel Plans', description='An unexpected change has arisen, and I need to cancel my booking for the trip to the Maldives.')
Expected function call(s):
list_all_airports()
get_flight_cost(travel_from='RMS', travel_to='BOS', travel_date='2024-10-31', travel_class='business')
book_flight(access_token='abc123xyz', card_id='main1234', travel_date='2024-10-31', travel_from='RMS', travel_to='BOS', travel_class='business', travel_cost=400.0)
purchase_insurance(access_token='abc123xyz', insurance_type='comprehensive', booking_id='3426812', insurance_cost=769.0, card_id='main1234')
retrieve_invoice(access_token='abc123xyz', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='Booking-related query.')
cancel_booking(access_token='abc123xyz', booking_id='3426812')
Expected function call(s):
get_flight_cost(travel_from='RMS',travel_to='LAX',travel_date='2024-11-15',travel_class='business')
book_flight(access_token='abc123xyz', card_id='1_3456', travel_date='2024-11-15', travel_from='RMS', travel_to='LAX', travel_class='business', travel_cost=1320.0)
cancel_booking(access_token='abc123xyz', booking_id='3426812')
authenticate_twitter(username='michael_t', password='michaelSecurePass123')
post_tweet(content='Just booked a flight to Los Angeles! Excited for the trip.')
retweet(tweet_id=1)
Expected function call(s):
compute_exchange_rate(base_currency='RMB', target_currency='USD', value=50000.0)
set_budget_limit(access_token='abc123xyz', budget_limit=7142.86)
get_flight_cost(travel_from='LHR',travel_to='CDG',travel_date='2024-11-15',travel_class='business')
book_flight(access_token='abc123xyz', card_id='primary_8970', travel_date='2024-11-15', travel_from='LHR', travel_to='CDG', travel_class='business', travel_cost=400.0)
cancel_booking(access_token='abc123xyz', booking_id='3426812')
create_ticket(title='Cancellation Issue', description='Error encountered during flight cancellation process.')
get_ticket(ticket_id=1)
resolve_ticket(ticket_id=1, resolution='')
Expected function call(s):
get_flight_cost(travel_from='SFO', travel_to='LAX', travel_date='2024-12-25', travel_class='first')
book_flight(access_token='abc123token', card_id='6789', travel_date='2024-12-25', travel_from='SFO', travel_to='LAX', travel_class='first', travel_cost=2000.0)
cancel_booking(access_token='abc123token', booking_id='3426812')
authenticate_twitter(username='john', password='john1234')
post_tweet(content='Disappointed over my canceled plans.', tags=['#TravelWoes'], mentions=['@CarlinaYates'])
Expected function call(s):
get_flight_cost(travel_from='LAX', travel_to='JFK', travel_date='2024-04-15', travel_class='business')
book_flight(access_token='abc123xyz', card_id='card_123456789', travel_date='2024-04-15', travel_from='LAX', travel_to='JFK', travel_class='business', travel_cost=2400.0)
retrieve_invoice(access_token='abc123xyz', booking_id='3426812')
contact_customer_support(booking_id='3426812', message='There were hiccups during the booking process. Please assist.')
message_login(user_id='USR001')
send_message(receiver_id='USR003', message='Update on flight issue and customer support contact.')
view_messages_sent()