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': 'Zip Code Master', 'api_name': 'Get ZIP code summary', 'api_description': 'Retrieve a summary profile for the provided ZIP code.', 'required_parameters': [{'name': 'zip', 'type': 'string', 'description': 'The ZIP code for which to retrieve the summary.', 'default': '90210'}], 'optional_parameters': [], 'method': 'GET'}], 'query': "Give me a complete overview of what's happening in ZIP code 20001 in Washington, D.C.", 'relevant_apis': [{'tool_name': 'Zip Code Master', 'api_name': 'Get ZIP code summary'}], 'query_id': 4, 'claude_score': 4, 'gemini_score': 4, 'translated_query': "Give me a complete overview of what's happening in Washington, D.C.'s ZIP code 20001."} The task is as follows: Give me a complete overview of what's happening in Washington, D.C.'s ZIP code 20001. You respond:Assistant:
- Assistant
{ "Thought": "To provide a complete overview of what's happening in Washington, D.C.'s ZIP code 20001, I need to retrieve information using the available API that provides summary profiles for ZIP codes.", "Action": "Get ZIP code summary(zip='20001')" }