com.suibari.nagi.searchNews
Schema Diff
+10 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "com.suibari.nagi.searchNews",
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
"items",
11
11
"hasMore"
12
12
],
13
13
"properties": {
14
14
"items": {
15
15
"type": "array",
16
16
"items": {
17
17
"type": "unknown"
18
18
}
19
19
},
20
20
"cursor": {
21
21
"type": "string"
22
22
},
23
23
"hasMore": {
24
24
"type": "boolean"
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": "自由文キーワード。承認済みニュースの見出しを意味検索(埋め込み)+語彙一致で検索する。"
40
40
},
41
41
"lang": {
42
42
"type": "string",
43
43
"default": "ja",
44
44
"knownValues": [
45
45
"ja",
46
46
"en"
47
47
]
48
48
},
49
+
"mode": {
50
+
"type": "string",
51
+
"default": "hybrid",
52
+
"description": "exact=見出しの語彙一致のみ(新着順) / semantic=埋め込みの近傍のみ(語彙一致ヒットは除外・相対しきい値で足切り) / hybrid=両者を混ぜた従来の1本。",
53
+
"knownValues": [
54
+
"exact",
55
+
"semantic",
56
+
"hybrid"
57
+
]
58
+
},
49
59
"limit": {
50
60
"type": "integer",
51
61
"default": 20,
52
62
"maximum": 100,
53
63
"minimum": 1
54
64
},
55
65
"cursor": {
56
66
"type": "string"
57
67
}
58
68
}
59
69
}
60
70
}
61
71
},
62
72
"$type": "com.atproto.lexicon.schema",
63
73
"lexicon": 1
64
74
}