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': 'Find By UDPRN', 'api_name': 'Find By UDPRN', 'api_description': '“Find By UDPRN” API gets address for the specified UDPRN. UDPRN stands for ‘Unique Delivery Point Reference Number.', 'required_parameters': [{'name': 'udprn', 'type': 'string', 'description': 'Unique numeric code for any premise on the Postcode Address File.', 'default': '18920084'}], 'optional_parameters': [], 'method': 'GET'}], 'query': 'Can you help me find the address associated with the UDPRN 18920084?', 'relevant_apis': [{'tool_name': 'Find By UDPRN', 'api_name': 'Find By UDPRN'}], 'query_id': 1, 'claude_score': 5, 'gemini_score': 5, 'translated_query': 'Can you help me find the address associated with the UPRN 18920084?'} The task is as follows: Can you help me find the address associated with the UPRN 18920084? You respond:Assistant:
- Assistant
{ "Thought": "The task requires using an API to find an address associated with a specific Unique Delivery Point Reference Number (UDPRN). The provided API 'Find By UDPRN' is designed to retrieve this information. Since there is only one required parameter, 'udprn', I will use this with the given UDPRN 18920084.", "Action": "Find By UDPRN(udprn='18920084')" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.