@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.
@@ -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-BPIATXJ4.mjs";
4
- import "./chunk-6ZZOZFK6.mjs";
5
- import "./chunk-FMQN2K2D.mjs";
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",
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",