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', 'api_name': '图文自适应API', 'api_description': '将文字内容转化为自适应图文格式。', 'required_parameters': [{'name': 'msg', 'type': 'string', 'description': '需要转换的自适应图文文字内容。', 'default': ''}], 'optional_parameters': [], 'method': 'GET'}], 'query': '帮我把这段话转化为自适应图文格式:"今天的天气真好,适合去公园散步"。', 'relevant_apis': [{'tool_name': '图文自适应API', 'api_name': '图文自适应API'}], 'query_id': 1, 'claude_score': 5, 'gemini_score': 5, 'translated_query': '今天的天气真好,适合去公园散步。'} The task is as follows: 今天的天气真好,适合去公园散步。 You respond:Assistant:
- Assistant
{ "Thought": "The task is to convert the given sentence into an adaptive graphic-text format using the available API. Based on the provided API information, the '图文自适应API' is the tool we need to employ.", "Action": "图文自适应API(msg=\"今天的天气真好,适合去公园散步。\")" }