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': 'India Pincode API', 'api_name': 'findpincodebydistrict', 'api_description': 'Get pincode information for a specific district.', 'required_parameters': [], 'optional_parameters': [], 'method': 'GET'}], 'query': 'Please look up the pincode for Aurangabad so I can send a package there.', 'relevant_apis': [{'tool_name': 'India Pincode API', 'api_name': 'findpincodebydistrict'}], 'query_id': 2, 'claude_score': 4, 'gemini_score': 5, 'translated_query': 'कृपया औरंगाबाद के पिनकोड की जानकारी देखें ताकि मैं वहां एक पैकेज भेज सकूं।'} The task is as follows: कृपया औरंगाबाद के पिनकोड की जानकारी देखें ताकि मैं वहां एक पैकेज भेज सकूं। You respond:Assistant:
- Assistant
{ "Thought": "To find the pincode information for the district of Aurangabad in India, I should use the relevant API that can fetch this information.", "Action": "findpincodebydistrict()" }