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_name': '通用图片搜索-百度源', 'api_description': '执行图片搜索操作', 'required_parameters': [{'name': 'id', 'type': 'string', 'description': '接口盒子提供的ID', 'default': '88888888'}, {'name': 'key', 'type': 'string', 'description': '接口盒子提供的密钥', 'default': '88888888'}, {'name': 'limit', 'type': 'int', 'description': '每页返回的图片数量', 'default': '10'}, {'name': 'page', 'type': 'int', 'description': '当前页码', 'default': '1'}, {'name': 'words', 'type': 'string', 'description': '搜索关键词', 'default': '张含韵'}], 'optional_parameters': [], 'method': 'GET'}], 'query': '请给我展示关于中国风景的十张美丽图片。', 'relevant_apis': [{'tool_name': '通用图片搜索-百度源', 'api_name': '通用图片搜索-百度源'}], 'query_id': 2, 'claude_score': 4, 'gemini_score': 4, 'translated_query': '请给我展示关于中国风景的十张美丽图片。'} The task is as follows: 请给我展示关于中国风景的十张美丽图片。 You respond:Assistant:
- Assistantjson
{ "Thought": "The task is to showcase ten beautiful images related to Chinese landscapes. I will use the '通用图片搜索-百度源' API to perform an image search with the relevant parameters.", "Action": "通用图片搜索-百度源(id=\"88888888\", key=\"88888888\", limit=10, page=1, words=\"中国风景\")" }