sensenova-loop-9b / workflow.json
akhaliq's picture
akhaliq HF Staff
Workflow canvas graph for sensenova_chat
f5d4951 verified
Raw History Blame Contribute Delete
2.71 kB
{
"schema_version": "2",
"name": "SenseNova-Loop-9B Workflow",
"references": [
{
"id": "ref_image",
"label": "Image (optional)",
"role": "reference",
"asset_type": "image",
"inputs": [{"id": "in", "label": "Image", "type": "image"}],
"outputs": [{"id": "out", "label": "Image", "type": "image"}],
"x": 40,
"y": 40,
"width": 220,
"height": 130,
"data": {}
},
{
"id": "ref_prompt",
"label": "Prompt",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 300,
"y": 40,
"width": 320,
"height": 150,
"data": {"out": "Describe this image in detail, then list three things that stand out."}
},
{
"id": "ref_seed",
"label": "Seed (0 = random)",
"role": "reference",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 300,
"y": 220,
"width": 160,
"height": 90,
"data": {"out": "0"}
}
],
"operators": [
{
"id": "op_chat",
"label": "SenseNova Chat",
"role": "operator",
"kind": "fn",
"fn": "sensenova_chat",
"inputs": [
{"id": "prompt", "label": "Prompt", "type": "text", "required": true},
{"id": "image", "label": "Image", "type": "image"},
{"id": "seed", "label": "Seed", "type": "text"}
],
"outputs": [{"id": "out_0", "label": "Reply", "type": "text", "output_index": 0}],
"x": 700,
"y": 90,
"width": 240,
"height": 150,
"data": {}
}
],
"subjects": [
{
"id": "sub_reply",
"label": "Reply",
"role": "subject",
"asset_type": "text",
"inputs": [{"id": "in", "label": "Text", "type": "text"}],
"outputs": [{"id": "out", "label": "Text", "type": "text"}],
"x": 1020,
"y": 90,
"width": 300,
"height": 150,
"data": {}
}
],
"edges": [
{"id": "e_prompt", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_chat", "to_port_id": "prompt", "type": "text"},
{"id": "e_image", "from_node_id": "ref_image", "from_port_id": "out", "to_node_id": "op_chat", "to_port_id": "image", "type": "image"},
{"id": "e_seed", "from_node_id": "ref_seed", "from_port_id": "out", "to_node_id": "op_chat", "to_port_id": "seed", "type": "text"},
{"id": "e_out", "from_node_id": "op_chat", "from_port_id": "out_0", "to_node_id": "sub_reply", "to_port_id": "in", "type": "text"}
]
}