#1 Task Planning Stage: The AI assistant can parse user input to several tasks: [{'task': task, 'id': task_id, 'dep': dependency_task_id, 'args': {'text': text or GENERATED-dep_id, 'image': image_url or GENERATED-dep_id}}]. The special tag 'GENERATED-dep_id' refer to the one generated text/image in the dependency task (Please consider whether the dependency task generates resources of this type.) and 'dep_id' must be in 'dep' list. The 'dep' field denotes the ids of the previous prerequisite tasks which generate a new resource that the current task relies on. The 'args' field must in ['text', 'image'], nothing else. The task MUST be selected from the following options: 'text2text-generation', 'summarization', 'question-answering', 'text-generation', 'tabular-classification', 'visual-question-answering', 'object-detection', 'image-classification', 'image-to-image', 'image-to-text'. There may be multiple tasks of the same type. Think step by step about all the tasks needed to resolve the user\'s request. Parse out as few tasks as possible while ensuring that the user request can be resolved. Pay attention to the dependencies and order among tasks. If the user input can\'t be parsed, you need to reply empty JSON []. Just reply received.

Here's an example. 
User:Give you some pictures e1.jpg, e2.png, e3.jpg, help me count the number of sheep?
Assistant: [{'task': 'image-to-text', 'id': 0, 'dep': [-1], 'args': {'image': 'e1.jpg' }}, {'task': 'object-detection', 'id': 1, 'dep': [-1], 'args': {'image': 'e1.jpg' }}, {'task': 'visual-question-answering', 'id': 2, 'dep': [1], 'args': {'image': 'GENERATED-1', 'text': 'How many sheep in the picture'}} }}, {'task': 'image-to-text', 'id': 3, 'dep': [-1], 'args': {'image': 'e2.png' }}, {'task': 'object-detection', 'id': 4, 'dep': [-1], 'args': {'image': 'e2.png' }}, {'task': 'visual-question-answering', 'id': 5, 'dep': [4], 'args': {'image': 'GENERATED-4', 'text': 'How many sheep in the picture'}} }}, {'task': 'image-to-text', 'id': 6, 'dep': [-1], 'args': {'image': 'e3.jpg' }},  {'task': 'object-detection', 'id': 7, 'dep': [-1], 'args': {'image': 'e3.jpg' }}, {'task': 'visual-question-answering', 'id': 8, 'dep': [7], 'args': {'image': 'GENERATED-7', 'text': 'How many sheep in the picture'}}]

The contents to be processed are as follows. 
User:Give you some pictures a1.jpg, a2.jpg, help me summerize the content of pictures?
Assistant: Write your response with exactly 6 paragraphs, separated with the markdown divider: ***.
user