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': 'India', 'api_name': [{'tool_name': 'Pin Codes - India', 'api_name': 'ADDRESS', 'api_description': "Search by location name. Please check the 'OVERVIEW' Tab for the list of State IDs to use with this API.", 'required_parameters': [], 'optional_parameters': [], 'method': 'POST'}], 'query': 'Can you tell me the pin code for the sector around Noida 62?', 'relevant_apis': [{'tool_name': 'Pin Codes - India', 'api_name': 'ADDRESS'}], 'query_id': 8, 'claude_score': 4, 'gemini_score': 4, 'translated_query': 'क्या आप मुझे नोएडा 62 के आसपास के क्षेत्र का पिन कोड बता सकते हैं?'} The task is as follows: क्या आप मुझे नोएडा 62 के आसपास के क्षेत्र का पिन कोड बता सकते हैं? You respond:Assistant:
- Assistant
{ "Thought": "To find the pin code for the area around Noida 62, I need to use the relevant API for Indian pin codes. The 'Pin Codes - India' API seems appropriate for this task.", "Action": "ADDRESS()" }