@retrivora-ai/rag-engine 2.4.3 → 2.4.6

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.
Files changed (142) hide show
  1. package/README.md +22 -0
  2. package/dist/{BatchProcessor-zbQMaZHm.d.mts → BatchProcessor-BGslIR5l.d.mts} +65 -4
  3. package/dist/{BatchProcessor-D42E706a.d.ts → BatchProcessor-C3gY6kZ0.d.ts} +65 -4
  4. package/dist/handlers/index.js +668 -837
  5. package/dist/handlers/index.mjs +678 -837
  6. package/dist/index.css +5 -0
  7. package/dist/index.d.mts +4 -28
  8. package/dist/index.d.ts +4 -28
  9. package/dist/index.js +91 -43
  10. package/dist/index.min.css +1 -1
  11. package/dist/index.mjs +91 -43
  12. package/dist/server.d.mts +21 -7
  13. package/dist/server.d.ts +21 -7
  14. package/dist/server.js +731 -875
  15. package/dist/server.mjs +741 -875
  16. package/package.json +11 -4
  17. package/src/LicensedRetrivora.ts +0 -278
  18. package/src/app/api/chat/route.ts +0 -4
  19. package/src/app/api/health/route.ts +0 -5
  20. package/src/app/api/ingest/route.ts +0 -27
  21. package/src/app/api/suggestions/route.ts +0 -5
  22. package/src/app/api/upload/route.ts +0 -5
  23. package/src/app/constants.tsx +0 -270
  24. package/src/app/favicon.ico +0 -0
  25. package/src/app/globals.css +0 -449
  26. package/src/app/layout.tsx +0 -22
  27. package/src/app/page.tsx +0 -64
  28. package/src/app/types.ts +0 -30
  29. package/src/browser.tsx +0 -127
  30. package/src/components/ChatWidget.tsx +0 -393
  31. package/src/components/ChatWindow.tsx +0 -952
  32. package/src/components/CodeViewer.tsx +0 -56
  33. package/src/components/ConfigProvider.tsx +0 -141
  34. package/src/components/DocumentUpload.tsx +0 -354
  35. package/src/components/DynamicChart.tsx +0 -297
  36. package/src/components/HourglassLoader.tsx +0 -87
  37. package/src/components/MarkdownComponents.tsx +0 -186
  38. package/src/components/MessageBubble.tsx +0 -498
  39. package/src/components/ObservabilityPanel.tsx +0 -374
  40. package/src/components/ProductCard.tsx +0 -107
  41. package/src/components/ProductCarousel.tsx +0 -97
  42. package/src/components/SourceCard.tsx +0 -61
  43. package/src/components/ThemeProvider.tsx +0 -8
  44. package/src/components/ThemeToggle.tsx +0 -29
  45. package/src/components/ThinkingBlock.tsx +0 -75
  46. package/src/components/UIDispatcher.tsx +0 -342
  47. package/src/components/VisualizationRenderer.tsx +0 -621
  48. package/src/components/constants.tsx +0 -503
  49. package/src/config/ConfigBuilder.ts +0 -285
  50. package/src/config/EmbeddingStrategy.ts +0 -148
  51. package/src/config/LicenseConfigResolver.ts +0 -298
  52. package/src/config/RagConfig.ts +0 -328
  53. package/src/config/UniversalProfiles.ts +0 -82
  54. package/src/config/constants.ts +0 -64
  55. package/src/config/serverConfig.ts +0 -378
  56. package/src/config/uiConstants.ts +0 -47
  57. package/src/core/BatchProcessor.ts +0 -385
  58. package/src/core/CircuitBreaker.ts +0 -118
  59. package/src/core/ConfigFetcher.ts +0 -220
  60. package/src/core/ConfigResolver.ts +0 -165
  61. package/src/core/ConfigValidator.ts +0 -197
  62. package/src/core/DatabaseStorage.ts +0 -526
  63. package/src/core/FreeTierLimitsGuard.ts +0 -281
  64. package/src/core/LLMRouter.ts +0 -79
  65. package/src/core/LangChainAgent.ts +0 -132
  66. package/src/core/LicenseValidator.ts +0 -284
  67. package/src/core/LicenseVerifier.ts +0 -261
  68. package/src/core/MultiAgentCoordinator.ts +0 -239
  69. package/src/core/Pipeline.ts +0 -1279
  70. package/src/core/PluginManager.ts +0 -277
  71. package/src/core/ProjectSettings.ts +0 -247
  72. package/src/core/ProviderHealthCheck.ts +0 -133
  73. package/src/core/ProviderInterfaces.ts +0 -37
  74. package/src/core/ProviderRegistry.ts +0 -156
  75. package/src/core/QueryProcessor.ts +0 -399
  76. package/src/core/Retrivora.ts +0 -98
  77. package/src/core/VectorPlugin.ts +0 -193
  78. package/src/core/mcp.ts +0 -261
  79. package/src/exceptions/index.ts +0 -131
  80. package/src/handlers/index.ts +0 -1625
  81. package/src/hooks/useHydrated.ts +0 -13
  82. package/src/hooks/useProjectSettings.ts +0 -105
  83. package/src/hooks/useRagChat.ts +0 -436
  84. package/src/hooks/useStoredMessages.ts +0 -64
  85. package/src/index.css +0 -4269
  86. package/src/index.ts +0 -137
  87. package/src/lib/plugin.ts +0 -24
  88. package/src/llm/ILLMProvider.ts +0 -60
  89. package/src/llm/LLMFactory.ts +0 -141
  90. package/src/llm/providers/AnthropicProvider.ts +0 -215
  91. package/src/llm/providers/GeminiProvider.ts +0 -311
  92. package/src/llm/providers/GroqProvider.ts +0 -184
  93. package/src/llm/providers/OllamaProvider.ts +0 -232
  94. package/src/llm/providers/OpenAIProvider.ts +0 -188
  95. package/src/llm/providers/QwenProvider.ts +0 -199
  96. package/src/llm/providers/UniversalLLMAdapter.ts +0 -422
  97. package/src/llm/utils.ts +0 -46
  98. package/src/providers/graphdb/BaseGraphProvider.ts +0 -43
  99. package/src/providers/graphdb/SimpleGraphProvider.ts +0 -66
  100. package/src/providers/vectordb/BaseVectorProvider.ts +0 -98
  101. package/src/providers/vectordb/ChromaDBProvider.ts +0 -130
  102. package/src/providers/vectordb/MilvusProvider.ts +0 -134
  103. package/src/providers/vectordb/MongoDBProvider.ts +0 -250
  104. package/src/providers/vectordb/MultiTablePostgresProvider.ts +0 -461
  105. package/src/providers/vectordb/PineconeProvider.ts +0 -295
  106. package/src/providers/vectordb/PostgreSQLProvider.ts +0 -227
  107. package/src/providers/vectordb/QdrantProvider.ts +0 -294
  108. package/src/providers/vectordb/RedisProvider.ts +0 -105
  109. package/src/providers/vectordb/UniversalVectorProvider.ts +0 -221
  110. package/src/providers/vectordb/WeaviateProvider.ts +0 -172
  111. package/src/rag/DocumentChunker.ts +0 -144
  112. package/src/rag/EntityExtractor.ts +0 -90
  113. package/src/rag/LlamaIndexIngestor.ts +0 -60
  114. package/src/rag/Reranker.ts +0 -106
  115. package/src/rendering/IntentClassifier.ts +0 -167
  116. package/src/rendering/RendererRegistry.ts +0 -164
  117. package/src/rendering/RuleEngine.ts +0 -67
  118. package/src/rendering/VisualizationDecisionEngine.ts +0 -164
  119. package/src/rendering/__tests__/VisualizationDecisionEngine.test.ts +0 -237
  120. package/src/rendering/index.ts +0 -12
  121. package/src/rendering/rules/Rule1SpecificInfoRule.ts +0 -28
  122. package/src/rendering/rules/Rule2ComparisonRule.ts +0 -24
  123. package/src/rendering/rules/Rule3ProductDiscoveryRule.ts +0 -28
  124. package/src/rendering/rules/Rule4AnalyticalRule.ts +0 -38
  125. package/src/rendering/rules/Rule5MixedResponseRule.ts +0 -29
  126. package/src/rendering/rules/Rule6SmallResultSetRule.ts +0 -24
  127. package/src/rendering/rules/Rule7LargeTableRule.ts +0 -35
  128. package/src/rendering/types.ts +0 -96
  129. package/src/server.ts +0 -156
  130. package/src/tailwind.css +0 -194
  131. package/src/telemetry/TelemetryService.ts +0 -330
  132. package/src/types/chat.ts +0 -89
  133. package/src/types/index.ts +0 -278
  134. package/src/types/pdf-parse.d.ts +0 -13
  135. package/src/types/props.ts +0 -169
  136. package/src/utils/DocumentParser.ts +0 -111
  137. package/src/utils/ProductExtractor.ts +0 -350
  138. package/src/utils/SchemaMapper.ts +0 -176
  139. package/src/utils/UITransformer.ts +0 -1812
  140. package/src/utils/synonyms.ts +0 -80
  141. package/src/utils/templateUtils.ts +0 -78
  142. package/src/version.ts +0 -6
package/README.md CHANGED
@@ -182,3 +182,25 @@ For lightweight deployments, Retrivora includes a standardized Free Tier MVP des
182
182
 
183
183
  See [FREE_TIER_ARCHITECTURE.md](file:///Users/abhinavalkuchi/work/retrivora-ai/packages/sdk/FREE_TIER_ARCHITECTURE.md) for full implementation details, code presets, and limits configuration.
184
184
 
185
+ ---
186
+
187
+ ## 6. Next.js App Router Integration & Framework Lock-in (PKG-1)
188
+
189
+ The SDK's prebuilt server handlers (`createChatHandler`, `createStreamHandler`, `createUploadHandler`) import directly from `next/server`. They are tightly coupled to the Next.js App Router API context and expect standard Next.js requests and responses.
190
+
191
+ If you are deploying in non-Next.js server environments (such as Express, Fastify, Hono, or custom Node.js frameworks), do **not** use the route handlers. Instead, invoke the core `LicensedRetrivora` SDK methods directly within your custom controllers:
192
+ ```typescript
193
+ import { createRetrivora } from '@retrivora-ai/rag-engine';
194
+
195
+ // Framework-agnostic controller example
196
+ app.post('/api/chat', async (req, res) => {
197
+ const sdk = await createRetrivora({
198
+ projectId: 'my-project',
199
+ licenseKey: process.env.RETRIVORA_LICENSE_KEY,
200
+ });
201
+ const answer = await sdk.query(req.body.message);
202
+ res.json(answer);
203
+ });
204
+ ```
205
+
206
+
@@ -91,6 +91,8 @@ interface MessageBubbleProps {
91
91
  accentColor: string;
92
92
  onAddToCart?: (product: Product) => void;
93
93
  viewportSize?: ChatViewportSize;
94
+ /** Whether to show the sources toggle and cards (respects dashboard citations setting) */
95
+ showSources?: boolean;
94
96
  /** Called when the user clicks thumbs up or thumbs down on an assistant message */
95
97
  onFeedback?: (messageId: string, rating: 'thumbs_up' | 'thumbs_down') => void;
96
98
  }
@@ -694,12 +696,58 @@ declare class LicenseValidator {
694
696
  validate(request: LicenseValidationRequest): Promise<LicenseValidationResponse>;
695
697
  }
696
698
 
699
+ type CircuitState = 'closed' | 'open' | 'half-open';
700
+ interface CircuitBreakerOptions {
701
+ failureThreshold?: number;
702
+ resetTimeoutMs?: number;
703
+ halfOpenMaxCalls?: number;
704
+ }
705
+ declare class CircuitBreaker {
706
+ private state;
707
+ private failureCount;
708
+ private successCount;
709
+ private lastFailureAt;
710
+ private halfOpenCalls;
711
+ private readonly failureThreshold;
712
+ readonly resetTimeoutMs: number;
713
+ private readonly halfOpenMaxCalls;
714
+ constructor(options?: CircuitBreakerOptions);
715
+ record(success: boolean): void;
716
+ canExecute(): boolean;
717
+ /**
718
+ * Increments the half-open probe counter when a call is attempted in
719
+ * half-open state. Must be called after `canExecute()` returns true and
720
+ * the state is half-open. Safe to call in other states (no-op).
721
+ */
722
+ incrementHalfOpen(): void;
723
+ /**
724
+ * Returns the number of milliseconds the caller should wait before retrying.
725
+ * Returns 0 when the circuit is closed or half-open (i.e., calls are allowed).
726
+ *
727
+ * Fix TYPE-1: replaces direct access to private `lastFailureAt` field via
728
+ * `(cb as any).lastFailureAt` in BatchProcessor.
729
+ */
730
+ retryAfterMs(): number;
731
+ wrap<T>(fn: () => Promise<T>): Promise<T>;
732
+ getState(): CircuitState;
733
+ getFailureCount(): number;
734
+ reset(): void;
735
+ }
736
+
697
737
  /**
698
738
  * BatchProcessor.ts — Handles batch operations with retry logic.
699
739
  *
700
740
  * Provides exponential backoff, partial failure tracking, and
701
741
  * configurable batch sizing for efficient bulk operations.
742
+ *
743
+ * Fix ARCH-3: BatchProcessor no longer holds a static module-level
744
+ * CircuitBreaker that was shared across all callers. Each call site
745
+ * that needs circuit-breaking should create its own CircuitBreaker
746
+ * and pass it via BatchOptions.circuitBreaker so failures in one
747
+ * upstream (e.g., Pinecone) do not trip the breaker for unrelated
748
+ * upstreams (e.g., PostgreSQL).
702
749
  */
750
+
703
751
  interface BatchOptions {
704
752
  /** Maximum number of items per batch */
705
753
  batchSize?: number;
@@ -713,6 +761,15 @@ interface BatchOptions {
713
761
  backoffMultiplier?: number;
714
762
  /** Whether to throw on any partial failure */
715
763
  throwOnPartialFailure?: boolean;
764
+ /**
765
+ * Optional circuit breaker scoped to the upstream being called.
766
+ *
767
+ * Fix ARCH-3: provide your own CircuitBreaker instance per upstream so
768
+ * failures in one provider (e.g., Pinecone) do not trip the breaker for
769
+ * unrelated providers (e.g., PostgreSQL). When omitted, calls are made
770
+ * directly without circuit-breaking.
771
+ */
772
+ circuitBreaker?: CircuitBreaker;
716
773
  }
717
774
  interface BatchResult<T> {
718
775
  results: T[];
@@ -729,10 +786,14 @@ interface BatchResult<T> {
729
786
  */
730
787
  declare function isTransientError(error: unknown): boolean;
731
788
  declare class BatchProcessor {
732
- private static readonly cb;
733
789
  /**
734
- * Execute a processor call through the circuit breaker.
735
- * Only transient failures count toward opening the circuit.
790
+ * Execute a processor call, optionally through a caller-provided circuit
791
+ * breaker. Only transient failures count toward opening the circuit.
792
+ *
793
+ * Fix ARCH-3: removed the static module-level `cb` field. Callers must
794
+ * supply their own CircuitBreaker via BatchOptions.circuitBreaker.
795
+ * Fix TYPE-1: uses the public retryAfterMs() and incrementHalfOpen()
796
+ * API instead of accessing private fields via `as any`.
736
797
  */
737
798
  private static executeWithCircuitBreaker;
738
799
  /**
@@ -770,4 +831,4 @@ declare class BatchProcessor {
770
831
  static processConcurrent<T, R>(items: T[], processor: (item: T) => Promise<R>, concurrency?: number, options?: BatchOptions): Promise<BatchResult<R>>;
771
832
  }
772
833
 
773
- export { wrapError as $, AuthenticationException as A, type BatchOptions as B, type ChatWidgetProps as C, type DocumentUploadProps as D, EmbeddingFailedException as E, RetrievalException as F, Retrivora as G, RetrivoraError as H, type IRenderRule as I, type RetrivoraErrorCode as J, SDKVersionUnsupportedError as K, type LicenseTierConfig as L, type MessageBubbleProps as M, SDK_VERSION as N, isTransientError as O, type ProductCardProps as P, type ArchitectureCardProps as Q, type RemoteConfig as R, type SourceCardProps as S, type ChatViewportSize as T, DocumentChunker as U, LicenseConfigResolver as V, Pipeline as W, type PipelineStep as X, type ProviderPill as Y, type RenderSectionDecision as Z, type Snippet as _, type ChatWindowProps as a, type ConfigProviderProps as b, type ClientConfig as c, type ProductCarouselProps as d, BatchProcessor as e, type BatchResult as f, type ChartType as g, type Chunk as h, type ChunkOptions as i, ConfigFetcher as j, ConfigurationException as k, type DecisionContext as l, type IRendererStrategy as m, type IntentCategory as n, LicenseValidationError as o, type LicenseValidationRequest as p, type LicenseValidationResponse as q, LicenseValidator as r, type ProviderCredentials as s, ProviderNotFoundException as t, RateLimitException as u, type RemoteEmbeddingConfig as v, type RemoteLLMConfig as w, type RemoteVectorConfig as x, type RenderDecision as y, type RenderType as z };
834
+ export { type RenderSectionDecision as $, AuthenticationException as A, type BatchOptions as B, type ChatWidgetProps as C, type DocumentUploadProps as D, EmbeddingFailedException as E, type RenderDecision as F, type RenderType as G, RetrievalException as H, type IRenderRule as I, Retrivora as J, RetrivoraError as K, type LicenseTierConfig as L, type MessageBubbleProps as M, type RetrivoraErrorCode as N, SDKVersionUnsupportedError as O, type ProductCardProps as P, SDK_VERSION as Q, type RemoteConfig as R, type SourceCardProps as S, isTransientError as T, type ArchitectureCardProps as U, type ChatViewportSize as V, DocumentChunker as W, LicenseConfigResolver as X, Pipeline as Y, type PipelineStep as Z, type ProviderPill as _, type ChatWindowProps as a, type Snippet as a0, wrapError as a1, type ConfigProviderProps as b, type ClientConfig as c, type ProductCarouselProps as d, BatchProcessor as e, type BatchResult as f, type ChartType as g, type Chunk as h, type ChunkOptions as i, CircuitBreaker as j, type CircuitBreakerOptions as k, ConfigFetcher as l, ConfigurationException as m, type DecisionContext as n, type IRendererStrategy as o, type IntentCategory as p, LicenseValidationError as q, type LicenseValidationRequest as r, type LicenseValidationResponse as s, LicenseValidator as t, type ProviderCredentials as u, ProviderNotFoundException as v, RateLimitException as w, type RemoteEmbeddingConfig as x, type RemoteLLMConfig as y, type RemoteVectorConfig as z };
@@ -91,6 +91,8 @@ interface MessageBubbleProps {
91
91
  accentColor: string;
92
92
  onAddToCart?: (product: Product) => void;
93
93
  viewportSize?: ChatViewportSize;
94
+ /** Whether to show the sources toggle and cards (respects dashboard citations setting) */
95
+ showSources?: boolean;
94
96
  /** Called when the user clicks thumbs up or thumbs down on an assistant message */
95
97
  onFeedback?: (messageId: string, rating: 'thumbs_up' | 'thumbs_down') => void;
96
98
  }
@@ -694,12 +696,58 @@ declare class LicenseValidator {
694
696
  validate(request: LicenseValidationRequest): Promise<LicenseValidationResponse>;
695
697
  }
696
698
 
699
+ type CircuitState = 'closed' | 'open' | 'half-open';
700
+ interface CircuitBreakerOptions {
701
+ failureThreshold?: number;
702
+ resetTimeoutMs?: number;
703
+ halfOpenMaxCalls?: number;
704
+ }
705
+ declare class CircuitBreaker {
706
+ private state;
707
+ private failureCount;
708
+ private successCount;
709
+ private lastFailureAt;
710
+ private halfOpenCalls;
711
+ private readonly failureThreshold;
712
+ readonly resetTimeoutMs: number;
713
+ private readonly halfOpenMaxCalls;
714
+ constructor(options?: CircuitBreakerOptions);
715
+ record(success: boolean): void;
716
+ canExecute(): boolean;
717
+ /**
718
+ * Increments the half-open probe counter when a call is attempted in
719
+ * half-open state. Must be called after `canExecute()` returns true and
720
+ * the state is half-open. Safe to call in other states (no-op).
721
+ */
722
+ incrementHalfOpen(): void;
723
+ /**
724
+ * Returns the number of milliseconds the caller should wait before retrying.
725
+ * Returns 0 when the circuit is closed or half-open (i.e., calls are allowed).
726
+ *
727
+ * Fix TYPE-1: replaces direct access to private `lastFailureAt` field via
728
+ * `(cb as any).lastFailureAt` in BatchProcessor.
729
+ */
730
+ retryAfterMs(): number;
731
+ wrap<T>(fn: () => Promise<T>): Promise<T>;
732
+ getState(): CircuitState;
733
+ getFailureCount(): number;
734
+ reset(): void;
735
+ }
736
+
697
737
  /**
698
738
  * BatchProcessor.ts — Handles batch operations with retry logic.
699
739
  *
700
740
  * Provides exponential backoff, partial failure tracking, and
701
741
  * configurable batch sizing for efficient bulk operations.
742
+ *
743
+ * Fix ARCH-3: BatchProcessor no longer holds a static module-level
744
+ * CircuitBreaker that was shared across all callers. Each call site
745
+ * that needs circuit-breaking should create its own CircuitBreaker
746
+ * and pass it via BatchOptions.circuitBreaker so failures in one
747
+ * upstream (e.g., Pinecone) do not trip the breaker for unrelated
748
+ * upstreams (e.g., PostgreSQL).
702
749
  */
750
+
703
751
  interface BatchOptions {
704
752
  /** Maximum number of items per batch */
705
753
  batchSize?: number;
@@ -713,6 +761,15 @@ interface BatchOptions {
713
761
  backoffMultiplier?: number;
714
762
  /** Whether to throw on any partial failure */
715
763
  throwOnPartialFailure?: boolean;
764
+ /**
765
+ * Optional circuit breaker scoped to the upstream being called.
766
+ *
767
+ * Fix ARCH-3: provide your own CircuitBreaker instance per upstream so
768
+ * failures in one provider (e.g., Pinecone) do not trip the breaker for
769
+ * unrelated providers (e.g., PostgreSQL). When omitted, calls are made
770
+ * directly without circuit-breaking.
771
+ */
772
+ circuitBreaker?: CircuitBreaker;
716
773
  }
717
774
  interface BatchResult<T> {
718
775
  results: T[];
@@ -729,10 +786,14 @@ interface BatchResult<T> {
729
786
  */
730
787
  declare function isTransientError(error: unknown): boolean;
731
788
  declare class BatchProcessor {
732
- private static readonly cb;
733
789
  /**
734
- * Execute a processor call through the circuit breaker.
735
- * Only transient failures count toward opening the circuit.
790
+ * Execute a processor call, optionally through a caller-provided circuit
791
+ * breaker. Only transient failures count toward opening the circuit.
792
+ *
793
+ * Fix ARCH-3: removed the static module-level `cb` field. Callers must
794
+ * supply their own CircuitBreaker via BatchOptions.circuitBreaker.
795
+ * Fix TYPE-1: uses the public retryAfterMs() and incrementHalfOpen()
796
+ * API instead of accessing private fields via `as any`.
736
797
  */
737
798
  private static executeWithCircuitBreaker;
738
799
  /**
@@ -770,4 +831,4 @@ declare class BatchProcessor {
770
831
  static processConcurrent<T, R>(items: T[], processor: (item: T) => Promise<R>, concurrency?: number, options?: BatchOptions): Promise<BatchResult<R>>;
771
832
  }
772
833
 
773
- export { wrapError as $, AuthenticationException as A, type BatchOptions as B, type ChatWidgetProps as C, type DocumentUploadProps as D, EmbeddingFailedException as E, RetrievalException as F, Retrivora as G, RetrivoraError as H, type IRenderRule as I, type RetrivoraErrorCode as J, SDKVersionUnsupportedError as K, type LicenseTierConfig as L, type MessageBubbleProps as M, SDK_VERSION as N, isTransientError as O, type ProductCardProps as P, type ArchitectureCardProps as Q, type RemoteConfig as R, type SourceCardProps as S, type ChatViewportSize as T, DocumentChunker as U, LicenseConfigResolver as V, Pipeline as W, type PipelineStep as X, type ProviderPill as Y, type RenderSectionDecision as Z, type Snippet as _, type ChatWindowProps as a, type ConfigProviderProps as b, type ClientConfig as c, type ProductCarouselProps as d, BatchProcessor as e, type BatchResult as f, type ChartType as g, type Chunk as h, type ChunkOptions as i, ConfigFetcher as j, ConfigurationException as k, type DecisionContext as l, type IRendererStrategy as m, type IntentCategory as n, LicenseValidationError as o, type LicenseValidationRequest as p, type LicenseValidationResponse as q, LicenseValidator as r, type ProviderCredentials as s, ProviderNotFoundException as t, RateLimitException as u, type RemoteEmbeddingConfig as v, type RemoteLLMConfig as w, type RemoteVectorConfig as x, type RenderDecision as y, type RenderType as z };
834
+ export { type RenderSectionDecision as $, AuthenticationException as A, type BatchOptions as B, type ChatWidgetProps as C, type DocumentUploadProps as D, EmbeddingFailedException as E, type RenderDecision as F, type RenderType as G, RetrievalException as H, type IRenderRule as I, Retrivora as J, RetrivoraError as K, type LicenseTierConfig as L, type MessageBubbleProps as M, type RetrivoraErrorCode as N, SDKVersionUnsupportedError as O, type ProductCardProps as P, SDK_VERSION as Q, type RemoteConfig as R, type SourceCardProps as S, isTransientError as T, type ArchitectureCardProps as U, type ChatViewportSize as V, DocumentChunker as W, LicenseConfigResolver as X, Pipeline as Y, type PipelineStep as Z, type ProviderPill as _, type ChatWindowProps as a, type Snippet as a0, wrapError as a1, type ConfigProviderProps as b, type ClientConfig as c, type ProductCarouselProps as d, BatchProcessor as e, type BatchResult as f, type ChartType as g, type Chunk as h, type ChunkOptions as i, CircuitBreaker as j, type CircuitBreakerOptions as k, ConfigFetcher as l, ConfigurationException as m, type DecisionContext as n, type IRendererStrategy as o, type IntentCategory as p, LicenseValidationError as q, type LicenseValidationRequest as r, type LicenseValidationResponse as s, LicenseValidator as t, type ProviderCredentials as u, ProviderNotFoundException as v, RateLimitException as w, type RemoteEmbeddingConfig as x, type RemoteLLMConfig as y, type RemoteVectorConfig as z };