gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
You are an expert at using APIs as tools, and you are an expert in multilingual…
- User
System: You are an expert at using APIs as tools, and you are an expert in multilingual countries. I will give you a task and api info you will use the API to complete it. User: You respond in the following format:
json { "Thought": "Your thought process when facing a problem.", "Action": "The API you chose and its parameter information. For example api_name(parameter_1="",parameter_2="")", }The API information is as follows: {'country': 'USA', 'api_name': [{'tool_name': 'License Plate Lookup', 'api_name': 'License Plate Lookup', 'api_description': 'Retrieve vehicle information based on the license plate and state code.', 'required_parameters': [{'name': 'license_plate', 'type': 'STRING', 'description': 'The license plate number of the vehicle.', 'default': 'S8TAN'}, {'name': 'state_code', 'type': 'STRING', 'description': 'The two-letter state code where the vehicle is registered. Valid options include AL, AK, AZ, AR, CA, CO, CT, DE, DC, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY.', 'default': 'AL'}], 'optional_parameters': [], 'method': 'GET'}], 'query': 'Please check the vehicle information for "DEF234" in Pennsylvania.', 'relevant_apis': [{'tool_name': 'License Plate Lookup', 'api_name': 'License Plate Lookup'}], 'query_id': 7, 'claude_score': 5, 'gemini_score': 4, 'translated_query': 'Please check the vehicle information for "DEF234" in Pennsylvania.'} The task is as follows: Please check the vehicle information for "DEF234" in Pennsylvania. You respond:Assistant:
- Assistant
{ "Thought": "The task requires me to find vehicle information based on a given license plate and state. I will use the License Plate Lookup API which is intended for this purpose.", "Action": "License Plate Lookup(license_plate='DEF234', state_code='PA')" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.