@retrivora-ai/rag-engine 2.6.3 → 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/{ILLMProvider-CzXcTA6d.d.mts → ILLMProvider-Csukdic7.d.mts} +12 -0
- package/dist/{ILLMProvider-CzXcTA6d.d.ts → ILLMProvider-Csukdic7.d.ts} +12 -0
- package/dist/{PineconeProvider-22RF2QPF.mjs → PineconeProvider-RDXBD3PE.mjs} +3 -3
- package/dist/{chunk-QUY3E6HJ.mjs → chunk-4NRSH3VX.mjs} +1 -1
- package/dist/{chunk-3E4GZGDX.mjs → chunk-7PVV4TV2.mjs} +471 -42
- package/dist/{chunk-N3TI27LG.mjs → chunk-PLODIWBN.mjs} +1 -1
- package/dist/{chunk-AT4TFUQN.mjs → chunk-SYI7TYRP.mjs} +1 -1
- package/dist/{chunk-LFNV6DEL.mjs → chunk-UB4IVERI.mjs} +1 -1
- package/dist/handlers/index.d.mts +2 -2
- package/dist/handlers/index.d.ts +2 -2
- package/dist/handlers/index.js +457 -41
- package/dist/handlers/index.mjs +2 -2
- package/dist/{index-BST9Gzsv.d.mts → index-Bzpu_Ujt.d.mts} +3 -1
- package/dist/{index-BZ_rR6V8.d.ts → index-CAN5ZTWN.d.ts} +1 -1
- package/dist/{index-BBbt5A2y.d.mts → index-CYhWkWaX.d.mts} +1 -1
- package/dist/{index-qLvtMUr-.d.ts → index-DYgeV_V5.d.ts} +3 -1
- package/dist/index.css +13 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -2
- package/dist/index.min.css +1 -1
- package/dist/index.mjs +13 -4
- package/dist/server.d.mts +179 -35
- package/dist/server.d.ts +179 -35
- package/dist/server.js +485 -43
- package/dist/server.mjs +33 -7
- package/package.json +1 -1
- package/dist/PineconeProvider-HBBIXLT3.mjs +0 -10
- package/dist/chunk-NWYE4Q7B.mjs +0 -334
- package/dist/chunk-OJMAT4EG.mjs +0 -219
- package/dist/chunk-QKZM3RSJ.mjs +0 -10851
- package/dist/chunk-WOJCOTXI.mjs +0 -281
- package/dist/chunk-XP6NJMX4.mjs +0 -168
|
@@ -200,6 +200,12 @@ interface RAGConfig {
|
|
|
200
200
|
topK?: number;
|
|
201
201
|
/** Minimum similarity score to include a chunk (0–1) */
|
|
202
202
|
scoreThreshold?: number;
|
|
203
|
+
abstainThreshold?: number;
|
|
204
|
+
strictGrounding?: boolean;
|
|
205
|
+
enableSemanticCache?: boolean;
|
|
206
|
+
semanticCacheThreshold?: number;
|
|
207
|
+
useParentChild?: boolean;
|
|
208
|
+
aclFilter?: Record<string, unknown>;
|
|
203
209
|
/** Target chunk size in tokens */
|
|
204
210
|
chunkSize?: number;
|
|
205
211
|
/** Overlap between adjacent chunks in tokens */
|
|
@@ -263,6 +269,12 @@ interface RetrievalConfig {
|
|
|
263
269
|
topK?: number;
|
|
264
270
|
/** Minimum similarity score to include a retrieved chunk. */
|
|
265
271
|
scoreThreshold?: number;
|
|
272
|
+
abstainThreshold?: number;
|
|
273
|
+
strictGrounding?: boolean;
|
|
274
|
+
enableSemanticCache?: boolean;
|
|
275
|
+
semanticCacheThreshold?: number;
|
|
276
|
+
useParentChild?: boolean;
|
|
277
|
+
aclFilter?: Record<string, unknown>;
|
|
266
278
|
/** Whether to rerank retrieved chunks before generation. */
|
|
267
279
|
useReranking?: boolean;
|
|
268
280
|
/** Provider-specific retrieval options for future strategies. */
|
|
@@ -200,6 +200,12 @@ interface RAGConfig {
|
|
|
200
200
|
topK?: number;
|
|
201
201
|
/** Minimum similarity score to include a chunk (0–1) */
|
|
202
202
|
scoreThreshold?: number;
|
|
203
|
+
abstainThreshold?: number;
|
|
204
|
+
strictGrounding?: boolean;
|
|
205
|
+
enableSemanticCache?: boolean;
|
|
206
|
+
semanticCacheThreshold?: number;
|
|
207
|
+
useParentChild?: boolean;
|
|
208
|
+
aclFilter?: Record<string, unknown>;
|
|
203
209
|
/** Target chunk size in tokens */
|
|
204
210
|
chunkSize?: number;
|
|
205
211
|
/** Overlap between adjacent chunks in tokens */
|
|
@@ -263,6 +269,12 @@ interface RetrievalConfig {
|
|
|
263
269
|
topK?: number;
|
|
264
270
|
/** Minimum similarity score to include a retrieved chunk. */
|
|
265
271
|
scoreThreshold?: number;
|
|
272
|
+
abstainThreshold?: number;
|
|
273
|
+
strictGrounding?: boolean;
|
|
274
|
+
enableSemanticCache?: boolean;
|
|
275
|
+
semanticCacheThreshold?: number;
|
|
276
|
+
useParentChild?: boolean;
|
|
277
|
+
aclFilter?: Record<string, unknown>;
|
|
266
278
|
/** Whether to rerank retrieved chunks before generation. */
|
|
267
279
|
useReranking?: boolean;
|
|
268
280
|
/** Provider-specific retrieval options for future strategies. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PineconeProvider
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-UB4IVERI.mjs";
|
|
4
|
+
import "./chunk-PLODIWBN.mjs";
|
|
5
|
+
import "./chunk-4NRSH3VX.mjs";
|
|
6
6
|
import "./chunk-IMP6FUCY.mjs";
|
|
7
7
|
import "./chunk-UT6SZZEC.mjs";
|
|
8
8
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@retrivora-ai/rag-engine",
|
|
4
|
-
version: "2.6.
|
|
4
|
+
version: "2.6.5",
|
|
5
5
|
description: "Retrivora AI is a plug-and-play AI engine for RAG chat experiences \u2014 generic vector DB + LLM provider, embeddable or standalone.",
|
|
6
6
|
author: "Abhinav Alkuchi",
|
|
7
7
|
license: "UNLICENSED",
|