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="")", }codeThe API information is as follows: {'country': 'USA', 'api_name': [{'tool_name': 'Zip Code Master', 'api_name': 'Get ZIP code detail', 'api_description': 'Retrieve a detailed profile and demographic data for the provided ZIP code.', 'required_parameters': [{'name': 'zip', 'type': 'string', 'description': 'The ZIP code for which to retrieve detailed information.', 'default': '10001'}], 'optional_parameters': [], 'method': 'GET'}], 'query': 'I’d like to know the average real estate asking price in 10001, please.', 'relevant_apis': [{'tool_name': 'Zip Code Master', 'api_name': 'Get ZIP code detail'}], 'query_id': 2, 'claude_score': 5, 'gemini_score': 4, 'translated_query': "I'd like to know the average real estate asking price in zip code 10001, please."} The task is as follows: I'd like to know the average real estate asking price in zip code 10001, please. You respond:Assistant:
- Assistantjson
{ "Thought": "The query requests information about the average real estate asking price for a specific ZIP code. The provided API can give detailed profile and demographic data for a ZIP code, which might include real estate information.", "Action": "Get ZIP code detail(zip='10001')" }