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