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': '图片转线稿API', 'api_name': '图片转线稿接口', 'api_description': '接收图片URL并转换为线稿效果的图片', 'required_parameters': [{'name': 'url', 'type': 'string', 'description': '图片的URL链接,必须是有效的图片链接', 'default': ''}], 'optional_parameters': [], 'method': 'GET'}], 'query': '将URL为https://example.com/picture.png的图片变成线稿好吗?', 'relevant_apis': [{'tool_name': '图片转线稿API', 'api_name': '图片转线稿接口'}], 'query_id': 3, 'claude_score': 4, 'gemini_score': 4, 'translated_query': '我不知道!'} The task is as follows: 我不知道! You respond:Assistant:
- Assistantjson
{ "Thought": "The task requires converting an image from a given URL into a line drawing. The provided API, '图片转线稿接口', is designed to handle this task. The API requires an image URL as a parameter.", "Action": "图片转线稿接口(url='https://example.com/picture.png')" }