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': 'China', 'api_name': [{'tool_name': '查指定地址经纬度坐标', 'api_name': '查指定地址经纬度坐标API', 'api_description': '通过指定地址查询对应的经纬度坐标', 'required_parameters': [{'name': 'id', 'type': 'string', 'description': '接口盒子提供的ID', 'default': '88888888'}, {'name': 'key', 'type': 'string', 'description': '接口盒子提供的KEY', 'default': '88888888'}, {'name': 'address', 'type': 'string', 'description': '要查询的地址', 'default': '北京市海淀区上地十街10号'}], 'optional_parameters': [], 'method': 'GET'}], 'query': '帮我查询一下深圳市南山区深南大道9009号的经纬度。', 'relevant_apis': [{'tool_name': '查指定地址经纬度坐标', 'api_name': '查指定地址经纬度坐标API'}], 'query_id': 4, 'claude_score': 5, 'gemini_score': 5, 'translated_query': '请帮我查询一下深圳市南山区深南大道9009号的经纬度。'} The task is as follows: 请帮我查询一下深圳市南山区深南大道9009号的经纬度。 You respond:Assistant:
- Assistantjson
{ "Thought": "The task is to find the geographical coordinates (latitude and longitude) for the address 深圳市南山区深南大道9009号. I have an API available that can search for coordinates using a specified address.", "Action": "查指定地址经纬度坐标API(id='88888888', key='88888888', address='深圳市南山区深南大道9009号')" }