@retrivora-ai/rag-engine 2.6.4 → 2.6.5

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/server.mjs CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-VW3U4MMX.mjs";
16
16
  import {
17
17
  LicenseValidator
18
- } from "./chunk-OMQM7AN6.mjs";
18
+ } from "./chunk-SYI7TYRP.mjs";
19
19
  import {
20
20
  AnthropicProvider,
21
21
  CarouselRendererStrategy,
@@ -54,14 +54,20 @@ import {
54
54
  Rule6SmallResultSetRule,
55
55
  Rule7LargeTableRule,
56
56
  RuleEngine,
57
+ SemanticCache,
57
58
  TableRendererStrategy,
58
59
  TextRendererStrategy,
60
+ UNTRUSTED_SOURCE_POLICY,
59
61
  UniversalLLMAdapter,
60
62
  UniversalTableParser,
61
63
  VECTOR_PROFILES,
62
64
  VectorPlugin,
63
65
  VisionExtractor,
64
66
  VisualizationDecisionEngine,
67
+ applyMMR,
68
+ buildContextualEmbedText,
69
+ buildParentChildChunks,
70
+ computeRagContentHash,
65
71
  createChatHandler,
66
72
  createFeedbackHandler,
67
73
  createHealthHandler,
@@ -74,16 +80,23 @@ import {
74
80
  createSuggestionsHandler,
75
81
  createUploadHandler,
76
82
  decideVisualization,
83
+ dedupeChunksByHash,
84
+ diffDocumentChunks,
77
85
  getRagConfig,
78
86
  getRuntimeConfig,
79
87
  injectRuntimeConfig,
88
+ normalizeRagText,
89
+ packLostInMiddle,
90
+ promoteParentContexts,
80
91
  sseErrorFrame,
81
92
  sseFrame,
82
93
  sseMetaFrame,
83
94
  sseObservabilityFrame,
84
95
  sseTextFrame,
85
- sseUIFrame
86
- } from "./chunk-T7XSD76K.mjs";
96
+ sseUIFrame,
97
+ validateCitations,
98
+ wrapUntrustedSources
99
+ } from "./chunk-7PVV4TV2.mjs";
87
100
  import {
88
101
  AuthenticationException,
89
102
  BatchProcessor,
@@ -101,16 +114,16 @@ import {
101
114
  import "./chunk-SG6XYLQE.mjs";
102
115
  import {
103
116
  PineconeProvider
104
- } from "./chunk-BPIATXJ4.mjs";
117
+ } from "./chunk-UB4IVERI.mjs";
105
118
  import {
106
119
  ConfigFetcher,
107
120
  createDefaultProjectSettings,
108
121
  normalizeProjectSettings,
109
122
  projectSettingsToUiConfig
110
- } from "./chunk-6ZZOZFK6.mjs";
123
+ } from "./chunk-PLODIWBN.mjs";
111
124
  import {
112
125
  SDK_VERSION
113
- } from "./chunk-FMQN2K2D.mjs";
126
+ } from "./chunk-4NRSH3VX.mjs";
114
127
  import {
115
128
  PostgreSQLProvider
116
129
  } from "./chunk-MGJ6V2IT.mjs";
@@ -1061,9 +1074,11 @@ export {
1061
1074
  RuleEngine,
1062
1075
  SDKVersionUnsupportedError,
1063
1076
  SDK_VERSION,
1077
+ SemanticCache,
1064
1078
  TableRendererStrategy,
1065
1079
  TelemetryService,
1066
1080
  TextRendererStrategy,
1081
+ UNTRUSTED_SOURCE_POLICY,
1067
1082
  UniversalLLMAdapter,
1068
1083
  UniversalTableParser,
1069
1084
  UniversalVectorProvider,
@@ -1072,6 +1087,10 @@ export {
1072
1087
  VisionExtractor,
1073
1088
  VisualizationDecisionEngine,
1074
1089
  WeaviateProvider,
1090
+ applyMMR,
1091
+ buildContextualEmbedText,
1092
+ buildParentChildChunks,
1093
+ computeRagContentHash,
1075
1094
  createChatHandler,
1076
1095
  createDefaultProjectSettings,
1077
1096
  createFeedbackHandler,
@@ -1087,13 +1106,18 @@ export {
1087
1106
  createSuggestionsHandler,
1088
1107
  createUploadHandler,
1089
1108
  decideVisualization,
1109
+ dedupeChunksByHash,
1110
+ diffDocumentChunks,
1090
1111
  getRagConfig,
1091
1112
  getRuntimeConfig,
1092
1113
  getTelemetryService,
1093
1114
  initializeTelemetryService,
1094
1115
  injectRuntimeConfig,
1095
1116
  normalizeProjectSettings,
1117
+ normalizeRagText,
1118
+ packLostInMiddle,
1096
1119
  projectSettingsToUiConfig,
1120
+ promoteParentContexts,
1097
1121
  shutdownTelemetryService,
1098
1122
  sseErrorFrame,
1099
1123
  sseFrame,
@@ -1101,5 +1125,7 @@ export {
1101
1125
  sseObservabilityFrame,
1102
1126
  sseTextFrame,
1103
1127
  sseUIFrame,
1104
- wrapError
1128
+ validateCitations,
1129
+ wrapError,
1130
+ wrapUntrustedSources
1105
1131
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retrivora-ai/rag-engine",
3
- "version": "2.6.4",
3
+ "version": "2.6.5",
4
4
  "description": "Retrivora AI is a plug-and-play AI engine for RAG chat experiences — generic vector DB + LLM provider, embeddable or standalone.",
5
5
  "author": "Abhinav Alkuchi",
6
6
  "license": "UNLICENSED",