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': '获取必应官方壁纸', 'required_parameters': [{'name': 'id', 'type': 'string', 'description': '接口盒子提供的ID', 'default': '88888888'}, {'name': 'key', 'type': 'string', 'description': '接口盒子提供的KEY', 'default': '88888888'}, {'name': 'type', 'type': 'string', 'description': '壁纸类型(1为普通壁纸,2为高清壁纸)', 'default': '1'}], 'optional_parameters': [], 'method': 'GET'}], 'query': '打算更新电脑背景壁纸,有没有最新的普通分辨率必应壁纸?', 'relevant_apis': [{'tool_name': 'BING壁纸', 'api_name': 'BING壁纸API'}], 'query_id': 9, 'claude_score': 4, 'gemini_score': 4, 'translated_query': '我打算更新电脑背景壁纸,有没有最新的普通分辨率必应壁纸?'} The task is as follows: 我打算更新电脑背景壁纸,有没有最新的普通分辨率必应壁纸? You respond:Assistant:
- Assistantjson
{ "Thought": "I need to fetch the latest Bing wallpaper in regular resolution as per the user's request. The available API for this task is the BING壁纸API, which provides Bing wallpapers.", "Action": "BING壁纸API(id='88888888', key='88888888', type='1')" }