@okf/ootils 1.39.1 → 1.39.2

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/node.d.mts CHANGED
@@ -493,7 +493,7 @@ declare namespace BASE_BULLMQ_CONFIG {
493
493
  }
494
494
  export { workerConfig_4 as workerConfig };
495
495
  }
496
- namespace AI_CATEGORIZE_QUEUE {
496
+ namespace AI_AUTO_ANNOTATE_QUEUE {
497
497
  let id_5: string;
498
498
  export { id_5 as id };
499
499
  export namespace queueConfig_5 {
@@ -530,17 +530,10 @@ declare namespace BASE_BULLMQ_CONFIG {
530
530
  export { lockDuration_5 as lockDuration };
531
531
  let maxStalledCount_5: number;
532
532
  export { maxStalledCount_5 as maxStalledCount };
533
- export namespace limiter_2 {
534
- let max_2: number;
535
- export { max_2 as max };
536
- let duration_2: number;
537
- export { duration_2 as duration };
538
- }
539
- export { limiter_2 as limiter };
540
533
  }
541
534
  export { workerConfig_5 as workerConfig };
542
535
  }
543
- namespace SENTIMENT_AND_NER_QUEUE {
536
+ namespace AI_AUTO_ANNOTATE_CHUNK_QUEUE {
544
537
  let id_6: string;
545
538
  export { id_6 as id };
546
539
  export namespace queueConfig_6 {
@@ -577,17 +570,10 @@ declare namespace BASE_BULLMQ_CONFIG {
577
570
  export { lockDuration_6 as lockDuration };
578
571
  let maxStalledCount_6: number;
579
572
  export { maxStalledCount_6 as maxStalledCount };
580
- export namespace limiter_3 {
581
- let max_3: number;
582
- export { max_3 as max };
583
- let duration_3: number;
584
- export { duration_3 as duration };
585
- }
586
- export { limiter_3 as limiter };
587
573
  }
588
574
  export { workerConfig_6 as workerConfig };
589
575
  }
590
- namespace AI_AUTO_ANNOTATE_QUEUE {
576
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
591
577
  let id_7: string;
592
578
  export { id_7 as id };
593
579
  export namespace queueConfig_7 {
@@ -627,7 +613,7 @@ declare namespace BASE_BULLMQ_CONFIG {
627
613
  }
628
614
  export { workerConfig_7 as workerConfig };
629
615
  }
630
- namespace AI_AUTO_ANNOTATE_CHUNK_QUEUE {
616
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
631
617
  let id_8: string;
632
618
  export { id_8 as id };
633
619
  export namespace queueConfig_8 {
@@ -667,7 +653,7 @@ declare namespace BASE_BULLMQ_CONFIG {
667
653
  }
668
654
  export { workerConfig_8 as workerConfig };
669
655
  }
670
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
656
+ namespace USERS_ELASTIC_SYNC_QUEUE {
671
657
  let id_9: string;
672
658
  export { id_9 as id };
673
659
  export namespace queueConfig_9 {
@@ -707,7 +693,7 @@ declare namespace BASE_BULLMQ_CONFIG {
707
693
  }
708
694
  export { workerConfig_9 as workerConfig };
709
695
  }
710
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
696
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
711
697
  let id_10: string;
712
698
  export { id_10 as id };
713
699
  export namespace queueConfig_10 {
@@ -747,7 +733,7 @@ declare namespace BASE_BULLMQ_CONFIG {
747
733
  }
748
734
  export { workerConfig_10 as workerConfig };
749
735
  }
750
- namespace USERS_ELASTIC_SYNC_QUEUE {
736
+ namespace SARVAM_TRANSCRIPTION_QUEUE {
751
737
  let id_11: string;
752
738
  export { id_11 as id };
753
739
  export namespace queueConfig_11 {
@@ -787,7 +773,7 @@ declare namespace BASE_BULLMQ_CONFIG {
787
773
  }
788
774
  export { workerConfig_11 as workerConfig };
789
775
  }
790
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
776
+ namespace INTERCOM_CONVERSATIONS_QUEUE {
791
777
  let id_12: string;
792
778
  export { id_12 as id };
793
779
  export namespace queueConfig_12 {
@@ -827,7 +813,7 @@ declare namespace BASE_BULLMQ_CONFIG {
827
813
  }
828
814
  export { workerConfig_12 as workerConfig };
829
815
  }
830
- namespace SARVAM_TRANSCRIPTION_QUEUE {
816
+ namespace TAG_SYNC_PLAN_QUEUE {
831
817
  let id_13: string;
832
818
  export { id_13 as id };
833
819
  export namespace queueConfig_13 {
@@ -867,7 +853,7 @@ declare namespace BASE_BULLMQ_CONFIG {
867
853
  }
868
854
  export { workerConfig_13 as workerConfig };
869
855
  }
870
- namespace INTERCOM_CONVERSATIONS_QUEUE {
856
+ namespace TAG_SYNC_BATCH_QUEUE {
871
857
  let id_14: string;
872
858
  export { id_14 as id };
873
859
  export namespace queueConfig_14 {
@@ -907,13 +893,11 @@ declare namespace BASE_BULLMQ_CONFIG {
907
893
  }
908
894
  export { workerConfig_14 as workerConfig };
909
895
  }
910
- namespace TAG_SYNC_PLAN_QUEUE {
896
+ namespace SCHEDULED_EXTERNAL_SYNC_QUEUE {
911
897
  let id_15: string;
912
898
  export { id_15 as id };
913
899
  export namespace queueConfig_15 {
914
900
  export namespace defaultJobOptions_15 {
915
- let attempts_15: number;
916
- export { attempts_15 as attempts };
917
901
  export namespace backoff_15 {
918
902
  let type_15: string;
919
903
  export { type_15 as type };
@@ -921,6 +905,8 @@ declare namespace BASE_BULLMQ_CONFIG {
921
905
  export { delay_15 as delay };
922
906
  }
923
907
  export { backoff_15 as backoff };
908
+ let attempts_15: number;
909
+ export { attempts_15 as attempts };
924
910
  let removeOnComplete_15: number;
925
911
  export { removeOnComplete_15 as removeOnComplete };
926
912
  let removeOnFail_15: number;
@@ -947,7 +933,7 @@ declare namespace BASE_BULLMQ_CONFIG {
947
933
  }
948
934
  export { workerConfig_15 as workerConfig };
949
935
  }
950
- namespace TAG_SYNC_BATCH_QUEUE {
936
+ namespace REINDEX_QUEUE {
951
937
  let id_16: string;
952
938
  export { id_16 as id };
953
939
  export namespace queueConfig_16 {
@@ -961,6 +947,8 @@ declare namespace BASE_BULLMQ_CONFIG {
961
947
  export { delay_16 as delay };
962
948
  }
963
949
  export { backoff_16 as backoff };
950
+ let delay_17: number;
951
+ export { delay_17 as delay };
964
952
  let removeOnComplete_16: number;
965
953
  export { removeOnComplete_16 as removeOnComplete };
966
954
  let removeOnFail_16: number;
@@ -987,88 +975,6 @@ declare namespace BASE_BULLMQ_CONFIG {
987
975
  }
988
976
  export { workerConfig_16 as workerConfig };
989
977
  }
990
- namespace SCHEDULED_EXTERNAL_SYNC_QUEUE {
991
- let id_17: string;
992
- export { id_17 as id };
993
- export namespace queueConfig_17 {
994
- export namespace defaultJobOptions_17 {
995
- export namespace backoff_17 {
996
- let type_17: string;
997
- export { type_17 as type };
998
- let delay_17: number;
999
- export { delay_17 as delay };
1000
- }
1001
- export { backoff_17 as backoff };
1002
- let attempts_17: number;
1003
- export { attempts_17 as attempts };
1004
- let removeOnComplete_17: number;
1005
- export { removeOnComplete_17 as removeOnComplete };
1006
- let removeOnFail_17: number;
1007
- export { removeOnFail_17 as removeOnFail };
1008
- }
1009
- export { defaultJobOptions_17 as defaultJobOptions };
1010
- export namespace streams_17 {
1011
- export namespace events_17 {
1012
- let maxLen_17: number;
1013
- export { maxLen_17 as maxLen };
1014
- }
1015
- export { events_17 as events };
1016
- }
1017
- export { streams_17 as streams };
1018
- }
1019
- export { queueConfig_17 as queueConfig };
1020
- export namespace workerConfig_17 {
1021
- let concurrency_17: number;
1022
- export { concurrency_17 as concurrency };
1023
- let lockDuration_17: number;
1024
- export { lockDuration_17 as lockDuration };
1025
- let maxStalledCount_17: number;
1026
- export { maxStalledCount_17 as maxStalledCount };
1027
- }
1028
- export { workerConfig_17 as workerConfig };
1029
- }
1030
- namespace REINDEX_QUEUE {
1031
- let id_18: string;
1032
- export { id_18 as id };
1033
- export namespace queueConfig_18 {
1034
- export namespace defaultJobOptions_18 {
1035
- let attempts_18: number;
1036
- export { attempts_18 as attempts };
1037
- export namespace backoff_18 {
1038
- let type_18: string;
1039
- export { type_18 as type };
1040
- let delay_18: number;
1041
- export { delay_18 as delay };
1042
- }
1043
- export { backoff_18 as backoff };
1044
- let delay_19: number;
1045
- export { delay_19 as delay };
1046
- let removeOnComplete_18: number;
1047
- export { removeOnComplete_18 as removeOnComplete };
1048
- let removeOnFail_18: number;
1049
- export { removeOnFail_18 as removeOnFail };
1050
- }
1051
- export { defaultJobOptions_18 as defaultJobOptions };
1052
- export namespace streams_18 {
1053
- export namespace events_18 {
1054
- let maxLen_18: number;
1055
- export { maxLen_18 as maxLen };
1056
- }
1057
- export { events_18 as events };
1058
- }
1059
- export { streams_18 as streams };
1060
- }
1061
- export { queueConfig_18 as queueConfig };
1062
- export namespace workerConfig_18 {
1063
- let concurrency_18: number;
1064
- export { concurrency_18 as concurrency };
1065
- let lockDuration_18: number;
1066
- export { lockDuration_18 as lockDuration };
1067
- let maxStalledCount_18: number;
1068
- export { maxStalledCount_18 as maxStalledCount };
1069
- }
1070
- export { workerConfig_18 as workerConfig };
1071
- }
1072
978
  }
1073
979
 
1074
980
  interface PlatformContextContentItem {
@@ -1363,7 +1269,7 @@ declare const FILTER_IDS: {
1363
1269
  * renders that level as multiple meta entries (one per tab), each scoping its
1364
1270
  * options by the tab's findQuery. Selected values still flow through the level's
1365
1271
  * single filterId. Currently used to split sub-themes into Thematics + Attributes
1366
- * when EXPERIMENTAL_newTopicModelling is on.
1272
+ * when aiAnnotation.newTopicModelling is on.
1367
1273
  */
1368
1274
  declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, attributeThematicTabs, }: {
1369
1275
  annotationTagsCount: any;
package/dist/node.d.ts CHANGED
@@ -493,7 +493,7 @@ declare namespace BASE_BULLMQ_CONFIG {
493
493
  }
494
494
  export { workerConfig_4 as workerConfig };
495
495
  }
496
- namespace AI_CATEGORIZE_QUEUE {
496
+ namespace AI_AUTO_ANNOTATE_QUEUE {
497
497
  let id_5: string;
498
498
  export { id_5 as id };
499
499
  export namespace queueConfig_5 {
@@ -530,17 +530,10 @@ declare namespace BASE_BULLMQ_CONFIG {
530
530
  export { lockDuration_5 as lockDuration };
531
531
  let maxStalledCount_5: number;
532
532
  export { maxStalledCount_5 as maxStalledCount };
533
- export namespace limiter_2 {
534
- let max_2: number;
535
- export { max_2 as max };
536
- let duration_2: number;
537
- export { duration_2 as duration };
538
- }
539
- export { limiter_2 as limiter };
540
533
  }
541
534
  export { workerConfig_5 as workerConfig };
542
535
  }
543
- namespace SENTIMENT_AND_NER_QUEUE {
536
+ namespace AI_AUTO_ANNOTATE_CHUNK_QUEUE {
544
537
  let id_6: string;
545
538
  export { id_6 as id };
546
539
  export namespace queueConfig_6 {
@@ -577,17 +570,10 @@ declare namespace BASE_BULLMQ_CONFIG {
577
570
  export { lockDuration_6 as lockDuration };
578
571
  let maxStalledCount_6: number;
579
572
  export { maxStalledCount_6 as maxStalledCount };
580
- export namespace limiter_3 {
581
- let max_3: number;
582
- export { max_3 as max };
583
- let duration_3: number;
584
- export { duration_3 as duration };
585
- }
586
- export { limiter_3 as limiter };
587
573
  }
588
574
  export { workerConfig_6 as workerConfig };
589
575
  }
590
- namespace AI_AUTO_ANNOTATE_QUEUE {
576
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
591
577
  let id_7: string;
592
578
  export { id_7 as id };
593
579
  export namespace queueConfig_7 {
@@ -627,7 +613,7 @@ declare namespace BASE_BULLMQ_CONFIG {
627
613
  }
628
614
  export { workerConfig_7 as workerConfig };
629
615
  }
630
- namespace AI_AUTO_ANNOTATE_CHUNK_QUEUE {
616
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
631
617
  let id_8: string;
632
618
  export { id_8 as id };
633
619
  export namespace queueConfig_8 {
@@ -667,7 +653,7 @@ declare namespace BASE_BULLMQ_CONFIG {
667
653
  }
668
654
  export { workerConfig_8 as workerConfig };
669
655
  }
670
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
656
+ namespace USERS_ELASTIC_SYNC_QUEUE {
671
657
  let id_9: string;
672
658
  export { id_9 as id };
673
659
  export namespace queueConfig_9 {
@@ -707,7 +693,7 @@ declare namespace BASE_BULLMQ_CONFIG {
707
693
  }
708
694
  export { workerConfig_9 as workerConfig };
709
695
  }
710
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
696
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
711
697
  let id_10: string;
712
698
  export { id_10 as id };
713
699
  export namespace queueConfig_10 {
@@ -747,7 +733,7 @@ declare namespace BASE_BULLMQ_CONFIG {
747
733
  }
748
734
  export { workerConfig_10 as workerConfig };
749
735
  }
750
- namespace USERS_ELASTIC_SYNC_QUEUE {
736
+ namespace SARVAM_TRANSCRIPTION_QUEUE {
751
737
  let id_11: string;
752
738
  export { id_11 as id };
753
739
  export namespace queueConfig_11 {
@@ -787,7 +773,7 @@ declare namespace BASE_BULLMQ_CONFIG {
787
773
  }
788
774
  export { workerConfig_11 as workerConfig };
789
775
  }
790
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
776
+ namespace INTERCOM_CONVERSATIONS_QUEUE {
791
777
  let id_12: string;
792
778
  export { id_12 as id };
793
779
  export namespace queueConfig_12 {
@@ -827,7 +813,7 @@ declare namespace BASE_BULLMQ_CONFIG {
827
813
  }
828
814
  export { workerConfig_12 as workerConfig };
829
815
  }
830
- namespace SARVAM_TRANSCRIPTION_QUEUE {
816
+ namespace TAG_SYNC_PLAN_QUEUE {
831
817
  let id_13: string;
832
818
  export { id_13 as id };
833
819
  export namespace queueConfig_13 {
@@ -867,7 +853,7 @@ declare namespace BASE_BULLMQ_CONFIG {
867
853
  }
868
854
  export { workerConfig_13 as workerConfig };
869
855
  }
870
- namespace INTERCOM_CONVERSATIONS_QUEUE {
856
+ namespace TAG_SYNC_BATCH_QUEUE {
871
857
  let id_14: string;
872
858
  export { id_14 as id };
873
859
  export namespace queueConfig_14 {
@@ -907,13 +893,11 @@ declare namespace BASE_BULLMQ_CONFIG {
907
893
  }
908
894
  export { workerConfig_14 as workerConfig };
909
895
  }
910
- namespace TAG_SYNC_PLAN_QUEUE {
896
+ namespace SCHEDULED_EXTERNAL_SYNC_QUEUE {
911
897
  let id_15: string;
912
898
  export { id_15 as id };
913
899
  export namespace queueConfig_15 {
914
900
  export namespace defaultJobOptions_15 {
915
- let attempts_15: number;
916
- export { attempts_15 as attempts };
917
901
  export namespace backoff_15 {
918
902
  let type_15: string;
919
903
  export { type_15 as type };
@@ -921,6 +905,8 @@ declare namespace BASE_BULLMQ_CONFIG {
921
905
  export { delay_15 as delay };
922
906
  }
923
907
  export { backoff_15 as backoff };
908
+ let attempts_15: number;
909
+ export { attempts_15 as attempts };
924
910
  let removeOnComplete_15: number;
925
911
  export { removeOnComplete_15 as removeOnComplete };
926
912
  let removeOnFail_15: number;
@@ -947,7 +933,7 @@ declare namespace BASE_BULLMQ_CONFIG {
947
933
  }
948
934
  export { workerConfig_15 as workerConfig };
949
935
  }
950
- namespace TAG_SYNC_BATCH_QUEUE {
936
+ namespace REINDEX_QUEUE {
951
937
  let id_16: string;
952
938
  export { id_16 as id };
953
939
  export namespace queueConfig_16 {
@@ -961,6 +947,8 @@ declare namespace BASE_BULLMQ_CONFIG {
961
947
  export { delay_16 as delay };
962
948
  }
963
949
  export { backoff_16 as backoff };
950
+ let delay_17: number;
951
+ export { delay_17 as delay };
964
952
  let removeOnComplete_16: number;
965
953
  export { removeOnComplete_16 as removeOnComplete };
966
954
  let removeOnFail_16: number;
@@ -987,88 +975,6 @@ declare namespace BASE_BULLMQ_CONFIG {
987
975
  }
988
976
  export { workerConfig_16 as workerConfig };
989
977
  }
990
- namespace SCHEDULED_EXTERNAL_SYNC_QUEUE {
991
- let id_17: string;
992
- export { id_17 as id };
993
- export namespace queueConfig_17 {
994
- export namespace defaultJobOptions_17 {
995
- export namespace backoff_17 {
996
- let type_17: string;
997
- export { type_17 as type };
998
- let delay_17: number;
999
- export { delay_17 as delay };
1000
- }
1001
- export { backoff_17 as backoff };
1002
- let attempts_17: number;
1003
- export { attempts_17 as attempts };
1004
- let removeOnComplete_17: number;
1005
- export { removeOnComplete_17 as removeOnComplete };
1006
- let removeOnFail_17: number;
1007
- export { removeOnFail_17 as removeOnFail };
1008
- }
1009
- export { defaultJobOptions_17 as defaultJobOptions };
1010
- export namespace streams_17 {
1011
- export namespace events_17 {
1012
- let maxLen_17: number;
1013
- export { maxLen_17 as maxLen };
1014
- }
1015
- export { events_17 as events };
1016
- }
1017
- export { streams_17 as streams };
1018
- }
1019
- export { queueConfig_17 as queueConfig };
1020
- export namespace workerConfig_17 {
1021
- let concurrency_17: number;
1022
- export { concurrency_17 as concurrency };
1023
- let lockDuration_17: number;
1024
- export { lockDuration_17 as lockDuration };
1025
- let maxStalledCount_17: number;
1026
- export { maxStalledCount_17 as maxStalledCount };
1027
- }
1028
- export { workerConfig_17 as workerConfig };
1029
- }
1030
- namespace REINDEX_QUEUE {
1031
- let id_18: string;
1032
- export { id_18 as id };
1033
- export namespace queueConfig_18 {
1034
- export namespace defaultJobOptions_18 {
1035
- let attempts_18: number;
1036
- export { attempts_18 as attempts };
1037
- export namespace backoff_18 {
1038
- let type_18: string;
1039
- export { type_18 as type };
1040
- let delay_18: number;
1041
- export { delay_18 as delay };
1042
- }
1043
- export { backoff_18 as backoff };
1044
- let delay_19: number;
1045
- export { delay_19 as delay };
1046
- let removeOnComplete_18: number;
1047
- export { removeOnComplete_18 as removeOnComplete };
1048
- let removeOnFail_18: number;
1049
- export { removeOnFail_18 as removeOnFail };
1050
- }
1051
- export { defaultJobOptions_18 as defaultJobOptions };
1052
- export namespace streams_18 {
1053
- export namespace events_18 {
1054
- let maxLen_18: number;
1055
- export { maxLen_18 as maxLen };
1056
- }
1057
- export { events_18 as events };
1058
- }
1059
- export { streams_18 as streams };
1060
- }
1061
- export { queueConfig_18 as queueConfig };
1062
- export namespace workerConfig_18 {
1063
- let concurrency_18: number;
1064
- export { concurrency_18 as concurrency };
1065
- let lockDuration_18: number;
1066
- export { lockDuration_18 as lockDuration };
1067
- let maxStalledCount_18: number;
1068
- export { maxStalledCount_18 as maxStalledCount };
1069
- }
1070
- export { workerConfig_18 as workerConfig };
1071
- }
1072
978
  }
1073
979
 
1074
980
  interface PlatformContextContentItem {
@@ -1363,7 +1269,7 @@ declare const FILTER_IDS: {
1363
1269
  * renders that level as multiple meta entries (one per tab), each scoping its
1364
1270
  * options by the tab's findQuery. Selected values still flow through the level's
1365
1271
  * single filterId. Currently used to split sub-themes into Thematics + Attributes
1366
- * when EXPERIMENTAL_newTopicModelling is on.
1272
+ * when aiAnnotation.newTopicModelling is on.
1367
1273
  */
1368
1274
  declare const _self_managed_buildAnnoHierarchyConfig: ({ annotationTagsCount, attributeThematicTabs, }: {
1369
1275
  annotationTagsCount: any;
package/dist/node.js CHANGED
@@ -187,65 +187,6 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
187
187
  }
188
188
  }
189
189
  },
190
- AI_CATEGORIZE_QUEUE: {
191
- id: "ai-categorize-queue",
192
- queueConfig: {
193
- defaultJobOptions: {
194
- attempts: 3,
195
- backoff: {
196
- type: "exponential",
197
- delay: 2e3
198
- },
199
- removeOnComplete: 30,
200
- removeOnFail: 100
201
- },
202
- streams: {
203
- events: {
204
- maxLen: 10
205
- // Keep very low, cuz we dont really use historical stream events as of now
206
- }
207
- }
208
- },
209
- workerConfig: {
210
- concurrency: 1,
211
- lockDuration: 9e4,
212
- maxStalledCount: 3,
213
- limiter: {
214
- max: 100,
215
- // (lets always keep this same as content enhance & embed since it comes immediately after)
216
- duration: 6e4
217
- // ...60 seconds (higher throughput for chunking)
218
- }
219
- }
220
- },
221
- SENTIMENT_AND_NER_QUEUE: {
222
- id: "sentiment-and-ner-queue",
223
- queueConfig: {
224
- defaultJobOptions: {
225
- attempts: 3,
226
- backoff: {
227
- type: "exponential",
228
- delay: 2e3
229
- },
230
- removeOnComplete: 30,
231
- removeOnFail: 100
232
- },
233
- streams: {
234
- events: {
235
- maxLen: 10
236
- }
237
- }
238
- },
239
- workerConfig: {
240
- concurrency: 1,
241
- lockDuration: 9e4,
242
- maxStalledCount: 3,
243
- limiter: {
244
- max: 100,
245
- duration: 6e4
246
- }
247
- }
248
- },
249
190
  AI_AUTO_ANNOTATE_QUEUE: {
250
191
  // PARENT queue in the per-doc Flow. One job per doc; child jobs (one
251
192
  // per chunk) live on AI_AUTO_ANNOTATE_CHUNK_QUEUE. BullMQ Flow fires
package/dist/node.mjs CHANGED
@@ -192,65 +192,6 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
192
192
  }
193
193
  }
194
194
  },
195
- AI_CATEGORIZE_QUEUE: {
196
- id: "ai-categorize-queue",
197
- queueConfig: {
198
- defaultJobOptions: {
199
- attempts: 3,
200
- backoff: {
201
- type: "exponential",
202
- delay: 2e3
203
- },
204
- removeOnComplete: 30,
205
- removeOnFail: 100
206
- },
207
- streams: {
208
- events: {
209
- maxLen: 10
210
- // Keep very low, cuz we dont really use historical stream events as of now
211
- }
212
- }
213
- },
214
- workerConfig: {
215
- concurrency: 1,
216
- lockDuration: 9e4,
217
- maxStalledCount: 3,
218
- limiter: {
219
- max: 100,
220
- // (lets always keep this same as content enhance & embed since it comes immediately after)
221
- duration: 6e4
222
- // ...60 seconds (higher throughput for chunking)
223
- }
224
- }
225
- },
226
- SENTIMENT_AND_NER_QUEUE: {
227
- id: "sentiment-and-ner-queue",
228
- queueConfig: {
229
- defaultJobOptions: {
230
- attempts: 3,
231
- backoff: {
232
- type: "exponential",
233
- delay: 2e3
234
- },
235
- removeOnComplete: 30,
236
- removeOnFail: 100
237
- },
238
- streams: {
239
- events: {
240
- maxLen: 10
241
- }
242
- }
243
- },
244
- workerConfig: {
245
- concurrency: 1,
246
- lockDuration: 9e4,
247
- maxStalledCount: 3,
248
- limiter: {
249
- max: 100,
250
- duration: 6e4
251
- }
252
- }
253
- },
254
195
  AI_AUTO_ANNOTATE_QUEUE: {
255
196
  // PARENT queue in the per-doc Flow. One job per doc; child jobs (one
256
197
  // per chunk) live on AI_AUTO_ANNOTATE_CHUNK_QUEUE. BullMQ Flow fires