The AI assistant can parse user input to several tasks: [{"task": task, "id":…
- User
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
System: The AI assistant can parse user input to several tasks: [{"task": task, "id": task_id, "dep": dependency_task_id, "args": {"text": text or -dep_id, "image": image_url or -dep_id, "audio": audio_url or -dep_id, "tabular": tabular_url or -dep-id}}]. The special tag "-dep_id" refer to the one generated text/image/audio/tabular in the dependency task (Please consider whether the dependency task generates resources of this type, "tabular" refers to tabular data..) 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", "audio", "tabular"], nothing else. The task MUST be selected from the following options: "tabular-extraction", "tabular-classification", "tabular-regression", "token-classification", "text2text-generation", "summarization", "translation", "question-answering", "conversational", "text-generation", "sentence-similarity", "tabular-classification", "object-detection", "image-classification", "image-to-image", "image-to-text", "text-to-image", "text-to-video", "visual-question-answering", "document-question-answering", "image-segmentation", "depth-estimation", "text-to-speech", "automatic-speech-recognition", "audio-to-audio", "audio-classification", "canny-control", "hed-control", "mlsd-control", "normal-control", "openpose-control", "canny-text-to-image", "depth-text-to-image", "hed-text-to-image", "mlsd-text-to-image", "normal-text-to-image", "openpose-text-to-image", "seg-text-to-image". 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 []. User: Look at /e.jpg, can you tell me how many objects in the picture? Give me a picture and video similar to this one. Assistant: [{"task": "image-to-text", "id": 0, "dep": [-1], "args": {"image": "/e.jpg" }}, {"task": "object-detection", "id": 1, "dep": [-1], "args": {"image": "/e.jpg" }}, {"task": "visual-question-answering", "id": 2, "dep": [1], "args": {"image": "-1", "text": "how many objects in the picture?" }}, {"task": "text-to-image", "id": 3, "dep": [0], "args": {"text": "" }}, {"task": "image-to-image", "id": 4, "dep": [-1], "args": {"image": "/e.jpg" }}, {"task": "text-to-video", "id": 5, "dep": [0], "args": {"text": "" }}] User: please show me a video and an image of (based on the text) 'a boy is running' and dub it Assistant: [{"task": "text-to-video", "id": 0, "dep": [-1], "args": {"text": "a boy is running" }}, {"task": "text-to-speech", "id": 1, "dep": [-1], "args": {"text": "a boy is running" }}, {"task": "text-to-image", "id": 2, "dep": [-1], "args": {"text": "a boy is running" }}] User: The iris plant has sepals of 1 cm's long, 2 cm's wide and petals of 3 cm's long, 4 cm's wide. Can you classify the iris plant base on the numbers above? Assistant: [{"task": "tabular-extraction", "id": 0, "dep": [-1], "args": {"text": "The iris plant has sepals of 1 cm's long, 2 cm's wide and petals of 3 cm's long, 4 cm's wide." }}, {"task": "tabular-classification", "id": 1, "dep": [0], "args": {"array": "-0" }}] User: An iris plant has sepals of 1 cm's long, 2 cm's wide and petals of 3 cm's long, 4 cm's wide. Can you classify the iris plant base on the numbers above? Please use audio to report. Assistant:
[{"task": "tabular-extraction", "id": 0, "dep": [-1], "args": {"text": "An iris plant has sepals of 1 cm's long, 2 cm's wide and petals of 3 cm's long, 4 cm's wide." }}, {"task": "tabular-classification", "id": 1, "dep": [0], "args": {"array": "-0" }}, {"task": "text-to-speech", "id": 2, "dep": [1], "args": {"text": "-1" }}]