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': '光遇大蜡位置图片接口', 'api_name': '光遇大蜡位置图片API', 'api_description': '获取光遇每日大蜡烛位置的图片', 'required_parameters': [{'name': 'key', 'type': 'string', 'description': 'api-key', 'default': '9uryZiknzUtTFkaYUQxcOeMwq4'}], 'optional_parameters': [], 'method': 'GET'}], 'query': '可以给我一张关于今天光遇大蜡烛位置的图片吗?', 'relevant_apis': [{'tool_name': '光遇大蜡位置图片接口', 'api_name': '光遇大蜡位置图片API'}], 'query_id': 7, 'claude_score': 4, 'gemini_score': 4, 'translated_query': '可以给我一张关于今天光遇大蜡烛位置的图片吗?'} The task is as follows: 可以给我一张关于今天光遇大蜡烛位置的图片吗? You respond:Assistant:
- Assistant
{ "Thought": "The task is requesting an image of today's Sky: Children of the Light candle positions in China. The relevant API to use is the '光遇大蜡位置图片API', which requires an API key parameter.", "Action": "光遇大蜡位置图片API(key='9uryZiknzUtTFkaYUQxcOeMwq4')" }