Bin
2025-12-16 971a2a12c03b74dd2d7d668b9dbc599f5131bcaf
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
<View>
  <Image name="query" value="$query_image" />
  <Header value="Choose similar images:" />
  <View style="display: grid; column-gap: 8px; grid-template: auto/1fr 1fr 1fr">
    <Image name="image1" value="$image1" />
    <Image name="image2" value="$image2" />
    <Image name="image3" value="$image3" />
  </View>
  <Choices name="similar" toName="query" required="true" choice="multiple">
    <Choice value="One" />
    <Choice value="Two" />
    <Choice value="Three" />
  </Choices>
  <Style>
    [dataneedsupdate]~div form {display: flex}
    [dataneedsupdate]~div form>* {flex-grow:1;margin-left:8px}
  </Style>
</View>
 
<!-- {"data": {
    "query_image": "/static/samples/sample.jpg",
    "image1": "/static/samples/sample.jpg",
    "image2": "/static/samples/sample.jpg",
    "image3": "/static/samples/sample.jpg"
},
"annotations": [{"result":
[
    {
        "value": {
            "choices": [
                "Two"
            ]
        },
        "id": "5MQmDIhX6-",
        "from_name": "similar",
        "to_name": "query",
        "type": "choices"
    }
]
}]}
-->