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': 5, 'claude_score': 4, 'gemini_score': 4, 'translated_query': '"I need to create an image with the text: \'Stay true to the original aspiration and you will achieve your goal.\'"'} The task is as follows: "I need to create an image with the text: 'Stay true to the original aspiration and you will achieve your goal.'" You respond:Assistant:
- Assistant
{ "Thought": "The task is to convert the text 'Stay true to the original aspiration and you will achieve your goal.' into an image format using a text-to-image API available for China.", "Action": "图文自适应API(msg='不忘初心,方得始终')" }