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': 'UK', 'api_name': [{'tool_name': 'UK Property', 'api_name': 'Domestic EPC Search', 'api_description': "Retrieves a maximum of the 10 closest properties to the supplied latitude and longitude, compliant properties are considered to be EPC 'C' and above.", 'required_parameters': [{'name': 'compliant', 'type': 'BOOLEAN', 'description': 'Indicates whether to filter for compliant properties.', 'default': 'false'}, {'name': 'longitude', 'type': 'STRING', 'description': 'The longitude coordinate for the property search.', 'default': '-3.999879'}, {'name': 'latitude', 'type': 'STRING', 'description': 'The latitude coordinate for the property search.', 'default': '51.575906'}], 'optional_parameters': [], 'method': 'GET'}], 'query': 'Can you retrieve the closest ten properties that meet the energy compliance criteria? I’ll send you my latitude and longitude.', 'relevant_apis': [{'tool_name': 'UK Property', 'api_name': 'Domestic EPC Search'}], 'query_id': 6, 'claude_score': 4, 'gemini_score': 4, 'translated_query': 'Can you retrieve the closest ten properties that meet the energy compliance criteria? I’ll send you my latitude and longitude.'} The task is as follows: Can you retrieve the closest ten properties that meet the energy compliance criteria? I’ll send you my latitude and longitude. You respond:Assistant:
- Assistant
{ "Thought": "The task requires retrieving properties that meet the energy compliance criteria. The API description indicates that the relevant tool is the 'Domestic EPC Search' from the 'UK Property' API, which retrieves properties with an EPC rating of 'C' and above when the 'compliant' parameter is set to true.", "Action": "Domestic EPC Search(compliant=true, longitude='-3.999879', latitude='51.575906')" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.