@retrivora-ai/rag-engine 2.3.0 → 2.3.1

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.d.mts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { V as VectorDBConfig, L as LLMConfig, d as EmbeddingConfig, i as RagConfig, n as UniversalRagConfig, o as UpsertDocument, q as VectorMatch, G as GraphDBConfig, r as GraphNode, s as Edge, t as GraphSearchResult, I as ILLMProvider, p as VectorDBProvider, g as LLMProvider, e as EmbeddingProvider, R as RAGConfig, m as UIConfig, C as ChatMessage, b as ChatOptions, E as EmbedOptions } from './ILLMProvider-teTNQ1lh.mjs';
2
2
  export { B as BarChartData, u as CarouselProduct, c as ChatResponse, v as IRetriever, f as IngestDocument, h as LatencyBreakdown, w as LineChartDataPoint, M as MessageRole, x as MetricCardData, O as ObservabilityTrace, P as PieChartData, y as Product, j as RagMessage, k as RetrievalConfig, z as RetrievalResult, l as RetrievedChunk, A as RetrivoraChunkMetadata, D as RetrivoraIngestedDocument, S as ScatterPlotDataPoint, F as SuggestionsResponse, H as TableData, T as TokenUsage, J as UITransformationResponse, U as UseRagChatOptions, a as UseRagChatReturn, K as VisualizationType, W as WorkflowConfig } from './ILLMProvider-teTNQ1lh.mjs';
3
- import { I as IRenderRule, i as DecisionContext, k as IntentCategory, q as RenderDecision } from './LicenseValidator-CENvo9o2.mjs';
4
- export { F as ArchitectureCardProps, A as AuthenticationException, G as CarouselRendererStrategy, H as ChartRendererStrategy, e as ChartType, J as ChatViewportSize, C as ChatWidgetProps, a as ChatWindowProps, f as Chunk, g as ChunkOptions, c as ClientConfig, b as ConfigProviderProps, h as ConfigurationException, K as DocumentChunker, D as DocumentUploadProps, E as EmbeddingFailedException, j as IRendererStrategy, l as IntentClassifier, L as LicenseValidationError, m as LicenseValidationRequest, n as LicenseValidationResponse, o as LicenseValidator, M as MessageBubbleProps, N as MixedRendererStrategy, O as Pipeline, Q as PipelineStep, P as ProductCardProps, d as ProductCarouselProps, p as ProviderNotFoundException, T as ProviderPill, R as RateLimitException, U as RenderSectionDecision, r as RenderType, s as RendererRegistry, t as RetrievalException, u as Retrivora, v as RetrivoraError, w as RetrivoraErrorCode, x as RuleEngine, y as SDKVersionUnsupportedError, z as SDK_VERSION, W as Snippet, S as SourceCardProps, X as TableRendererStrategy, Y as TextRendererStrategy, V as VisualizationDecisionEngine, B as decideVisualization, Z as wrapError } from './LicenseValidator-CENvo9o2.mjs';
5
- import { H as HealthCheckResult, I as IProviderValidator, a as IProviderHealthChecker } from './index-Dmq5lH0j.mjs';
6
- export { C as ConfigValidator, V as ValidationError, b as VectorPlugin, c as createChatHandler, d as createFeedbackHandler, e as createHealthHandler, f as createHistoryHandler, g as createIngestHandler, h as createRagHandler, i as createSessionsHandler, j as createStreamHandler, k as createUploadHandler, s as sseErrorFrame, l as sseFrame, m as sseMetaFrame, n as sseTextFrame } from './index-Dmq5lH0j.mjs';
3
+ import { I as IRenderRule, k as DecisionContext, m as IntentCategory, s as RenderDecision } from './BatchProcessor-7yV-UCHW.mjs';
4
+ export { K as ArchitectureCardProps, A as AuthenticationException, B as BatchOptions, e as BatchProcessor, f as BatchResult, N as CarouselRendererStrategy, O as ChartRendererStrategy, g as ChartType, Q as ChatViewportSize, C as ChatWidgetProps, a as ChatWindowProps, h as Chunk, i as ChunkOptions, c as ClientConfig, b as ConfigProviderProps, j as ConfigurationException, T as DocumentChunker, D as DocumentUploadProps, E as EmbeddingFailedException, l as IRendererStrategy, n as IntentClassifier, L as LicenseValidationError, o as LicenseValidationRequest, p as LicenseValidationResponse, q as LicenseValidator, M as MessageBubbleProps, U as MixedRendererStrategy, W as Pipeline, X as PipelineStep, P as ProductCardProps, d as ProductCarouselProps, r as ProviderNotFoundException, Y as ProviderPill, R as RateLimitException, Z as RenderSectionDecision, t as RenderType, u as RendererRegistry, v as RetrievalException, w as Retrivora, x as RetrivoraError, y as RetrivoraErrorCode, z as RuleEngine, F as SDKVersionUnsupportedError, G as SDK_VERSION, _ as Snippet, S as SourceCardProps, $ as TableRendererStrategy, a0 as TextRendererStrategy, V as VisualizationDecisionEngine, H as decideVisualization, a1 as wrapError } from './BatchProcessor-7yV-UCHW.mjs';
5
+ import { H as HealthCheckResult, I as IProviderValidator, a as IProviderHealthChecker } from './index-fnpaCuma.mjs';
6
+ export { C as ConfigValidator, b as HandlerOptions, V as ValidationError, c as VectorPlugin, d as createChatHandler, e as createFeedbackHandler, f as createHealthHandler, g as createHistoryHandler, h as createIngestHandler, i as createRagHandler, j as createSessionsHandler, k as createStreamHandler, l as createUploadHandler, s as sseErrorFrame, m as sseFrame, n as sseMetaFrame, o as sseTextFrame } from './index-fnpaCuma.mjs';
7
7
  import 'react';
8
8
  import 'next/server';
9
9
 
@@ -49,14 +49,42 @@ declare class Rule7LargeTableRule implements IRenderRule {
49
49
  evaluate(context: DecisionContext, intent: IntentCategory): RenderDecision | null;
50
50
  }
51
51
 
52
+ /**
53
+ * Decoded payload of a Retrivora license JWT.
54
+ *
55
+ * Retrivora licenses are signed with RS256 using a key held exclusively by
56
+ * Retrivora SaaS. They carry the project binding, the expiration time, and
57
+ * the customer tier, which the SDK uses to enforce per-tier feature limits
58
+ * (vector DB provider whitelist).
59
+ */
52
60
  interface LicensePayload {
61
+ /** Project ID this license is bound to — used to prevent cross-tenant reuse. */
53
62
  projectId: string;
63
+ /** UNIX timestamp in seconds after which the license must be considered expired. */
54
64
  expiresAt: number;
65
+ /** Customer tier (hobby | pro | enterprise). */
55
66
  tier: string;
67
+ /** Optional: License lifecycle status propagated by the server validator (ACTIVE/TERMINATED/etc). */
68
+ licenseStatus?: string;
56
69
  }
57
70
  /**
58
- * LicenseVerifier — handles cryptographic validation of signed JWT license keys.
59
- * Enables zero-latency local license validation without external network calls.
71
+ * Zero-latency cryptographic license verifier.
72
+ *
73
+ * Responsibilities:
74
+ * 1. Parse the `rtv_`-prefixed JWT (base64url header.payload.signature)
75
+ * 2. Verify the RS256 signature against Retrivora's embedded PUBLIC_KEY
76
+ * 3. Match the license's projectId to the currently configured projectId
77
+ * 4. Enforce expiration (current UNIX seconds > expiresAt)
78
+ * 5. Enforce per-tier vector DB provider whitelist in production
79
+ *
80
+ * Fail-open policy: In non-production environments a missing license key
81
+ * produces a console-warning and a synthetic 24h "hobby" payload so that
82
+ * local development continues to work without signing up. In production
83
+ * any missing/invalid key throws `ConfigurationException`.
84
+ *
85
+ * Caching: Cryptographic verification is CPU-expensive — successful results
86
+ * are cached for 60 seconds keyed by (licenseKey, projectId, provider,
87
+ * publicKeyOverride). Cache hits still re-verify expiresAt.
60
88
  */
61
89
  declare class LicenseVerifier {
62
90
  private static readonly cache;
@@ -73,72 +101,6 @@ declare class LicenseVerifier {
73
101
  static verifyIP(licenseKey: string | undefined): Promise<void>;
74
102
  }
75
103
 
76
- /**
77
- * BatchProcessor.ts — Handles batch operations with retry logic.
78
- *
79
- * Provides exponential backoff, partial failure tracking, and
80
- * configurable batch sizing for efficient bulk operations.
81
- */
82
- interface BatchOptions {
83
- /** Maximum number of items per batch */
84
- batchSize?: number;
85
- /** Maximum number of retries for transient failures */
86
- maxRetries?: number;
87
- /** Initial delay before retry in milliseconds */
88
- initialDelayMs?: number;
89
- /** Maximum delay between retries in milliseconds */
90
- maxDelayMs?: number;
91
- /** Multiplier for exponential backoff */
92
- backoffMultiplier?: number;
93
- /** Whether to throw on any partial failure */
94
- throwOnPartialFailure?: boolean;
95
- }
96
- interface BatchResult<T> {
97
- results: T[];
98
- errors: Array<{
99
- index: number;
100
- error: Error;
101
- itemCount?: number;
102
- }>;
103
- totalProcessed: number;
104
- totalFailed: number;
105
- }
106
- declare class BatchProcessor {
107
- /**
108
- * Processes an array of items in configurable batches with retry logic.
109
- *
110
- * @param items - Items to process
111
- * @param processor - Async function that processes a batch of items
112
- * @param options - Configuration for batch size, retries, etc.
113
- * @returns Object with results, errors, and statistics
114
- *
115
- * @example
116
- * const docs = [...];
117
- * const result = await BatchProcessor.processBatch(
118
- * docs,
119
- * (batch) => vectorDB.batchUpsert(batch),
120
- * { batchSize: 100, maxRetries: 3 }
121
- * );
122
- */
123
- static processBatch<T, R>(items: T[], processor: (batch: T[]) => Promise<R>, options?: BatchOptions): Promise<BatchResult<R>>;
124
- /**
125
- * Processes items sequentially (one at a time) with retry logic.
126
- * Useful for operations that don't support batching or when granular
127
- * error tracking is needed.
128
- */
129
- static processSequential<T, R>(items: T[], processor: (item: T) => Promise<R>, options?: BatchOptions): Promise<BatchResult<R>>;
130
- /**
131
- * Maps over items with retry logic, returning results in order.
132
- * Like Array.map() but with async processing and automatic retries.
133
- */
134
- static mapWithRetry<T, R>(items: T[], mapper: (item: T) => Promise<R>, options?: BatchOptions): Promise<R[]>;
135
- /**
136
- * Parallel processor with concurrency limit.
137
- * Processes up to `concurrency` items at the same time.
138
- */
139
- static processConcurrent<T, R>(items: T[], processor: (item: T) => Promise<R>, concurrency?: number, options?: BatchOptions): Promise<BatchResult<R>>;
140
- }
141
-
142
104
  /**
143
105
  * ProviderHealthCheck.ts — Pre-flight validation for vector DB and LLM providers.
144
106
  * Performs connectivity tests, credential validation, and capability checks.
@@ -1027,4 +989,4 @@ declare class UniversalLLMAdapter implements ILLMProvider {
1027
989
  ping(): Promise<boolean>;
1028
990
  }
1029
991
 
1030
- export { AnthropicProvider, BaseVectorProvider, type BatchOptions, BatchProcessor, type BatchResult, ChatMessage, ChatOptions, ChromaDBProvider, ConfigBuilder, ConfigResolver, DecisionContext, DocumentParser, Edge, EmbedOptions, EmbeddingConfig, EmbeddingProvider, EmbeddingStrategy, EmbeddingStrategyResolver, GraphNode, GraphSearchResult, GroqProvider, HealthCheckResult, ILLMProvider, IProviderHealthChecker, IProviderValidator, IRenderRule, IntentCategory, LLMConfig, LLMFactory, LLMProvider, LLM_PROFILES, type LicensePayload, LicenseVerifier, MilvusProvider, MongoDBProvider, MultiTablePostgresProvider, OllamaProvider, OpenAIProvider, PRESETS, PineconeProvider, PostgreSQLProvider, ProviderHealthCheck, ProviderRegistry, QdrantProvider, QwenProvider, RAGConfig, RagConfig, RedisProvider, RenderDecision, Rule1SpecificInfoRule, Rule2ComparisonRule, Rule3ProductDiscoveryRule, Rule4AnalyticalRule, Rule5MixedResponseRule, Rule6SmallResultSetRule, Rule7LargeTableRule, UIConfig, UniversalLLMAdapter, UniversalRagConfig, UniversalVectorProvider, UpsertDocument, VECTOR_PROFILES, VectorDBConfig, VectorDBProvider, VectorMatch, WeaviateProvider, createFromPreset, getRagConfig };
992
+ export { AnthropicProvider, BaseVectorProvider, ChatMessage, ChatOptions, ChromaDBProvider, ConfigBuilder, ConfigResolver, DecisionContext, DocumentParser, Edge, EmbedOptions, EmbeddingConfig, EmbeddingProvider, EmbeddingStrategy, EmbeddingStrategyResolver, GraphNode, GraphSearchResult, GroqProvider, HealthCheckResult, ILLMProvider, IProviderHealthChecker, IProviderValidator, IRenderRule, IntentCategory, LLMConfig, LLMFactory, LLMProvider, LLM_PROFILES, type LicensePayload, LicenseVerifier, MilvusProvider, MongoDBProvider, MultiTablePostgresProvider, OllamaProvider, OpenAIProvider, PRESETS, PineconeProvider, PostgreSQLProvider, ProviderHealthCheck, ProviderRegistry, QdrantProvider, QwenProvider, RAGConfig, RagConfig, RedisProvider, RenderDecision, Rule1SpecificInfoRule, Rule2ComparisonRule, Rule3ProductDiscoveryRule, Rule4AnalyticalRule, Rule5MixedResponseRule, Rule6SmallResultSetRule, Rule7LargeTableRule, UIConfig, UniversalLLMAdapter, UniversalRagConfig, UniversalVectorProvider, UpsertDocument, VECTOR_PROFILES, VectorDBConfig, VectorDBProvider, VectorMatch, WeaviateProvider, createFromPreset, getRagConfig };
package/dist/server.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { V as VectorDBConfig, L as LLMConfig, d as EmbeddingConfig, i as RagConfig, n as UniversalRagConfig, o as UpsertDocument, q as VectorMatch, G as GraphDBConfig, r as GraphNode, s as Edge, t as GraphSearchResult, I as ILLMProvider, p as VectorDBProvider, g as LLMProvider, e as EmbeddingProvider, R as RAGConfig, m as UIConfig, C as ChatMessage, b as ChatOptions, E as EmbedOptions } from './ILLMProvider-teTNQ1lh.js';
2
2
  export { B as BarChartData, u as CarouselProduct, c as ChatResponse, v as IRetriever, f as IngestDocument, h as LatencyBreakdown, w as LineChartDataPoint, M as MessageRole, x as MetricCardData, O as ObservabilityTrace, P as PieChartData, y as Product, j as RagMessage, k as RetrievalConfig, z as RetrievalResult, l as RetrievedChunk, A as RetrivoraChunkMetadata, D as RetrivoraIngestedDocument, S as ScatterPlotDataPoint, F as SuggestionsResponse, H as TableData, T as TokenUsage, J as UITransformationResponse, U as UseRagChatOptions, a as UseRagChatReturn, K as VisualizationType, W as WorkflowConfig } from './ILLMProvider-teTNQ1lh.js';
3
- import { I as IRenderRule, i as DecisionContext, k as IntentCategory, q as RenderDecision } from './LicenseValidator-CsjJp2PP.js';
4
- export { F as ArchitectureCardProps, A as AuthenticationException, G as CarouselRendererStrategy, H as ChartRendererStrategy, e as ChartType, J as ChatViewportSize, C as ChatWidgetProps, a as ChatWindowProps, f as Chunk, g as ChunkOptions, c as ClientConfig, b as ConfigProviderProps, h as ConfigurationException, K as DocumentChunker, D as DocumentUploadProps, E as EmbeddingFailedException, j as IRendererStrategy, l as IntentClassifier, L as LicenseValidationError, m as LicenseValidationRequest, n as LicenseValidationResponse, o as LicenseValidator, M as MessageBubbleProps, N as MixedRendererStrategy, O as Pipeline, Q as PipelineStep, P as ProductCardProps, d as ProductCarouselProps, p as ProviderNotFoundException, T as ProviderPill, R as RateLimitException, U as RenderSectionDecision, r as RenderType, s as RendererRegistry, t as RetrievalException, u as Retrivora, v as RetrivoraError, w as RetrivoraErrorCode, x as RuleEngine, y as SDKVersionUnsupportedError, z as SDK_VERSION, W as Snippet, S as SourceCardProps, X as TableRendererStrategy, Y as TextRendererStrategy, V as VisualizationDecisionEngine, B as decideVisualization, Z as wrapError } from './LicenseValidator-CsjJp2PP.js';
5
- import { H as HealthCheckResult, I as IProviderValidator, a as IProviderHealthChecker } from './index-BPJ3KDYI.js';
6
- export { C as ConfigValidator, V as ValidationError, b as VectorPlugin, c as createChatHandler, d as createFeedbackHandler, e as createHealthHandler, f as createHistoryHandler, g as createIngestHandler, h as createRagHandler, i as createSessionsHandler, j as createStreamHandler, k as createUploadHandler, s as sseErrorFrame, l as sseFrame, m as sseMetaFrame, n as sseTextFrame } from './index-BPJ3KDYI.js';
3
+ import { I as IRenderRule, k as DecisionContext, m as IntentCategory, s as RenderDecision } from './BatchProcessor-BfzuU4cK.js';
4
+ export { K as ArchitectureCardProps, A as AuthenticationException, B as BatchOptions, e as BatchProcessor, f as BatchResult, N as CarouselRendererStrategy, O as ChartRendererStrategy, g as ChartType, Q as ChatViewportSize, C as ChatWidgetProps, a as ChatWindowProps, h as Chunk, i as ChunkOptions, c as ClientConfig, b as ConfigProviderProps, j as ConfigurationException, T as DocumentChunker, D as DocumentUploadProps, E as EmbeddingFailedException, l as IRendererStrategy, n as IntentClassifier, L as LicenseValidationError, o as LicenseValidationRequest, p as LicenseValidationResponse, q as LicenseValidator, M as MessageBubbleProps, U as MixedRendererStrategy, W as Pipeline, X as PipelineStep, P as ProductCardProps, d as ProductCarouselProps, r as ProviderNotFoundException, Y as ProviderPill, R as RateLimitException, Z as RenderSectionDecision, t as RenderType, u as RendererRegistry, v as RetrievalException, w as Retrivora, x as RetrivoraError, y as RetrivoraErrorCode, z as RuleEngine, F as SDKVersionUnsupportedError, G as SDK_VERSION, _ as Snippet, S as SourceCardProps, $ as TableRendererStrategy, a0 as TextRendererStrategy, V as VisualizationDecisionEngine, H as decideVisualization, a1 as wrapError } from './BatchProcessor-BfzuU4cK.js';
5
+ import { H as HealthCheckResult, I as IProviderValidator, a as IProviderHealthChecker } from './index-DR_O_B-W.js';
6
+ export { C as ConfigValidator, b as HandlerOptions, V as ValidationError, c as VectorPlugin, d as createChatHandler, e as createFeedbackHandler, f as createHealthHandler, g as createHistoryHandler, h as createIngestHandler, i as createRagHandler, j as createSessionsHandler, k as createStreamHandler, l as createUploadHandler, s as sseErrorFrame, m as sseFrame, n as sseMetaFrame, o as sseTextFrame } from './index-DR_O_B-W.js';
7
7
  import 'react';
8
8
  import 'next/server';
9
9
 
@@ -49,14 +49,42 @@ declare class Rule7LargeTableRule implements IRenderRule {
49
49
  evaluate(context: DecisionContext, intent: IntentCategory): RenderDecision | null;
50
50
  }
51
51
 
52
+ /**
53
+ * Decoded payload of a Retrivora license JWT.
54
+ *
55
+ * Retrivora licenses are signed with RS256 using a key held exclusively by
56
+ * Retrivora SaaS. They carry the project binding, the expiration time, and
57
+ * the customer tier, which the SDK uses to enforce per-tier feature limits
58
+ * (vector DB provider whitelist).
59
+ */
52
60
  interface LicensePayload {
61
+ /** Project ID this license is bound to — used to prevent cross-tenant reuse. */
53
62
  projectId: string;
63
+ /** UNIX timestamp in seconds after which the license must be considered expired. */
54
64
  expiresAt: number;
65
+ /** Customer tier (hobby | pro | enterprise). */
55
66
  tier: string;
67
+ /** Optional: License lifecycle status propagated by the server validator (ACTIVE/TERMINATED/etc). */
68
+ licenseStatus?: string;
56
69
  }
57
70
  /**
58
- * LicenseVerifier — handles cryptographic validation of signed JWT license keys.
59
- * Enables zero-latency local license validation without external network calls.
71
+ * Zero-latency cryptographic license verifier.
72
+ *
73
+ * Responsibilities:
74
+ * 1. Parse the `rtv_`-prefixed JWT (base64url header.payload.signature)
75
+ * 2. Verify the RS256 signature against Retrivora's embedded PUBLIC_KEY
76
+ * 3. Match the license's projectId to the currently configured projectId
77
+ * 4. Enforce expiration (current UNIX seconds > expiresAt)
78
+ * 5. Enforce per-tier vector DB provider whitelist in production
79
+ *
80
+ * Fail-open policy: In non-production environments a missing license key
81
+ * produces a console-warning and a synthetic 24h "hobby" payload so that
82
+ * local development continues to work without signing up. In production
83
+ * any missing/invalid key throws `ConfigurationException`.
84
+ *
85
+ * Caching: Cryptographic verification is CPU-expensive — successful results
86
+ * are cached for 60 seconds keyed by (licenseKey, projectId, provider,
87
+ * publicKeyOverride). Cache hits still re-verify expiresAt.
60
88
  */
61
89
  declare class LicenseVerifier {
62
90
  private static readonly cache;
@@ -73,72 +101,6 @@ declare class LicenseVerifier {
73
101
  static verifyIP(licenseKey: string | undefined): Promise<void>;
74
102
  }
75
103
 
76
- /**
77
- * BatchProcessor.ts — Handles batch operations with retry logic.
78
- *
79
- * Provides exponential backoff, partial failure tracking, and
80
- * configurable batch sizing for efficient bulk operations.
81
- */
82
- interface BatchOptions {
83
- /** Maximum number of items per batch */
84
- batchSize?: number;
85
- /** Maximum number of retries for transient failures */
86
- maxRetries?: number;
87
- /** Initial delay before retry in milliseconds */
88
- initialDelayMs?: number;
89
- /** Maximum delay between retries in milliseconds */
90
- maxDelayMs?: number;
91
- /** Multiplier for exponential backoff */
92
- backoffMultiplier?: number;
93
- /** Whether to throw on any partial failure */
94
- throwOnPartialFailure?: boolean;
95
- }
96
- interface BatchResult<T> {
97
- results: T[];
98
- errors: Array<{
99
- index: number;
100
- error: Error;
101
- itemCount?: number;
102
- }>;
103
- totalProcessed: number;
104
- totalFailed: number;
105
- }
106
- declare class BatchProcessor {
107
- /**
108
- * Processes an array of items in configurable batches with retry logic.
109
- *
110
- * @param items - Items to process
111
- * @param processor - Async function that processes a batch of items
112
- * @param options - Configuration for batch size, retries, etc.
113
- * @returns Object with results, errors, and statistics
114
- *
115
- * @example
116
- * const docs = [...];
117
- * const result = await BatchProcessor.processBatch(
118
- * docs,
119
- * (batch) => vectorDB.batchUpsert(batch),
120
- * { batchSize: 100, maxRetries: 3 }
121
- * );
122
- */
123
- static processBatch<T, R>(items: T[], processor: (batch: T[]) => Promise<R>, options?: BatchOptions): Promise<BatchResult<R>>;
124
- /**
125
- * Processes items sequentially (one at a time) with retry logic.
126
- * Useful for operations that don't support batching or when granular
127
- * error tracking is needed.
128
- */
129
- static processSequential<T, R>(items: T[], processor: (item: T) => Promise<R>, options?: BatchOptions): Promise<BatchResult<R>>;
130
- /**
131
- * Maps over items with retry logic, returning results in order.
132
- * Like Array.map() but with async processing and automatic retries.
133
- */
134
- static mapWithRetry<T, R>(items: T[], mapper: (item: T) => Promise<R>, options?: BatchOptions): Promise<R[]>;
135
- /**
136
- * Parallel processor with concurrency limit.
137
- * Processes up to `concurrency` items at the same time.
138
- */
139
- static processConcurrent<T, R>(items: T[], processor: (item: T) => Promise<R>, concurrency?: number, options?: BatchOptions): Promise<BatchResult<R>>;
140
- }
141
-
142
104
  /**
143
105
  * ProviderHealthCheck.ts — Pre-flight validation for vector DB and LLM providers.
144
106
  * Performs connectivity tests, credential validation, and capability checks.
@@ -1027,4 +989,4 @@ declare class UniversalLLMAdapter implements ILLMProvider {
1027
989
  ping(): Promise<boolean>;
1028
990
  }
1029
991
 
1030
- export { AnthropicProvider, BaseVectorProvider, type BatchOptions, BatchProcessor, type BatchResult, ChatMessage, ChatOptions, ChromaDBProvider, ConfigBuilder, ConfigResolver, DecisionContext, DocumentParser, Edge, EmbedOptions, EmbeddingConfig, EmbeddingProvider, EmbeddingStrategy, EmbeddingStrategyResolver, GraphNode, GraphSearchResult, GroqProvider, HealthCheckResult, ILLMProvider, IProviderHealthChecker, IProviderValidator, IRenderRule, IntentCategory, LLMConfig, LLMFactory, LLMProvider, LLM_PROFILES, type LicensePayload, LicenseVerifier, MilvusProvider, MongoDBProvider, MultiTablePostgresProvider, OllamaProvider, OpenAIProvider, PRESETS, PineconeProvider, PostgreSQLProvider, ProviderHealthCheck, ProviderRegistry, QdrantProvider, QwenProvider, RAGConfig, RagConfig, RedisProvider, RenderDecision, Rule1SpecificInfoRule, Rule2ComparisonRule, Rule3ProductDiscoveryRule, Rule4AnalyticalRule, Rule5MixedResponseRule, Rule6SmallResultSetRule, Rule7LargeTableRule, UIConfig, UniversalLLMAdapter, UniversalRagConfig, UniversalVectorProvider, UpsertDocument, VECTOR_PROFILES, VectorDBConfig, VectorDBProvider, VectorMatch, WeaviateProvider, createFromPreset, getRagConfig };
992
+ export { AnthropicProvider, BaseVectorProvider, ChatMessage, ChatOptions, ChromaDBProvider, ConfigBuilder, ConfigResolver, DecisionContext, DocumentParser, Edge, EmbedOptions, EmbeddingConfig, EmbeddingProvider, EmbeddingStrategy, EmbeddingStrategyResolver, GraphNode, GraphSearchResult, GroqProvider, HealthCheckResult, ILLMProvider, IProviderHealthChecker, IProviderValidator, IRenderRule, IntentCategory, LLMConfig, LLMFactory, LLMProvider, LLM_PROFILES, type LicensePayload, LicenseVerifier, MilvusProvider, MongoDBProvider, MultiTablePostgresProvider, OllamaProvider, OpenAIProvider, PRESETS, PineconeProvider, PostgreSQLProvider, ProviderHealthCheck, ProviderRegistry, QdrantProvider, QwenProvider, RAGConfig, RagConfig, RedisProvider, RenderDecision, Rule1SpecificInfoRule, Rule2ComparisonRule, Rule3ProductDiscoveryRule, Rule4AnalyticalRule, Rule5MixedResponseRule, Rule6SmallResultSetRule, Rule7LargeTableRule, UIConfig, UniversalLLMAdapter, UniversalRagConfig, UniversalVectorProvider, UpsertDocument, VECTOR_PROFILES, VectorDBConfig, VectorDBProvider, VectorMatch, WeaviateProvider, createFromPreset, getRagConfig };