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': '每日Bing', 'api_name': '每日Bing美图API', 'api_description': '获取每日Bing壁纸图片', 'required_parameters': [{'name': 'format', 'type': 'string', 'description': '返回数据的格式,通常为json或xml', 'default': 'json'}], 'optional_parameters': [], 'method': 'GET'}], 'query': '帮我获取一下每日Bing美图的json格式数据。', 'relevant_apis': [{'tool_name': '每日Bing', 'api_name': '每日Bing美图API'}], 'query_id': 2, 'claude_score': 4, 'gemini_score': 5, 'translated_query': '帮我获取一下每日Bing美图的json格式数据。'} The task is as follows: 帮我获取一下每日Bing美图的json格式数据。 You respond:Assistant:
- Assistantjson
{ "Thought": "The task is to retrieve the daily Bing image in JSON format using the available API. According to the given API information, the relevant API for this task is the 每日Bing美图API, and the required parameter is 'format', which should be set to 'json'.", "Action": "每日Bing美图API(format='json')" }