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壁纸,可以帮我展示一下吗?', 'relevant_apis': [{'tool_name': '每日Bing', 'api_name': '每日Bing美图API'}], 'query_id': 1, 'claude_score': 5, 'gemini_score': 5, 'translated_query': '我想看看今天的Bing壁纸,可以帮我展示一下吗?'} The task is as follows: 我想看看今天的Bing壁纸,可以帮我展示一下吗? You respond:Assistant:
- Assistantjson
{ "Thought": "The user wants to see today's Bing wallpaper. I have an API available that can fetch the daily Bing wallpaper image. I'll use it to retrieve the image in JSON format.", "Action": "每日Bing美图API(format='json')" }