File size: 2,505 Bytes
d4fba4b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
  "schema_version": "2",
  "name": "Ask About an Image",
  "runtime": {"default": "client"},
  "references": [
    {
      "id": "ref-image",
      "role": "reference",
      "label": "Image",
      "asset_type": "image",
      "inputs": [{"id": "in", "label": "Image", "type": "image"}],
      "outputs": [{"id": "out", "label": "Image", "type": "image"}],
      "x": 80,
      "y": 100,
      "width": 220,
      "height": 220,
      "data": {"in": null, "out": null}
    },
    {
      "id": "ref-prompt",
      "role": "reference",
      "label": "Prompt",
      "asset_type": "text",
      "inputs": [{"id": "in", "label": "Prompt", "type": "text"}],
      "outputs": [{"id": "out", "label": "Prompt", "type": "text"}],
      "x": 80,
      "y": 360,
      "width": 220,
      "height": 160,
      "data": {"in": "What is happening in this image?", "out": "What is happening in this image?"}
    }
  ],
  "operators": [
    {
      "id": "op-vlm",
      "role": "operator",
      "kind": "model",
      "label": "Qwen3.8-27B",
      "model_id": "Qwen/Qwen3.8-27B",
      "endpoint": "chat_completion",
      "pipeline_tag": "image-text-to-text",
      "provider": "featherless-ai",
      "inputs": [
        {"id": "image", "label": "Image", "type": "image", "required": true},
        {"id": "text", "label": "Prompt", "type": "text", "required": true},
        {"id": "temperature", "label": "Temperature", "type": "number", "required": false, "custom": true}
      ],
      "outputs": [{"id": "out_0", "label": "Text", "type": "text", "output_index": 0}],
      "x": 380,
      "y": 180,
      "width": 260,
      "height": 220,
      "data": {"temperature": 0.7}
    }
  ],
  "subjects": [
    {
      "id": "subj-answer",
      "role": "subject",
      "label": "Answer",
      "asset_type": "text",
      "inputs": [{"id": "in", "label": "Text", "type": "text"}],
      "outputs": [{"id": "out", "label": "Text", "type": "text"}],
      "x": 720,
      "y": 200,
      "width": 320,
      "height": 200,
      "data": {"in": ""}
    }
  ],
  "edges": [
    {"id": "e1", "from_node_id": "ref-image", "from_port_id": "out", "to_node_id": "op-vlm", "to_port_id": "image", "type": "image"},
    {"id": "e2", "from_node_id": "ref-prompt", "from_port_id": "out", "to_node_id": "op-vlm", "to_port_id": "text", "type": "text"},
    {"id": "e3", "from_node_id": "op-vlm", "from_port_id": "out_0", "to_node_id": "subj-answer", "to_port_id": "in", "type": "text"}
  ],
  "view": {"default": "canvas"}
}