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': 'AI绘图每天免费400图', 'api_name': 'AI绘图接口', 'api_description': '调用此接口可以生成AI绘图', 'required_parameters': [{'name': 'model', 'type': 'string', 'description': '绘图的AI模型,可选值如:anime, cartoon, abstract, etc.', 'default': ''}, {'name': 'prompt', 'type': 'string', 'description': '绘制内容的描述,如:一个卡通风格的咖啡店', 'default': ''}], 'optional_parameters': [{'name': 'size', 'type': 'string', 'description': '图像大小,如:1024x1024', 'default': '1024x1024'}, {'name': 'style', 'type': 'string', 'description': '绘图风格,如:watercolor, oilpainting, etc.', 'default': 'default'}], 'method': 'GET'}], 'query': '请绘制一幅油画风格的城市夜景,大小为1024x1024。', 'relevant_apis': [{'tool_name': 'AI绘图每天免费400图', 'api_name': 'AI绘图接口'}], 'query_id': 4, 'claude_score': 5, 'gemini_score': 4, 'translated_query': '请绘制一幅油画风格的城市夜景,大小为1024x1024。'} The task is as follows: 请绘制一幅油画风格的城市夜景,大小为1024x1024。 You respond:Assistant:
- Assistantjson
{ "Thought": "The task requires generating an AI drawing of a city nightscape in an oil painting style with the specified size. I will use the AI绘图接口 to fulfill this request.", "Action": "AI绘图接口(model='default', prompt='城市夜景', size='1024x1024', style='oilpainting')" }