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 find out which properties around me have an EPC rating of 'C' or higher? I’ll provide my location details.", 'relevant_apis': [{'tool_name': 'UK Property', 'api_name': 'Domestic EPC Search'}], 'query_id': 9, 'claude_score': 5, 'gemini_score': 4, 'translated_query': 'Can you find out which properties near me have an EPC rating of C or above? I’ll provide my location details.'} The task is as follows: Can you find out which properties near me have an EPC rating of C or above? I’ll provide my location details. You respond:Assistant:
- Assistant
{ "Thought": "The task requires retrieving property information with an EPC rating of 'C' or above, using specific latitude and longitude coordinates that the user will provide.", "Action": "Domestic EPC Search(compliant=true, longitude='user_provided_longitude', latitude='user_provided_latitude')" }