gpt-4o-2024-08-06· openai
WildChat-4.8M
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 Postcode', 'api_name': '/getpostcode', 'api_description': 'Find an exact match for a given postcode.', 'required_parameters': [{'name': 'postcode', 'type': 'STRING', 'description': 'An exact match for the postcode to be queried.', 'default': 'SW1A2AA'}], 'optional_parameters': [], 'method': 'GET'}], 'query': 'Tell me if the postcode NE1AA2 exists and its details if it does.', 'relevant_apis': [{'tool_name': 'UK Postcode', 'api_name': '/getpostcode'}], 'query_id': 9, 'claude_score': 4, 'gemini_score': 5, 'translated_query': 'Tell me if the postcode NE1AA2 exists and its details if it does.'} The task is as follows: Tell me if the postcode NE1AA2 exists and its details if it does. You respond:Assistant:
- Assistant
{ "Thought": "I need to check if the provided postcode 'NE1AA2' exists using the UK Postcode API and provide its details.", "Action": "UK Postcode API /getpostcode(postcode='NE1AA2')" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.