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': 'China', 'api_name': [{'tool_name': 'Bing每日一图', 'api_name': 'Bing每日一图接口', 'api_description': '获取必应每日一图的最近7张图', 'required_parameters': [], 'optional_parameters': [{'name': 'count', 'type': 'int', 'description': '可选,获取图片的数量,默认为7', 'default': '7'}], 'method': 'GET'}], 'query': 'Me gustaría ver las imágenes de Bing de los últimos días; ¿puedes ayudarme a obtenerlas?', 'relevant_apis': [{'tool_name': 'Bing每日一图', 'api_name': 'Bing每日一图接口'}], 'query_id': 2, 'claude_score': 4, 'gemini_score': 4, 'translated_query': '我想查看最近几天的必应图片;你能帮我获取吗?'} The task is as follows: 我想查看最近几天的必应图片;你能帮我获取吗? You respond:Assistant:
- Assistant
{ "Thought": "The task is to retrieve Bing's daily images from the past few days. The provided API, 'Bing每日一图接口', is suitable for this task as it specifically retrieves images from Bing for the last seven days.", "Action": "Bing每日一图接口(count='7')" }