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', 'api_description': '通过关键词进行图片搜索的接口', 'required_parameters': [{'name': 'id', 'type': 'string', 'description': '接口盒子分配的ID', 'default': '88888888'}, {'name': 'key', 'type': 'string', 'description': '接口盒子分配的KEY', 'default': '88888888'}, {'name': 'page', 'type': 'int', 'description': '分页参数,用于分页显示搜索结果', 'default': '1'}, {'name': 'words', 'type': 'string', 'description': '搜索关键词', 'default': '张含韵'}], 'optional_parameters': [], 'method': 'GET'}], 'query': '我需要一些关于杭州西湖美景的图片资源。', 'relevant_apis': [{'tool_name': '通用图片搜索-搜狗源', 'api_name': '通用图片搜索-搜狗源API'}], 'query_id': 7, 'claude_score': 4, 'gemini_score': 4, 'translated_query': 'I need some image resources about the beautiful scenery of West Lake in Hangzhou.'} The task is as follows: I need some image resources about the beautiful scenery of West Lake in Hangzhou. You respond:Assistant:
- Assistantjson
{ "Thought": "The task is to obtain image resources related to the beautiful scenery of West Lake in Hangzhou. The API available for this task is the 通用图片搜索-搜狗源API, which performs image searches using specified keywords.", "Action": "通用图片搜索-搜狗源API(id='88888888', key='88888888', page=1, words='杭州西湖美景')" }