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': 4, 'claude_score': 5, 'gemini_score': 5, 'translated_query': '获取今天的Bing壁纸,并以JSON格式返回。'} The task is as follows: 获取今天的Bing壁纸,并以JSON格式返回。 You respond:Assistant:
- Assistantjson
{ "Thought": "The task is to retrieve today's Bing wallpaper in JSON format using the available API. The provided API information includes '每日Bing美图API', which appears to be the appropriate choice. The only required parameter is 'format', which defaults to 'json'.", "Action": "每日Bing美图API(format='json')" }