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': 'subdistrict', 'api_description': 'Retrieve information about subdistricts (ตำบล) in Thailand.', 'required_parameters': [], 'optional_parameters': [], 'method': 'GET'}], 'query': 'What are the subdistricts in Nakhon Ratchasima? I’m curious!', 'relevant_apis': [{'tool_name': 'Provinces of Thailand', 'api_name': 'subdistrict'}], 'query_id': 4, 'claude_score': 5, 'gemini_score': 4, 'translated_query': 'อำเภอในนครราชสีมามีอะไรบ้าง? ฉันอยากรู้!'} The task is as follows: อำเภอในนครราชสีมามีอะไรบ้าง? ฉันอยากรู้! You respond:Assistant:
- Assistant
{ "Thought": "The task is to find out the subdistricts in Nakhon Ratchasima, Thailand. The relevant API provided is the 'subdistrict' API, which can retrieve information about subdistricts in Thailand.", "Action": "subdistrict()" }