com.suibari.nagi.searchChannels
Schema Diff
+15 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "com.suibari.nagi.searchChannels",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"channels",
11
11
"hasMore"
12
12
],
13
13
"properties": {
14
14
"cursor": {
15
15
"type": "string"
16
16
},
17
17
"hasMore": {
18
18
"type": "boolean"
19
19
},
20
20
"channels": {
21
21
"type": "array",
22
22
"items": {
23
23
"type": "unknown"
24
24
}
25
25
}
26
26
}
27
27
},
28
28
"encoding": "application/json"
29
29
},
30
30
"parameters": {
31
31
"type": "params",
32
32
"required": [
33
33
"q"
34
34
],
35
35
"properties": {
36
36
"q": {
37
37
"type": "string",
38
38
"maxLength": 200,
39
39
"description": "自由文キーワード。name+description を意味検索(埋め込み)+語彙一致で検索する。"
40
40
},
41
+
"mode": {
42
+
"type": "string",
43
+
"default": "hybrid",
44
+
"description": "exact=name+description の語彙一致のみ(活動順) / semantic=埋め込みの近傍のみ(語彙一致ヒットは除外・相対しきい値で足切り) / hybrid=両者を混ぜた従来の1本。typeahead=true のときは無視される。",
45
+
"knownValues": [
46
+
"exact",
47
+
"semantic",
48
+
"hybrid"
49
+
]
50
+
},
41
51
"limit": {
42
52
"type": "integer",
43
53
"default": 50,
44
54
"maximum": 100,
45
55
"minimum": 1
46
56
},
47
57
"cursor": {
48
58
"type": "string"
59
+
},
60
+
"typeahead": {
61
+
"type": "boolean",
62
+
"default": false,
63
+
"description": "true のとき、入力候補用に name だけを軽量な語彙一致で検索する。"
49
64
}
50
65
}
51
66
}
52
67
}
53
68
},
54
69
"$type": "com.atproto.lexicon.schema",
55
70
"lexicon": 1
56
71
}