hui107/Berkeley-Function-Calling-Leaderboard huggingface dataset:
Expected function call(s):
get_nearest_airport_by_city(location='Oakendale')
get_nearest_airport_by_city(location='Los Angeles')
book_flight(access_token='abc123xyz', card_id='crd6789', travel_date='2024-11-15', travel_from='OKD', travel_to='LAX', travel_class='business', travel_cost=200.0)
purchase_insurance(access_token='abc123xyz', insurance_type='comprehensive protection', booking_id='5431449', insurance_cost=50.0, card_id='crd6789')
retrieve_invoice(access_token='abc123xyz', booking_id='5431449')
contact_customer_support(booking_id='5431449', 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=1000.0)
cancel_booking(access_token='auth_token_987654321', booking_id='5431449')
Expected function call(s):
get_nearest_airport_by_city(location='Rivermist')
get_nearest_airport_by_city(location='Stonebrook')
get_nearest_airport_by_city(location='Los Angeles')
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='5431449')
Expected function call(s):
authenticate_travel(access_token='abc123xyz', cliend_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='abc123xyz', 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='abc123xyz', 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=800.0)
purchase_insurance(access_token='abc123xyz', insurance_type='comprehensive', booking_id='5431449', insurance_cost=769.0, card_id='main1234')
retrieve_invoice(access_token='abc123xyz', booking_id='5431449')
contact_customer_support(booking_id='5431449', message='Booking-related query.')
cancel_booking(access_token='abc123xyz', booking_id='5431449')
Expected function call(s):
get_nearest_airport_by_city(location='Rivermist')
get_nearest_airport_by_city(location='Los Angeles')
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=660.0)
cancel_booking(access_token='abc123xyz', booking_id='5431449')
authenticate_twitter(username='michael_t', password='mt1094584555')
post_tweet(username='michael_t', 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=200.0)
cancel_booking(access_token='abc123xyz', booking_id='5431449')
create_ticket(title='Cancellation Issue', description='Error encountered during flight cancellation process')
get_ticket(ticket_id=1)
resolve_ticket(ticket_id=1)
Expected function call(s):
register_credit_card(access_token='abc123xyz456', card_number='1432-7890-6543-9876', expiration_date='12/25', card_verification_number=321, cardholder_name='Michael Thompson')
purchase_insurance(access_token='abc123xyz456', insurance_type='comprehensive', insurance_cost=2000.0, booking_id='insurance_12345', route='Munich to Guangzhou', start_date='2023-12-24')
retrieve_invoice(access_token='abc123xyz456', booking_id='insurance_12345')
contact_customer_support(booking_id='insurance_12345', message='Unexpected hiccup during travel. Please prioritize our case for immediate attention.')
Expected function call(s):
get_nearest_airport_by_city(location='San Francisco')
get_nearest_airport_by_city(location='Los Angeles')
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='5431449')
authenticate_twitter(username='Carlina_Yates', password='YatesCarlinaaaa1103')
post_tweet(username='Carlina_Yates', content='Disappointed over my canceled plans.', tags=['#TravelWoes'], mentions=['@CarlinaYates'])
Expected function call(s):
get_nearest_airport_by_city(location='Los Angeles')
get_nearest_airport_by_city(location='New York')
get_flight_cost(travel_from='LAX', travel_to='JFK', travel_date='2024-04-15', travel_class='business')
compute_exchange_rate(base_currency='USD', target_currency='EUR', value=2400.0)
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=960.0)
retrieve_invoice(access_token='abc123xyz', booking_id='5431449')
contact_customer_support(booking_id='5431449', message='There were hiccups during the booking process. Please assist.')
send_message(sender_id='MichaelTpss', receiver_id='Kevin1048', message='Update on flight issue and customer support contact.')
view_messages_received()