@okf/ootils 1.32.7 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.mts +17 -1
- package/dist/browser.d.ts +17 -1
- package/dist/browser.js +9 -3
- package/dist/browser.mjs +9 -3
- package/dist/node.d.mts +17 -1
- package/dist/node.d.ts +17 -1
- package/dist/node.js +9 -3
- package/dist/node.mjs +9 -3
- package/dist/universal.d.mts +17 -1
- package/dist/universal.d.ts +17 -1
- package/dist/universal.js +9 -3
- package/dist/universal.mjs +9 -3
- package/package.json +1 -1
package/dist/browser.d.mts
CHANGED
|
@@ -1203,9 +1203,20 @@ declare const FILTER_IDS: {
|
|
|
1203
1203
|
* Replaces separate Themes, SubThemes, Tags filters with one consolidated hierarchy UI.
|
|
1204
1204
|
*
|
|
1205
1205
|
* Themes -> SubThemes -> Tags
|
|
1206
|
+
*
|
|
1207
|
+
* A hierarchy level may carry a `tabs` array, in which case AnnoHierarchyFilter
|
|
1208
|
+
* renders that level as multiple meta entries (one per tab), each scoping its
|
|
1209
|
+
* options by the tab's findQuery. Selected values still flow through the level's
|
|
1210
|
+
* single filterId. Currently used to split sub-themes into Thematics + Attributes
|
|
1211
|
+
* when EXPERIMENTAL_newTopicModelling is on.
|
|
1206
1212
|
*/
|
|
1207
|
-
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }: {
|
|
1213
|
+
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, attributeThematicTabs, }: {
|
|
1208
1214
|
annotationTagsCount: any;
|
|
1215
|
+
attributeThematicTabs?: Array<{
|
|
1216
|
+
key: string;
|
|
1217
|
+
display: string;
|
|
1218
|
+
findQuery: any;
|
|
1219
|
+
}>;
|
|
1209
1220
|
}) => {
|
|
1210
1221
|
target: {
|
|
1211
1222
|
filterType: string;
|
|
@@ -1227,6 +1238,11 @@ declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }:
|
|
|
1227
1238
|
};
|
|
1228
1239
|
folderSelectionMode: string;
|
|
1229
1240
|
hierarchyLevels: (false | {
|
|
1241
|
+
tabs?: {
|
|
1242
|
+
key: string;
|
|
1243
|
+
display: string;
|
|
1244
|
+
findQuery: any;
|
|
1245
|
+
}[] | undefined;
|
|
1230
1246
|
level: string;
|
|
1231
1247
|
filterId: string;
|
|
1232
1248
|
tagType: string;
|
package/dist/browser.d.ts
CHANGED
|
@@ -1203,9 +1203,20 @@ declare const FILTER_IDS: {
|
|
|
1203
1203
|
* Replaces separate Themes, SubThemes, Tags filters with one consolidated hierarchy UI.
|
|
1204
1204
|
*
|
|
1205
1205
|
* Themes -> SubThemes -> Tags
|
|
1206
|
+
*
|
|
1207
|
+
* A hierarchy level may carry a `tabs` array, in which case AnnoHierarchyFilter
|
|
1208
|
+
* renders that level as multiple meta entries (one per tab), each scoping its
|
|
1209
|
+
* options by the tab's findQuery. Selected values still flow through the level's
|
|
1210
|
+
* single filterId. Currently used to split sub-themes into Thematics + Attributes
|
|
1211
|
+
* when EXPERIMENTAL_newTopicModelling is on.
|
|
1206
1212
|
*/
|
|
1207
|
-
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }: {
|
|
1213
|
+
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, attributeThematicTabs, }: {
|
|
1208
1214
|
annotationTagsCount: any;
|
|
1215
|
+
attributeThematicTabs?: Array<{
|
|
1216
|
+
key: string;
|
|
1217
|
+
display: string;
|
|
1218
|
+
findQuery: any;
|
|
1219
|
+
}>;
|
|
1209
1220
|
}) => {
|
|
1210
1221
|
target: {
|
|
1211
1222
|
filterType: string;
|
|
@@ -1227,6 +1238,11 @@ declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }:
|
|
|
1227
1238
|
};
|
|
1228
1239
|
folderSelectionMode: string;
|
|
1229
1240
|
hierarchyLevels: (false | {
|
|
1241
|
+
tabs?: {
|
|
1242
|
+
key: string;
|
|
1243
|
+
display: string;
|
|
1244
|
+
findQuery: any;
|
|
1245
|
+
}[] | undefined;
|
|
1230
1246
|
level: string;
|
|
1231
1247
|
filterId: string;
|
|
1232
1248
|
tagType: string;
|
package/dist/browser.js
CHANGED
|
@@ -1012,7 +1012,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
1012
1012
|
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
1013
1013
|
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
1014
1014
|
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
1015
|
-
concurrency:
|
|
1015
|
+
concurrency: 15,
|
|
1016
1016
|
lockDuration: 3e5,
|
|
1017
1017
|
// 5 minutes lock duration since annotation can be slow
|
|
1018
1018
|
maxStalledCount: 3
|
|
@@ -2170,7 +2170,8 @@ var FILTER_IDS = {
|
|
|
2170
2170
|
tags: "anno_tags"
|
|
2171
2171
|
};
|
|
2172
2172
|
var _self_managed_buildAnnoHierarchyConfig = ({
|
|
2173
|
-
annotationTagsCount
|
|
2173
|
+
annotationTagsCount,
|
|
2174
|
+
attributeThematicTabs
|
|
2174
2175
|
}) => {
|
|
2175
2176
|
const hasThemes = annotationTagsCount?.themes > 0;
|
|
2176
2177
|
const hasSubThemes = annotationTagsCount?.subThemes > 0;
|
|
@@ -2180,7 +2181,12 @@ var _self_managed_buildAnnoHierarchyConfig = ({
|
|
|
2180
2181
|
}
|
|
2181
2182
|
const hierarchyLevels = [
|
|
2182
2183
|
hasThemes && { level: "themes", filterId: FILTER_IDS.themes, tagType: "themes" },
|
|
2183
|
-
hasSubThemes && {
|
|
2184
|
+
hasSubThemes && {
|
|
2185
|
+
level: "subThemes",
|
|
2186
|
+
filterId: FILTER_IDS.subThemes,
|
|
2187
|
+
tagType: "subThemes",
|
|
2188
|
+
...attributeThematicTabs ? { tabs: attributeThematicTabs } : {}
|
|
2189
|
+
},
|
|
2184
2190
|
hasTags && { level: "tags", filterId: FILTER_IDS.tags, tagType: "tags" }
|
|
2185
2191
|
].filter(Boolean);
|
|
2186
2192
|
return {
|
package/dist/browser.mjs
CHANGED
|
@@ -943,7 +943,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
943
943
|
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
944
944
|
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
945
945
|
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
946
|
-
concurrency:
|
|
946
|
+
concurrency: 15,
|
|
947
947
|
lockDuration: 3e5,
|
|
948
948
|
// 5 minutes lock duration since annotation can be slow
|
|
949
949
|
maxStalledCount: 3
|
|
@@ -2101,7 +2101,8 @@ var FILTER_IDS = {
|
|
|
2101
2101
|
tags: "anno_tags"
|
|
2102
2102
|
};
|
|
2103
2103
|
var _self_managed_buildAnnoHierarchyConfig = ({
|
|
2104
|
-
annotationTagsCount
|
|
2104
|
+
annotationTagsCount,
|
|
2105
|
+
attributeThematicTabs
|
|
2105
2106
|
}) => {
|
|
2106
2107
|
const hasThemes = annotationTagsCount?.themes > 0;
|
|
2107
2108
|
const hasSubThemes = annotationTagsCount?.subThemes > 0;
|
|
@@ -2111,7 +2112,12 @@ var _self_managed_buildAnnoHierarchyConfig = ({
|
|
|
2111
2112
|
}
|
|
2112
2113
|
const hierarchyLevels = [
|
|
2113
2114
|
hasThemes && { level: "themes", filterId: FILTER_IDS.themes, tagType: "themes" },
|
|
2114
|
-
hasSubThemes && {
|
|
2115
|
+
hasSubThemes && {
|
|
2116
|
+
level: "subThemes",
|
|
2117
|
+
filterId: FILTER_IDS.subThemes,
|
|
2118
|
+
tagType: "subThemes",
|
|
2119
|
+
...attributeThematicTabs ? { tabs: attributeThematicTabs } : {}
|
|
2120
|
+
},
|
|
2115
2121
|
hasTags && { level: "tags", filterId: FILTER_IDS.tags, tagType: "tags" }
|
|
2116
2122
|
].filter(Boolean);
|
|
2117
2123
|
return {
|
package/dist/node.d.mts
CHANGED
|
@@ -1210,9 +1210,20 @@ declare const FILTER_IDS: {
|
|
|
1210
1210
|
* Replaces separate Themes, SubThemes, Tags filters with one consolidated hierarchy UI.
|
|
1211
1211
|
*
|
|
1212
1212
|
* Themes -> SubThemes -> Tags
|
|
1213
|
+
*
|
|
1214
|
+
* A hierarchy level may carry a `tabs` array, in which case AnnoHierarchyFilter
|
|
1215
|
+
* renders that level as multiple meta entries (one per tab), each scoping its
|
|
1216
|
+
* options by the tab's findQuery. Selected values still flow through the level's
|
|
1217
|
+
* single filterId. Currently used to split sub-themes into Thematics + Attributes
|
|
1218
|
+
* when EXPERIMENTAL_newTopicModelling is on.
|
|
1213
1219
|
*/
|
|
1214
|
-
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }: {
|
|
1220
|
+
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, attributeThematicTabs, }: {
|
|
1215
1221
|
annotationTagsCount: any;
|
|
1222
|
+
attributeThematicTabs?: Array<{
|
|
1223
|
+
key: string;
|
|
1224
|
+
display: string;
|
|
1225
|
+
findQuery: any;
|
|
1226
|
+
}>;
|
|
1216
1227
|
}) => {
|
|
1217
1228
|
target: {
|
|
1218
1229
|
filterType: string;
|
|
@@ -1234,6 +1245,11 @@ declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }:
|
|
|
1234
1245
|
};
|
|
1235
1246
|
folderSelectionMode: string;
|
|
1236
1247
|
hierarchyLevels: (false | {
|
|
1248
|
+
tabs?: {
|
|
1249
|
+
key: string;
|
|
1250
|
+
display: string;
|
|
1251
|
+
findQuery: any;
|
|
1252
|
+
}[] | undefined;
|
|
1237
1253
|
level: string;
|
|
1238
1254
|
filterId: string;
|
|
1239
1255
|
tagType: string;
|
package/dist/node.d.ts
CHANGED
|
@@ -1210,9 +1210,20 @@ declare const FILTER_IDS: {
|
|
|
1210
1210
|
* Replaces separate Themes, SubThemes, Tags filters with one consolidated hierarchy UI.
|
|
1211
1211
|
*
|
|
1212
1212
|
* Themes -> SubThemes -> Tags
|
|
1213
|
+
*
|
|
1214
|
+
* A hierarchy level may carry a `tabs` array, in which case AnnoHierarchyFilter
|
|
1215
|
+
* renders that level as multiple meta entries (one per tab), each scoping its
|
|
1216
|
+
* options by the tab's findQuery. Selected values still flow through the level's
|
|
1217
|
+
* single filterId. Currently used to split sub-themes into Thematics + Attributes
|
|
1218
|
+
* when EXPERIMENTAL_newTopicModelling is on.
|
|
1213
1219
|
*/
|
|
1214
|
-
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }: {
|
|
1220
|
+
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, attributeThematicTabs, }: {
|
|
1215
1221
|
annotationTagsCount: any;
|
|
1222
|
+
attributeThematicTabs?: Array<{
|
|
1223
|
+
key: string;
|
|
1224
|
+
display: string;
|
|
1225
|
+
findQuery: any;
|
|
1226
|
+
}>;
|
|
1216
1227
|
}) => {
|
|
1217
1228
|
target: {
|
|
1218
1229
|
filterType: string;
|
|
@@ -1234,6 +1245,11 @@ declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }:
|
|
|
1234
1245
|
};
|
|
1235
1246
|
folderSelectionMode: string;
|
|
1236
1247
|
hierarchyLevels: (false | {
|
|
1248
|
+
tabs?: {
|
|
1249
|
+
key: string;
|
|
1250
|
+
display: string;
|
|
1251
|
+
findQuery: any;
|
|
1252
|
+
}[] | undefined;
|
|
1237
1253
|
level: string;
|
|
1238
1254
|
filterId: string;
|
|
1239
1255
|
tagType: string;
|
package/dist/node.js
CHANGED
|
@@ -269,7 +269,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
269
269
|
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
270
270
|
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
271
271
|
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
272
|
-
concurrency:
|
|
272
|
+
concurrency: 15,
|
|
273
273
|
lockDuration: 3e5,
|
|
274
274
|
// 5 minutes lock duration since annotation can be slow
|
|
275
275
|
maxStalledCount: 3
|
|
@@ -3768,7 +3768,8 @@ var FILTER_IDS = {
|
|
|
3768
3768
|
tags: "anno_tags"
|
|
3769
3769
|
};
|
|
3770
3770
|
var _self_managed_buildAnnoHierarchyConfig = ({
|
|
3771
|
-
annotationTagsCount
|
|
3771
|
+
annotationTagsCount,
|
|
3772
|
+
attributeThematicTabs
|
|
3772
3773
|
}) => {
|
|
3773
3774
|
const hasThemes = annotationTagsCount?.themes > 0;
|
|
3774
3775
|
const hasSubThemes = annotationTagsCount?.subThemes > 0;
|
|
@@ -3778,7 +3779,12 @@ var _self_managed_buildAnnoHierarchyConfig = ({
|
|
|
3778
3779
|
}
|
|
3779
3780
|
const hierarchyLevels = [
|
|
3780
3781
|
hasThemes && { level: "themes", filterId: FILTER_IDS.themes, tagType: "themes" },
|
|
3781
|
-
hasSubThemes && {
|
|
3782
|
+
hasSubThemes && {
|
|
3783
|
+
level: "subThemes",
|
|
3784
|
+
filterId: FILTER_IDS.subThemes,
|
|
3785
|
+
tagType: "subThemes",
|
|
3786
|
+
...attributeThematicTabs ? { tabs: attributeThematicTabs } : {}
|
|
3787
|
+
},
|
|
3782
3788
|
hasTags && { level: "tags", filterId: FILTER_IDS.tags, tagType: "tags" }
|
|
3783
3789
|
].filter(Boolean);
|
|
3784
3790
|
return {
|
package/dist/node.mjs
CHANGED
|
@@ -274,7 +274,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
274
274
|
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
275
275
|
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
276
276
|
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
277
|
-
concurrency:
|
|
277
|
+
concurrency: 15,
|
|
278
278
|
lockDuration: 3e5,
|
|
279
279
|
// 5 minutes lock duration since annotation can be slow
|
|
280
280
|
maxStalledCount: 3
|
|
@@ -3698,7 +3698,8 @@ var FILTER_IDS = {
|
|
|
3698
3698
|
tags: "anno_tags"
|
|
3699
3699
|
};
|
|
3700
3700
|
var _self_managed_buildAnnoHierarchyConfig = ({
|
|
3701
|
-
annotationTagsCount
|
|
3701
|
+
annotationTagsCount,
|
|
3702
|
+
attributeThematicTabs
|
|
3702
3703
|
}) => {
|
|
3703
3704
|
const hasThemes = annotationTagsCount?.themes > 0;
|
|
3704
3705
|
const hasSubThemes = annotationTagsCount?.subThemes > 0;
|
|
@@ -3708,7 +3709,12 @@ var _self_managed_buildAnnoHierarchyConfig = ({
|
|
|
3708
3709
|
}
|
|
3709
3710
|
const hierarchyLevels = [
|
|
3710
3711
|
hasThemes && { level: "themes", filterId: FILTER_IDS.themes, tagType: "themes" },
|
|
3711
|
-
hasSubThemes && {
|
|
3712
|
+
hasSubThemes && {
|
|
3713
|
+
level: "subThemes",
|
|
3714
|
+
filterId: FILTER_IDS.subThemes,
|
|
3715
|
+
tagType: "subThemes",
|
|
3716
|
+
...attributeThematicTabs ? { tabs: attributeThematicTabs } : {}
|
|
3717
|
+
},
|
|
3712
3718
|
hasTags && { level: "tags", filterId: FILTER_IDS.tags, tagType: "tags" }
|
|
3713
3719
|
].filter(Boolean);
|
|
3714
3720
|
return {
|
package/dist/universal.d.mts
CHANGED
|
@@ -1203,9 +1203,20 @@ declare const FILTER_IDS: {
|
|
|
1203
1203
|
* Replaces separate Themes, SubThemes, Tags filters with one consolidated hierarchy UI.
|
|
1204
1204
|
*
|
|
1205
1205
|
* Themes -> SubThemes -> Tags
|
|
1206
|
+
*
|
|
1207
|
+
* A hierarchy level may carry a `tabs` array, in which case AnnoHierarchyFilter
|
|
1208
|
+
* renders that level as multiple meta entries (one per tab), each scoping its
|
|
1209
|
+
* options by the tab's findQuery. Selected values still flow through the level's
|
|
1210
|
+
* single filterId. Currently used to split sub-themes into Thematics + Attributes
|
|
1211
|
+
* when EXPERIMENTAL_newTopicModelling is on.
|
|
1206
1212
|
*/
|
|
1207
|
-
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }: {
|
|
1213
|
+
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, attributeThematicTabs, }: {
|
|
1208
1214
|
annotationTagsCount: any;
|
|
1215
|
+
attributeThematicTabs?: Array<{
|
|
1216
|
+
key: string;
|
|
1217
|
+
display: string;
|
|
1218
|
+
findQuery: any;
|
|
1219
|
+
}>;
|
|
1209
1220
|
}) => {
|
|
1210
1221
|
target: {
|
|
1211
1222
|
filterType: string;
|
|
@@ -1227,6 +1238,11 @@ declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }:
|
|
|
1227
1238
|
};
|
|
1228
1239
|
folderSelectionMode: string;
|
|
1229
1240
|
hierarchyLevels: (false | {
|
|
1241
|
+
tabs?: {
|
|
1242
|
+
key: string;
|
|
1243
|
+
display: string;
|
|
1244
|
+
findQuery: any;
|
|
1245
|
+
}[] | undefined;
|
|
1230
1246
|
level: string;
|
|
1231
1247
|
filterId: string;
|
|
1232
1248
|
tagType: string;
|
package/dist/universal.d.ts
CHANGED
|
@@ -1203,9 +1203,20 @@ declare const FILTER_IDS: {
|
|
|
1203
1203
|
* Replaces separate Themes, SubThemes, Tags filters with one consolidated hierarchy UI.
|
|
1204
1204
|
*
|
|
1205
1205
|
* Themes -> SubThemes -> Tags
|
|
1206
|
+
*
|
|
1207
|
+
* A hierarchy level may carry a `tabs` array, in which case AnnoHierarchyFilter
|
|
1208
|
+
* renders that level as multiple meta entries (one per tab), each scoping its
|
|
1209
|
+
* options by the tab's findQuery. Selected values still flow through the level's
|
|
1210
|
+
* single filterId. Currently used to split sub-themes into Thematics + Attributes
|
|
1211
|
+
* when EXPERIMENTAL_newTopicModelling is on.
|
|
1206
1212
|
*/
|
|
1207
|
-
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }: {
|
|
1213
|
+
declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, attributeThematicTabs, }: {
|
|
1208
1214
|
annotationTagsCount: any;
|
|
1215
|
+
attributeThematicTabs?: Array<{
|
|
1216
|
+
key: string;
|
|
1217
|
+
display: string;
|
|
1218
|
+
findQuery: any;
|
|
1219
|
+
}>;
|
|
1209
1220
|
}) => {
|
|
1210
1221
|
target: {
|
|
1211
1222
|
filterType: string;
|
|
@@ -1227,6 +1238,11 @@ declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, }:
|
|
|
1227
1238
|
};
|
|
1228
1239
|
folderSelectionMode: string;
|
|
1229
1240
|
hierarchyLevels: (false | {
|
|
1241
|
+
tabs?: {
|
|
1242
|
+
key: string;
|
|
1243
|
+
display: string;
|
|
1244
|
+
findQuery: any;
|
|
1245
|
+
}[] | undefined;
|
|
1230
1246
|
level: string;
|
|
1231
1247
|
filterId: string;
|
|
1232
1248
|
tagType: string;
|
package/dist/universal.js
CHANGED
|
@@ -1012,7 +1012,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
1012
1012
|
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
1013
1013
|
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
1014
1014
|
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
1015
|
-
concurrency:
|
|
1015
|
+
concurrency: 15,
|
|
1016
1016
|
lockDuration: 3e5,
|
|
1017
1017
|
// 5 minutes lock duration since annotation can be slow
|
|
1018
1018
|
maxStalledCount: 3
|
|
@@ -2170,7 +2170,8 @@ var FILTER_IDS = {
|
|
|
2170
2170
|
tags: "anno_tags"
|
|
2171
2171
|
};
|
|
2172
2172
|
var _self_managed_buildAnnoHierarchyConfig = ({
|
|
2173
|
-
annotationTagsCount
|
|
2173
|
+
annotationTagsCount,
|
|
2174
|
+
attributeThematicTabs
|
|
2174
2175
|
}) => {
|
|
2175
2176
|
const hasThemes = annotationTagsCount?.themes > 0;
|
|
2176
2177
|
const hasSubThemes = annotationTagsCount?.subThemes > 0;
|
|
@@ -2180,7 +2181,12 @@ var _self_managed_buildAnnoHierarchyConfig = ({
|
|
|
2180
2181
|
}
|
|
2181
2182
|
const hierarchyLevels = [
|
|
2182
2183
|
hasThemes && { level: "themes", filterId: FILTER_IDS.themes, tagType: "themes" },
|
|
2183
|
-
hasSubThemes && {
|
|
2184
|
+
hasSubThemes && {
|
|
2185
|
+
level: "subThemes",
|
|
2186
|
+
filterId: FILTER_IDS.subThemes,
|
|
2187
|
+
tagType: "subThemes",
|
|
2188
|
+
...attributeThematicTabs ? { tabs: attributeThematicTabs } : {}
|
|
2189
|
+
},
|
|
2184
2190
|
hasTags && { level: "tags", filterId: FILTER_IDS.tags, tagType: "tags" }
|
|
2185
2191
|
].filter(Boolean);
|
|
2186
2192
|
return {
|
package/dist/universal.mjs
CHANGED
|
@@ -943,7 +943,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
943
943
|
// index and re-fetch the existing doc, so concurrent jobs proposing the
|
|
944
944
|
// same tag converge to one. See ai/dualAgentAnnotation/tools/createTaxonomyItem.js.
|
|
945
945
|
// Starting at 10; real ceiling is the LLM provider's rate limit.
|
|
946
|
-
concurrency:
|
|
946
|
+
concurrency: 15,
|
|
947
947
|
lockDuration: 3e5,
|
|
948
948
|
// 5 minutes lock duration since annotation can be slow
|
|
949
949
|
maxStalledCount: 3
|
|
@@ -2101,7 +2101,8 @@ var FILTER_IDS = {
|
|
|
2101
2101
|
tags: "anno_tags"
|
|
2102
2102
|
};
|
|
2103
2103
|
var _self_managed_buildAnnoHierarchyConfig = ({
|
|
2104
|
-
annotationTagsCount
|
|
2104
|
+
annotationTagsCount,
|
|
2105
|
+
attributeThematicTabs
|
|
2105
2106
|
}) => {
|
|
2106
2107
|
const hasThemes = annotationTagsCount?.themes > 0;
|
|
2107
2108
|
const hasSubThemes = annotationTagsCount?.subThemes > 0;
|
|
@@ -2111,7 +2112,12 @@ var _self_managed_buildAnnoHierarchyConfig = ({
|
|
|
2111
2112
|
}
|
|
2112
2113
|
const hierarchyLevels = [
|
|
2113
2114
|
hasThemes && { level: "themes", filterId: FILTER_IDS.themes, tagType: "themes" },
|
|
2114
|
-
hasSubThemes && {
|
|
2115
|
+
hasSubThemes && {
|
|
2116
|
+
level: "subThemes",
|
|
2117
|
+
filterId: FILTER_IDS.subThemes,
|
|
2118
|
+
tagType: "subThemes",
|
|
2119
|
+
...attributeThematicTabs ? { tabs: attributeThematicTabs } : {}
|
|
2120
|
+
},
|
|
2115
2121
|
hasTags && { level: "tags", filterId: FILTER_IDS.tags, tagType: "tags" }
|
|
2116
2122
|
].filter(Boolean);
|
|
2117
2123
|
return {
|