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': 'Thailand', 'api_name': [{'tool_name': 'Provinces of Thailand', 'api_name': 'district', 'api_description': 'Retrieve information about districts (อำเภอ) in Thailand.', 'required_parameters': [], 'optional_parameters': [], 'method': 'GET'}], 'query': 'Can you tell me about the districts in Chiang Mai?', 'relevant_apis': [{'tool_name': 'Provinces of Thailand', 'api_name': 'district'}], 'query_id': 1, 'claude_score': 4, 'gemini_score': 4, 'translated_query': 'คุณช่วยบอกเกี่ยวกับอำเภอในเชียงใหม่ได้ไหม?'} The task is as follows: คุณช่วยบอกเกี่ยวกับอำเภอในเชียงใหม่ได้ไหม? You respond:Assistant:
- Assistant
{ "Thought": "The task is asking for information about the districts in Chiang Mai, Thailand. The provided relevant API 'district' from the 'Provinces of Thailand' tool is designed to retrieve information about districts. Therefore, I will use this API to gather the required details.", "Action": "district()" }