@retrivora-ai/rag-engine 2.4.5 → 2.4.7
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/README.md +22 -0
- package/dist/{BatchProcessor-Csy_K1qQ.d.mts → BatchProcessor-BZhwvT6o.d.mts} +64 -5
- package/dist/{BatchProcessor-Dg18zZGk.d.ts → BatchProcessor-DlAkfGbv.d.ts} +64 -5
- package/dist/{ILLMProvider-Y6aL5N8J.d.mts → ILLMProvider-BYQd0Nys.d.mts} +1 -1
- package/dist/{ILLMProvider-Y6aL5N8J.d.ts → ILLMProvider-BYQd0Nys.d.ts} +1 -1
- package/dist/handlers/index.d.mts +2 -2
- package/dist/handlers/index.d.ts +2 -2
- package/dist/handlers/index.js +667 -859
- package/dist/handlers/index.mjs +677 -859
- package/dist/{index-59CHg0V3.d.mts → index-BTLsJ0da.d.mts} +1 -1
- package/dist/{index-BgKRInpa.d.ts → index-DtDY4Dwa.d.ts} +1 -1
- package/dist/index.css +51 -0
- package/dist/index.d.mts +74 -30
- package/dist/index.d.ts +74 -30
- package/dist/index.js +661 -350
- package/dist/index.min.css +1 -1
- package/dist/index.mjs +624 -316
- package/dist/server.d.mts +25 -11
- package/dist/server.d.ts +25 -11
- package/dist/server.js +729 -897
- package/dist/server.mjs +739 -897
- package/package.json +11 -2
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
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, MouseEvent, ReactNode, ElementType } from 'react';
|
|
2
|
-
import { W as WidgetPosition,
|
|
2
|
+
import { W as WidgetPosition, P as Product, u as UIConfig, c as ProjectChatSettings, q as RagMessage, y as VectorMatch, L as LLMConfig, f as EmbeddingConfig, V as VectorDBConfig, U as UITransformationResponse, p as RagConfig, I as ILLMProvider, h as IngestDocument, C as ChatMessage, e as ChatResponse, _ as RetrievalResult, v as UniversalRagConfig } from './ILLMProvider-BYQd0Nys.mjs';
|
|
3
3
|
|
|
4
4
|
interface ArchitectureCardProps {
|
|
5
5
|
icon: ReactNode;
|
|
@@ -696,12 +696,58 @@ declare class LicenseValidator {
|
|
|
696
696
|
validate(request: LicenseValidationRequest): Promise<LicenseValidationResponse>;
|
|
697
697
|
}
|
|
698
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
|
+
|
|
699
737
|
/**
|
|
700
738
|
* BatchProcessor.ts — Handles batch operations with retry logic.
|
|
701
739
|
*
|
|
702
740
|
* Provides exponential backoff, partial failure tracking, and
|
|
703
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).
|
|
704
749
|
*/
|
|
750
|
+
|
|
705
751
|
interface BatchOptions {
|
|
706
752
|
/** Maximum number of items per batch */
|
|
707
753
|
batchSize?: number;
|
|
@@ -715,6 +761,15 @@ interface BatchOptions {
|
|
|
715
761
|
backoffMultiplier?: number;
|
|
716
762
|
/** Whether to throw on any partial failure */
|
|
717
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;
|
|
718
773
|
}
|
|
719
774
|
interface BatchResult<T> {
|
|
720
775
|
results: T[];
|
|
@@ -731,10 +786,14 @@ interface BatchResult<T> {
|
|
|
731
786
|
*/
|
|
732
787
|
declare function isTransientError(error: unknown): boolean;
|
|
733
788
|
declare class BatchProcessor {
|
|
734
|
-
private static readonly cb;
|
|
735
789
|
/**
|
|
736
|
-
* Execute a processor call through
|
|
737
|
-
* 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`.
|
|
738
797
|
*/
|
|
739
798
|
private static executeWithCircuitBreaker;
|
|
740
799
|
/**
|
|
@@ -772,4 +831,4 @@ declare class BatchProcessor {
|
|
|
772
831
|
static processConcurrent<T, R>(items: T[], processor: (item: T) => Promise<R>, concurrency?: number, options?: BatchOptions): Promise<BatchResult<R>>;
|
|
773
832
|
}
|
|
774
833
|
|
|
775
|
-
export {
|
|
834
|
+
export { type RenderSectionDecision as $, AuthenticationException as A, type BatchOptions as B, type ChatWidgetProps as C, type DocumentUploadProps as D, EmbeddingFailedException as E, type RemoteVectorConfig as F, type RenderDecision as G, type RenderType as H, type IRenderRule as I, RetrievalException as J, Retrivora as K, type LicenseTierConfig as L, type MessageBubbleProps as M, RetrivoraError as N, type RetrivoraErrorCode as O, type ProductCardProps as P, SDKVersionUnsupportedError as Q, type RemoteConfig as R, type SourceCardProps as S, SDK_VERSION as T, isTransientError as U, type ArchitectureCardProps 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, type ChatViewportSize as e, BatchProcessor as f, type BatchResult as g, type ChartType as h, type Chunk as i, type ChunkOptions as j, CircuitBreaker as k, type CircuitBreakerOptions as l, ConfigFetcher as m, ConfigurationException as n, type DecisionContext as o, type IRendererStrategy as p, type IntentCategory as q, LicenseValidationError as r, type LicenseValidationRequest as s, type LicenseValidationResponse as t, LicenseValidator as u, type ProviderCredentials as v, ProviderNotFoundException as w, RateLimitException as x, type RemoteEmbeddingConfig as y, type RemoteLLMConfig as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, MouseEvent, ReactNode, ElementType } from 'react';
|
|
2
|
-
import { W as WidgetPosition,
|
|
2
|
+
import { W as WidgetPosition, P as Product, u as UIConfig, c as ProjectChatSettings, q as RagMessage, y as VectorMatch, L as LLMConfig, f as EmbeddingConfig, V as VectorDBConfig, U as UITransformationResponse, p as RagConfig, I as ILLMProvider, h as IngestDocument, C as ChatMessage, e as ChatResponse, _ as RetrievalResult, v as UniversalRagConfig } from './ILLMProvider-BYQd0Nys.js';
|
|
3
3
|
|
|
4
4
|
interface ArchitectureCardProps {
|
|
5
5
|
icon: ReactNode;
|
|
@@ -696,12 +696,58 @@ declare class LicenseValidator {
|
|
|
696
696
|
validate(request: LicenseValidationRequest): Promise<LicenseValidationResponse>;
|
|
697
697
|
}
|
|
698
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
|
+
|
|
699
737
|
/**
|
|
700
738
|
* BatchProcessor.ts — Handles batch operations with retry logic.
|
|
701
739
|
*
|
|
702
740
|
* Provides exponential backoff, partial failure tracking, and
|
|
703
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).
|
|
704
749
|
*/
|
|
750
|
+
|
|
705
751
|
interface BatchOptions {
|
|
706
752
|
/** Maximum number of items per batch */
|
|
707
753
|
batchSize?: number;
|
|
@@ -715,6 +761,15 @@ interface BatchOptions {
|
|
|
715
761
|
backoffMultiplier?: number;
|
|
716
762
|
/** Whether to throw on any partial failure */
|
|
717
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;
|
|
718
773
|
}
|
|
719
774
|
interface BatchResult<T> {
|
|
720
775
|
results: T[];
|
|
@@ -731,10 +786,14 @@ interface BatchResult<T> {
|
|
|
731
786
|
*/
|
|
732
787
|
declare function isTransientError(error: unknown): boolean;
|
|
733
788
|
declare class BatchProcessor {
|
|
734
|
-
private static readonly cb;
|
|
735
789
|
/**
|
|
736
|
-
* Execute a processor call through
|
|
737
|
-
* 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`.
|
|
738
797
|
*/
|
|
739
798
|
private static executeWithCircuitBreaker;
|
|
740
799
|
/**
|
|
@@ -772,4 +831,4 @@ declare class BatchProcessor {
|
|
|
772
831
|
static processConcurrent<T, R>(items: T[], processor: (item: T) => Promise<R>, concurrency?: number, options?: BatchOptions): Promise<BatchResult<R>>;
|
|
773
832
|
}
|
|
774
833
|
|
|
775
|
-
export {
|
|
834
|
+
export { type RenderSectionDecision as $, AuthenticationException as A, type BatchOptions as B, type ChatWidgetProps as C, type DocumentUploadProps as D, EmbeddingFailedException as E, type RemoteVectorConfig as F, type RenderDecision as G, type RenderType as H, type IRenderRule as I, RetrievalException as J, Retrivora as K, type LicenseTierConfig as L, type MessageBubbleProps as M, RetrivoraError as N, type RetrivoraErrorCode as O, type ProductCardProps as P, SDKVersionUnsupportedError as Q, type RemoteConfig as R, type SourceCardProps as S, SDK_VERSION as T, isTransientError as U, type ArchitectureCardProps 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, type ChatViewportSize as e, BatchProcessor as f, type BatchResult as g, type ChartType as h, type Chunk as i, type ChunkOptions as j, CircuitBreaker as k, type CircuitBreakerOptions as l, ConfigFetcher as m, ConfigurationException as n, type DecisionContext as o, type IRendererStrategy as p, type IntentCategory as q, LicenseValidationError as r, type LicenseValidationRequest as s, type LicenseValidationResponse as t, LicenseValidator as u, type ProviderCredentials as v, ProviderNotFoundException as w, RateLimitException as x, type RemoteEmbeddingConfig as y, type RemoteLLMConfig as z };
|
|
@@ -679,4 +679,4 @@ interface ILLMProvider {
|
|
|
679
679
|
ping(): Promise<boolean>;
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
export { type RetrivoraChunkMetadata as $, type AuthMode as A,
|
|
682
|
+
export { type RetrivoraChunkMetadata as $, type AuthMode as A, createDefaultProjectSettings as B, type ChatMessage as C, normalizeProjectSettings as D, type EmbedOptions as E, projectSettingsToUiConfig as F, type GraphDBConfig as G, type GraphNode as H, type ILLMProvider as I, type Edge as J, type GraphSearchResult as K, type LLMConfig as L, type BarChartData as M, type CarouselProduct as N, type ObservabilityTrace as O, type Product as P, type IRetriever as Q, type RAGConfig as R, type LineChartDataPoint as S, type ThemeMode as T, type UITransformationResponse as U, type VectorDBConfig as V, type WidgetPosition as W, type MessageRole as X, type MetricCardData as Y, type PieChartData as Z, type RetrievalResult as _, type UseRagChatOptions as a, type RetrivoraIngestedDocument as a0, type ScatterPlotDataPoint as a1, type SuggestionsResponse as a2, type TableData as a3, type VisualizationType as a4, type UseRagChatReturn as b, type ProjectChatSettings as c, type ChatOptions as d, type ChatResponse as e, type EmbeddingConfig as f, type EmbeddingProvider as g, type IngestDocument as h, type LLMProvider as i, type LatencyBreakdown as j, type ProjectAiSettings as k, type ProjectAuthSettings as l, type ProjectBrandingSettings as m, type ProjectTelemetrySettings as n, type ProjectWidgetSettings as o, type RagConfig as p, type RagMessage as q, type RetrievalConfig as r, type RetrievedChunk as s, type TokenUsage as t, type UIConfig as u, type UniversalRagConfig as v, type UpsertDocument as w, type VectorDBProvider as x, type VectorMatch as y, type WorkflowConfig as z };
|
|
@@ -679,4 +679,4 @@ interface ILLMProvider {
|
|
|
679
679
|
ping(): Promise<boolean>;
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
export { type RetrivoraChunkMetadata as $, type AuthMode as A,
|
|
682
|
+
export { type RetrivoraChunkMetadata as $, type AuthMode as A, createDefaultProjectSettings as B, type ChatMessage as C, normalizeProjectSettings as D, type EmbedOptions as E, projectSettingsToUiConfig as F, type GraphDBConfig as G, type GraphNode as H, type ILLMProvider as I, type Edge as J, type GraphSearchResult as K, type LLMConfig as L, type BarChartData as M, type CarouselProduct as N, type ObservabilityTrace as O, type Product as P, type IRetriever as Q, type RAGConfig as R, type LineChartDataPoint as S, type ThemeMode as T, type UITransformationResponse as U, type VectorDBConfig as V, type WidgetPosition as W, type MessageRole as X, type MetricCardData as Y, type PieChartData as Z, type RetrievalResult as _, type UseRagChatOptions as a, type RetrivoraIngestedDocument as a0, type ScatterPlotDataPoint as a1, type SuggestionsResponse as a2, type TableData as a3, type VisualizationType as a4, type UseRagChatReturn as b, type ProjectChatSettings as c, type ChatOptions as d, type ChatResponse as e, type EmbeddingConfig as f, type EmbeddingProvider as g, type IngestDocument as h, type LLMProvider as i, type LatencyBreakdown as j, type ProjectAiSettings as k, type ProjectAuthSettings as l, type ProjectBrandingSettings as m, type ProjectTelemetrySettings as n, type ProjectWidgetSettings as o, type RagConfig as p, type RagMessage as q, type RetrievalConfig as r, type RetrievedChunk as s, type TokenUsage as t, type UIConfig as u, type UniversalRagConfig as v, type UpsertDocument as w, type VectorDBProvider as x, type VectorMatch as y, type WorkflowConfig as z };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'next/server';
|
|
2
|
-
export { b as HandlerOptions, d as createChatHandler, e as createFeedbackHandler, f as createHealthHandler, g as createHistoryHandler, h as createIngestHandler, p as createLicenseHandler, i as createRagHandler, j as createSessionsHandler, k as createStreamHandler, q as createSuggestionsHandler, l as createUploadHandler, s as sseErrorFrame, m as sseFrame, n as sseMetaFrame, r as sseObservabilityFrame, o as sseTextFrame, t as sseUIFrame } from '../index-
|
|
3
|
-
import '../ILLMProvider-
|
|
2
|
+
export { b as HandlerOptions, d as createChatHandler, e as createFeedbackHandler, f as createHealthHandler, g as createHistoryHandler, h as createIngestHandler, p as createLicenseHandler, i as createRagHandler, j as createSessionsHandler, k as createStreamHandler, q as createSuggestionsHandler, l as createUploadHandler, s as sseErrorFrame, m as sseFrame, n as sseMetaFrame, r as sseObservabilityFrame, o as sseTextFrame, t as sseUIFrame } from '../index-BTLsJ0da.mjs';
|
|
3
|
+
import '../ILLMProvider-BYQd0Nys.mjs';
|
package/dist/handlers/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'next/server';
|
|
2
|
-
export { b as HandlerOptions, d as createChatHandler, e as createFeedbackHandler, f as createHealthHandler, g as createHistoryHandler, h as createIngestHandler, p as createLicenseHandler, i as createRagHandler, j as createSessionsHandler, k as createStreamHandler, q as createSuggestionsHandler, l as createUploadHandler, s as sseErrorFrame, m as sseFrame, n as sseMetaFrame, r as sseObservabilityFrame, o as sseTextFrame, t as sseUIFrame } from '../index-
|
|
3
|
-
import '../ILLMProvider-
|
|
2
|
+
export { b as HandlerOptions, d as createChatHandler, e as createFeedbackHandler, f as createHealthHandler, g as createHistoryHandler, h as createIngestHandler, p as createLicenseHandler, i as createRagHandler, j as createSessionsHandler, k as createStreamHandler, q as createSuggestionsHandler, l as createUploadHandler, s as sseErrorFrame, m as sseFrame, n as sseMetaFrame, r as sseObservabilityFrame, o as sseTextFrame, t as sseUIFrame } from '../index-DtDY4Dwa.js';
|
|
3
|
+
import '../ILLMProvider-BYQd0Nys.js';
|