@absolutejs/rag 0.0.1 → 0.0.3

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 (94) hide show
  1. package/dist/ai/client/index.js +12 -49
  2. package/dist/ai/client/index.js.map +8 -8
  3. package/dist/ai/client/ui.js +12 -49
  4. package/dist/ai/client/ui.js.map +5 -5
  5. package/dist/ai/rag/index.js +34 -157
  6. package/dist/ai/rag/index.js.map +30 -30
  7. package/dist/ai/rag/quality.js +12 -49
  8. package/dist/ai/rag/quality.js.map +5 -5
  9. package/dist/ai/rag/ui.js +12 -49
  10. package/dist/ai/rag/ui.js.map +5 -5
  11. package/dist/angular/ai/index.js.map +8 -8
  12. package/dist/react/ai/index.js.map +22 -22
  13. package/dist/src/ai/client/createRAGAnswerWorkflow.d.ts +1 -1
  14. package/dist/src/ai/client/createRAGStream.d.ts +2 -2
  15. package/dist/src/ai/client/createRAGWorkflow.d.ts +3 -3
  16. package/dist/src/ai/client/index.d.ts +8 -8
  17. package/dist/src/ai/client/ragClient.d.ts +6 -6
  18. package/dist/src/ai/client/ui.d.ts +5 -5
  19. package/dist/src/ai/rag/accessControl.d.ts +1 -1
  20. package/dist/src/ai/rag/adapters/inMemory.d.ts +2 -2
  21. package/dist/src/ai/rag/adapters/postgres.d.ts +3 -3
  22. package/dist/src/ai/rag/adapters/sqlite.d.ts +4 -4
  23. package/dist/src/ai/rag/chat.d.ts +2 -2
  24. package/dist/src/ai/rag/collection.d.ts +1 -1
  25. package/dist/src/ai/rag/emailProviders.d.ts +1 -1
  26. package/dist/src/ai/rag/embedding.d.ts +1 -1
  27. package/dist/src/ai/rag/embeddingProviders.d.ts +1 -1
  28. package/dist/src/ai/rag/extractorProviders.d.ts +1 -1
  29. package/dist/src/ai/rag/grounding.d.ts +1 -1
  30. package/dist/src/ai/rag/htmxConfig.d.ts +1 -1
  31. package/dist/src/ai/rag/htmxWorkflowRenderers.d.ts +1 -1
  32. package/dist/src/ai/rag/index.d.ts +31 -30
  33. package/dist/src/ai/rag/ingestion.d.ts +1 -1
  34. package/dist/src/ai/rag/jobState.d.ts +1 -1
  35. package/dist/src/ai/rag/lexical.d.ts +2 -2
  36. package/dist/src/ai/rag/presentation.d.ts +9 -9
  37. package/dist/src/ai/rag/quality.d.ts +67 -67
  38. package/dist/src/ai/rag/queryTransforms.d.ts +2 -2
  39. package/dist/src/ai/rag/reranking.d.ts +2 -2
  40. package/dist/src/ai/rag/resolveAbsoluteSQLiteVec.d.ts +1 -1
  41. package/dist/src/ai/rag/retrievalStrategies.d.ts +1 -1
  42. package/dist/src/ai/rag/sync.d.ts +2 -2
  43. package/dist/src/ai/rag/types.d.ts +4 -4
  44. package/dist/src/ai/rag/ui.d.ts +4 -4
  45. package/dist/src/ai/rag/workflowState.d.ts +1 -1
  46. package/dist/src/angular/ai/ai-rag-stream.service.d.ts +1 -1
  47. package/dist/src/angular/ai/ai-rag-workflow.service.d.ts +1 -1
  48. package/dist/src/angular/ai/index.d.ts +3 -3
  49. package/dist/src/angular/ai/rag-client.service.d.ts +42 -42
  50. package/dist/src/react/ai/index.d.ts +18 -18
  51. package/dist/src/react/ai/useRAGChunkPreview.d.ts +1 -1
  52. package/dist/src/react/ai/useRAGCitations.d.ts +1 -1
  53. package/dist/src/react/ai/useRAGDocuments.d.ts +1 -1
  54. package/dist/src/react/ai/useRAGEvaluate.d.ts +1 -1
  55. package/dist/src/react/ai/useRAGGrounding.d.ts +1 -1
  56. package/dist/src/react/ai/useRAGIndexAdmin.d.ts +1 -1
  57. package/dist/src/react/ai/useRAGIngest.d.ts +1 -1
  58. package/dist/src/react/ai/useRAGOps.d.ts +1 -1
  59. package/dist/src/react/ai/useRAGSearch.d.ts +3 -3
  60. package/dist/src/react/ai/useRAGSources.d.ts +1 -1
  61. package/dist/src/react/ai/useRAGStatus.d.ts +1 -1
  62. package/dist/src/react/ai/useRAGStream.d.ts +1 -1
  63. package/dist/src/react/ai/useRAGStreamProgress.d.ts +2 -2
  64. package/dist/src/svelte/ai/createRAGChunkPreview.d.ts +1 -1
  65. package/dist/src/svelte/ai/createRAGCitations.d.ts +2 -2
  66. package/dist/src/svelte/ai/createRAGDocuments.d.ts +1 -1
  67. package/dist/src/svelte/ai/createRAGEvaluate.d.ts +1 -1
  68. package/dist/src/svelte/ai/createRAGGrounding.d.ts +2 -2
  69. package/dist/src/svelte/ai/createRAGIndexAdmin.d.ts +1 -1
  70. package/dist/src/svelte/ai/createRAGIngest.d.ts +1 -1
  71. package/dist/src/svelte/ai/createRAGOps.d.ts +1 -1
  72. package/dist/src/svelte/ai/createRAGSearch.d.ts +3 -3
  73. package/dist/src/svelte/ai/createRAGSources.d.ts +2 -2
  74. package/dist/src/svelte/ai/createRAGStatus.d.ts +1 -1
  75. package/dist/src/svelte/ai/createRAGStream.d.ts +1 -1
  76. package/dist/src/svelte/ai/createRAGStreamProgress.d.ts +2 -2
  77. package/dist/src/svelte/ai/index.d.ts +17 -17
  78. package/dist/src/vue/ai/index.d.ts +17 -17
  79. package/dist/src/vue/ai/useRAGChunkPreview.d.ts +1 -1
  80. package/dist/src/vue/ai/useRAGCitations.d.ts +2 -2
  81. package/dist/src/vue/ai/useRAGDocuments.d.ts +1 -1
  82. package/dist/src/vue/ai/useRAGEvaluate.d.ts +1 -1
  83. package/dist/src/vue/ai/useRAGGrounding.d.ts +2 -2
  84. package/dist/src/vue/ai/useRAGIndexAdmin.d.ts +1 -1
  85. package/dist/src/vue/ai/useRAGIngest.d.ts +1 -1
  86. package/dist/src/vue/ai/useRAGOps.d.ts +1 -1
  87. package/dist/src/vue/ai/useRAGSearch.d.ts +3 -3
  88. package/dist/src/vue/ai/useRAGSources.d.ts +2 -2
  89. package/dist/src/vue/ai/useRAGStatus.d.ts +1 -1
  90. package/dist/src/vue/ai/useRAGStream.d.ts +1 -1
  91. package/dist/src/vue/ai/useRAGStreamProgress.d.ts +2 -2
  92. package/dist/svelte/ai/index.js.map +20 -20
  93. package/dist/vue/ai/index.js.map +20 -20
  94. package/package.json +104 -79
@@ -1,6 +1,6 @@
1
- import type { Database } from 'bun:sqlite';
2
- import type { RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGCollection, RAGEvaluationCase, RAGEvaluationCaseTraceSnapshot, RAGEvaluationCaseResult, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationInput, RAGEvaluationLeaderboardEntry, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGDocumentChunk, RAGEvaluationSuite, RAGEvaluationSuiteGenerationOptions, RAGEvaluationSuiteDatasetSummary, RAGEvaluationSuiteSnapshot, RAGEvaluationSuiteSnapshotDiff, RAGEvaluationSuiteSnapshotHistory, RAGEvaluationSuiteSnapshotHistoryStore, RAGEvaluationSuiteRun, RAGEvaluationEntityQualityView, RAGAnswerGroundingEntityQualityView, RAGRetrievalTraceSummaryRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalBaselineGatePolicy, RAGRetrievalBaselineGatePolicyHistoryRecord, RAGRetrievalBaselineGatePolicyHistoryStore, RAGRetrievalComparisonDecisionSummary, RAGRetrievalReleaseVerdict, RAGRetrievalComparisonHistoryStore, RAGRetrievalBaselineRecord, RAGRetrievalBaselineStore, RAGRetrievalLaneHandoffDecisionRecord, RAGRetrievalLaneHandoffDecisionStore, RAGRetrievalLaneHandoffIncidentHistoryRecord, RAGRetrievalLaneHandoffIncidentHistoryStore, RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord, RAGRetrievalLaneHandoffAutoCompletePolicyHistoryStore, RAGRetrievalLaneHandoffIncidentRecord, RAGRetrievalLaneHandoffIncidentStore, RAGRetrievalIncidentRemediationDecisionRecord, RAGRetrievalIncidentRemediationDecisionStore, RAGRetrievalIncidentRemediationExecutionHistoryRecord, RAGRetrievalIncidentRemediationExecutionHistoryStore, RAGRetrievalReleaseDecisionRecord, RAGRetrievalReleaseLanePolicyHistoryRecord, RAGRetrievalReleaseLanePolicyHistoryStore, RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord, RAGRetrievalReleaseLaneEscalationPolicyHistoryStore, RAGRetrievalReleaseDecisionStore, RAGRetrievalReleaseIncidentRecord, RAGRetrievalReleaseIncidentStore, RAGRetrievalComparisonRun, RAGRetrievalComparisonEntry, RAGRetrievalTrace, RAGRetrievalTraceComparisonSummary, RAGRetrievalTraceComparisonSummaryDiff, RAGRetrievalComparisonSummary, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerProviderLike, RAGRetrievalTraceTrend, RAGSearchTraceDiff, RAGSearchTraceGroupHistory, RAGSearchTraceHistory, RAGChatPluginConfig, RAGSearchTracePruneInput, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneRun, RAGSearchTracePrunePreview, RAGSearchTracePruneResult, RAGSearchTraceRecord, RAGSearchTraceStats, RAGSearchTraceStore, RAGRemediationAction, RAGSource, RAGSQLiteStoreMigrationInspection, RAGSQLiteStoreMigrationResult } from '@absolutejs/ai';
3
- export declare const buildRAGRetrievalReleaseVerdict: ({ groupKey, decisionSummary }: {
1
+ import type { Database } from "bun:sqlite";
2
+ import type { RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGCollection, RAGEvaluationCase, RAGEvaluationCaseTraceSnapshot, RAGEvaluationCaseResult, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationInput, RAGEvaluationLeaderboardEntry, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGDocumentChunk, RAGEvaluationSuite, RAGEvaluationSuiteGenerationOptions, RAGEvaluationSuiteDatasetSummary, RAGEvaluationSuiteSnapshot, RAGEvaluationSuiteSnapshotDiff, RAGEvaluationSuiteSnapshotHistory, RAGEvaluationSuiteSnapshotHistoryStore, RAGEvaluationSuiteRun, RAGEvaluationEntityQualityView, RAGAnswerGroundingEntityQualityView, RAGRetrievalTraceSummaryRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalBaselineGatePolicy, RAGRetrievalBaselineGatePolicyHistoryRecord, RAGRetrievalBaselineGatePolicyHistoryStore, RAGRetrievalComparisonDecisionSummary, RAGRetrievalReleaseVerdict, RAGRetrievalComparisonHistoryStore, RAGRetrievalBaselineRecord, RAGRetrievalBaselineStore, RAGRetrievalLaneHandoffDecisionRecord, RAGRetrievalLaneHandoffDecisionStore, RAGRetrievalLaneHandoffIncidentHistoryRecord, RAGRetrievalLaneHandoffIncidentHistoryStore, RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord, RAGRetrievalLaneHandoffAutoCompletePolicyHistoryStore, RAGRetrievalLaneHandoffIncidentRecord, RAGRetrievalLaneHandoffIncidentStore, RAGRetrievalIncidentRemediationDecisionRecord, RAGRetrievalIncidentRemediationDecisionStore, RAGRetrievalIncidentRemediationExecutionHistoryRecord, RAGRetrievalIncidentRemediationExecutionHistoryStore, RAGRetrievalReleaseDecisionRecord, RAGRetrievalReleaseLanePolicyHistoryRecord, RAGRetrievalReleaseLanePolicyHistoryStore, RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord, RAGRetrievalReleaseLaneEscalationPolicyHistoryStore, RAGRetrievalReleaseDecisionStore, RAGRetrievalReleaseIncidentRecord, RAGRetrievalReleaseIncidentStore, RAGRetrievalComparisonRun, RAGRetrievalComparisonEntry, RAGRetrievalTrace, RAGRetrievalTraceComparisonSummary, RAGRetrievalTraceComparisonSummaryDiff, RAGRetrievalComparisonSummary, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerProviderLike, RAGRetrievalTraceTrend, RAGSearchTraceDiff, RAGSearchTraceGroupHistory, RAGSearchTraceHistory, RAGChatPluginConfig, RAGSearchTracePruneInput, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneRun, RAGSearchTracePrunePreview, RAGSearchTracePruneResult, RAGSearchTraceRecord, RAGSearchTraceStats, RAGSearchTraceStore, RAGRemediationAction, RAGSource, RAGSQLiteStoreMigrationInspection, RAGSQLiteStoreMigrationResult } from "@absolutejs/ai";
3
+ export declare const buildRAGRetrievalReleaseVerdict: ({ groupKey, decisionSummary, }: {
4
4
  groupKey?: string;
5
5
  decisionSummary?: RAGRetrievalComparisonDecisionSummary;
6
6
  }) => RAGRetrievalReleaseVerdict | undefined;
@@ -10,15 +10,15 @@ export declare const buildRAGAnswerGroundingCaseDifficultyLeaderboard: (entries:
10
10
  label: string;
11
11
  response: RAGAnswerGroundingEvaluationResponse;
12
12
  }>) => RAGAnswerGroundingEvaluationCaseDifficultyEntry[];
13
- export declare const buildRAGAnswerGroundingCaseDifficultyRunDiff: ({ current, previous }: {
13
+ export declare const buildRAGAnswerGroundingCaseDifficultyRunDiff: ({ current, previous, }: {
14
14
  current: RAGAnswerGroundingCaseDifficultyRun;
15
15
  previous?: RAGAnswerGroundingCaseDifficultyRun;
16
16
  }) => RAGAnswerGroundingCaseDifficultyRunDiff;
17
- export declare const buildRAGEvaluationRunDiff: ({ current, previous }: {
17
+ export declare const buildRAGEvaluationRunDiff: ({ current, previous, }: {
18
18
  current: RAGEvaluationSuiteRun;
19
19
  previous?: RAGEvaluationSuiteRun;
20
20
  }) => RAGEvaluationRunDiff;
21
- export declare const buildRAGAnswerGroundingEvaluationRunDiff: ({ current, previous }: {
21
+ export declare const buildRAGAnswerGroundingEvaluationRunDiff: ({ current, previous, }: {
22
22
  current: RAGAnswerGroundingEvaluationRun;
23
23
  previous?: RAGAnswerGroundingEvaluationRun;
24
24
  }) => RAGAnswerGroundingEvaluationRunDiff;
@@ -168,86 +168,86 @@ export declare const createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore: (op
168
168
  export declare const createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore: (options: SQLiteRAGRetrievalReleaseLaneEscalationPolicyHistoryStoreOptions) => RAGRetrievalReleaseLaneEscalationPolicyHistoryStore;
169
169
  export declare const createRAGFileAnswerGroundingEvaluationHistoryStore: (path: string) => RAGAnswerGroundingEvaluationHistoryStore;
170
170
  export declare const createRAGFileAnswerGroundingCaseDifficultyHistoryStore: (path: string) => RAGAnswerGroundingCaseDifficultyHistoryStore;
171
- export declare const loadRAGEvaluationHistory: ({ store, suite, limit }: {
171
+ export declare const loadRAGEvaluationHistory: ({ store, suite, limit, }: {
172
172
  store: RAGEvaluationHistoryStore;
173
173
  suite: RAGEvaluationSuite;
174
174
  limit?: number;
175
175
  }) => Promise<RAGEvaluationHistory>;
176
- export declare const loadRAGEvaluationSuiteSnapshotHistory: ({ store, suite, limit }: {
176
+ export declare const loadRAGEvaluationSuiteSnapshotHistory: ({ store, suite, limit, }: {
177
177
  store: RAGEvaluationSuiteSnapshotHistoryStore;
178
178
  suite: Pick<RAGEvaluationSuite, "id" | "label">;
179
179
  limit?: number;
180
180
  }) => Promise<RAGEvaluationSuiteSnapshotHistory>;
181
- export declare const loadRAGSearchTraceHistory: ({ store, query, groupKey, tag, limit }: {
181
+ export declare const loadRAGSearchTraceHistory: ({ store, query, groupKey, tag, limit, }: {
182
182
  store: RAGSearchTraceStore;
183
183
  query?: string;
184
184
  groupKey?: string;
185
185
  tag?: string;
186
186
  limit?: number;
187
187
  }) => Promise<RAGSearchTraceHistory>;
188
- export declare const loadRAGSearchTraceGroupHistory: ({ store, tag, limit }: {
188
+ export declare const loadRAGSearchTraceGroupHistory: ({ store, tag, limit, }: {
189
189
  store: RAGSearchTraceStore;
190
190
  tag?: string;
191
191
  limit?: number;
192
192
  }) => Promise<RAGSearchTraceGroupHistory>;
193
- export declare const summarizeRAGSearchTraceStore: ({ store, tag }: {
193
+ export declare const summarizeRAGSearchTraceStore: ({ store, tag, }: {
194
194
  store: RAGSearchTraceStore;
195
195
  tag?: string;
196
196
  }) => Promise<RAGSearchTraceStats>;
197
- export declare const previewRAGSearchTraceStorePrune: ({ store, input }: {
197
+ export declare const previewRAGSearchTraceStorePrune: ({ store, input, }: {
198
198
  store: RAGSearchTraceStore;
199
199
  input?: RAGSearchTracePruneInput;
200
200
  }) => Promise<RAGSearchTracePrunePreview>;
201
- export declare const loadRAGAnswerGroundingEvaluationHistory: ({ store, suite, limit }: {
201
+ export declare const loadRAGAnswerGroundingEvaluationHistory: ({ store, suite, limit, }: {
202
202
  store: RAGAnswerGroundingEvaluationHistoryStore;
203
203
  suite: Pick<RAGEvaluationSuite, "id" | "label">;
204
204
  limit?: number;
205
205
  }) => Promise<RAGAnswerGroundingEvaluationHistory>;
206
- export declare const loadRAGAnswerGroundingCaseDifficultyHistory: ({ store, suite, limit }: {
206
+ export declare const loadRAGAnswerGroundingCaseDifficultyHistory: ({ store, suite, limit, }: {
207
207
  store: RAGAnswerGroundingCaseDifficultyHistoryStore;
208
208
  suite: Pick<RAGEvaluationSuite, "id" | "label">;
209
209
  limit?: number;
210
210
  }) => Promise<RAGAnswerGroundingCaseDifficultyHistory>;
211
- export declare const persistRAGEvaluationSuiteRun: ({ store, run }: {
211
+ export declare const persistRAGEvaluationSuiteRun: ({ store, run, }: {
212
212
  store: RAGEvaluationHistoryStore;
213
213
  run: RAGEvaluationSuiteRun;
214
214
  }) => Promise<RAGEvaluationSuiteRun>;
215
- export declare const persistRAGAnswerGroundingEvaluationRun: ({ store, run }: {
215
+ export declare const persistRAGAnswerGroundingEvaluationRun: ({ store, run, }: {
216
216
  store: RAGAnswerGroundingEvaluationHistoryStore;
217
217
  run: RAGAnswerGroundingEvaluationRun;
218
218
  }) => Promise<RAGAnswerGroundingEvaluationRun>;
219
- export declare const persistRAGAnswerGroundingCaseDifficultyRun: ({ store, run }: {
219
+ export declare const persistRAGAnswerGroundingCaseDifficultyRun: ({ store, run, }: {
220
220
  store: RAGAnswerGroundingCaseDifficultyHistoryStore;
221
221
  run: RAGAnswerGroundingCaseDifficultyRun;
222
222
  }) => Promise<RAGAnswerGroundingCaseDifficultyRun>;
223
- export declare const persistRAGSearchTraceRecord: ({ store, record }: {
223
+ export declare const persistRAGSearchTraceRecord: ({ store, record, }: {
224
224
  store: RAGSearchTraceStore;
225
225
  record: RAGSearchTraceRecord;
226
226
  }) => Promise<RAGSearchTraceRecord>;
227
- export declare const pruneRAGSearchTraceStore: ({ store, input }: {
227
+ export declare const pruneRAGSearchTraceStore: ({ store, input, }: {
228
228
  store: RAGSearchTraceStore;
229
229
  input?: RAGSearchTracePruneInput;
230
230
  }) => Promise<RAGSearchTracePruneResult>;
231
- export declare const persistRAGSearchTracePruneRun: ({ store, run }: {
231
+ export declare const persistRAGSearchTracePruneRun: ({ store, run, }: {
232
232
  store: RAGSearchTracePruneHistoryStore;
233
233
  run: RAGSearchTracePruneRun;
234
234
  }) => Promise<RAGSearchTracePruneRun>;
235
- export declare const persistRAGRetrievalComparisonRun: ({ store, run }: {
235
+ export declare const persistRAGRetrievalComparisonRun: ({ store, run, }: {
236
236
  store: RAGRetrievalComparisonHistoryStore;
237
237
  run: RAGRetrievalComparisonRun;
238
238
  }) => Promise<RAGRetrievalComparisonRun>;
239
- export declare const buildRAGRetrievalComparisonDecisionSummary: ({ comparison, baselineRetrievalId, candidateRetrievalId, policy }: {
239
+ export declare const buildRAGRetrievalComparisonDecisionSummary: ({ comparison, baselineRetrievalId, candidateRetrievalId, policy, }: {
240
240
  comparison: RAGRetrievalComparison;
241
241
  baselineRetrievalId?: string;
242
242
  candidateRetrievalId?: string;
243
243
  policy?: RAGRetrievalBaselineGatePolicy;
244
244
  }) => RAGRetrievalComparisonDecisionSummary | undefined;
245
- export declare const loadRAGSearchTracePruneHistory: ({ store, limit, trigger }: {
245
+ export declare const loadRAGSearchTracePruneHistory: ({ store, limit, trigger, }: {
246
246
  store: RAGSearchTracePruneHistoryStore;
247
247
  limit?: number;
248
248
  trigger?: RAGSearchTracePruneRun["trigger"];
249
249
  }) => Promise<RAGSearchTracePruneRun[]>;
250
- export declare const loadRAGRetrievalComparisonHistory: ({ store, limit, suiteId, label, winnerId, corpusGroupKey, groupKey, tag }: {
250
+ export declare const loadRAGRetrievalComparisonHistory: ({ store, limit, suiteId, label, winnerId, corpusGroupKey, groupKey, tag, }: {
251
251
  store: RAGRetrievalComparisonHistoryStore;
252
252
  limit?: number;
253
253
  suiteId?: string;
@@ -257,7 +257,7 @@ export declare const loadRAGRetrievalComparisonHistory: ({ store, limit, suiteId
257
257
  groupKey?: string;
258
258
  tag?: string;
259
259
  }) => Promise<RAGRetrievalComparisonRun[]>;
260
- export declare const loadRAGRetrievalBaselines: ({ store, corpusGroupKey, groupKey, tag, limit, status }: {
260
+ export declare const loadRAGRetrievalBaselines: ({ store, corpusGroupKey, groupKey, tag, limit, status, }: {
261
261
  store: RAGRetrievalBaselineStore;
262
262
  corpusGroupKey?: string;
263
263
  groupKey?: string;
@@ -265,18 +265,18 @@ export declare const loadRAGRetrievalBaselines: ({ store, corpusGroupKey, groupK
265
265
  limit?: number;
266
266
  status?: RAGRetrievalBaselineRecord["status"];
267
267
  }) => Promise<RAGRetrievalBaselineRecord[]>;
268
- export declare const persistRAGRetrievalBaseline: ({ store, record }: {
268
+ export declare const persistRAGRetrievalBaseline: ({ store, record, }: {
269
269
  store: RAGRetrievalBaselineStore;
270
270
  record: RAGRetrievalBaselineRecord;
271
271
  }) => Promise<RAGRetrievalBaselineRecord>;
272
- export declare const loadRAGRetrievalReleaseDecisions: ({ store, corpusGroupKey, groupKey, limit, kind }: {
272
+ export declare const loadRAGRetrievalReleaseDecisions: ({ store, corpusGroupKey, groupKey, limit, kind, }: {
273
273
  store: RAGRetrievalReleaseDecisionStore;
274
274
  corpusGroupKey?: string;
275
275
  groupKey?: string;
276
276
  limit?: number;
277
277
  kind?: RAGRetrievalReleaseDecisionRecord["kind"];
278
278
  }) => Promise<RAGRetrievalReleaseDecisionRecord[]>;
279
- export declare const loadRAGRetrievalLaneHandoffDecisions: ({ store, corpusGroupKey, groupKey, limit, kind, sourceRolloutLabel, targetRolloutLabel }: {
279
+ export declare const loadRAGRetrievalLaneHandoffDecisions: ({ store, corpusGroupKey, groupKey, limit, kind, sourceRolloutLabel, targetRolloutLabel, }: {
280
280
  store: RAGRetrievalLaneHandoffDecisionStore;
281
281
  corpusGroupKey?: string;
282
282
  groupKey?: string;
@@ -285,7 +285,7 @@ export declare const loadRAGRetrievalLaneHandoffDecisions: ({ store, corpusGroup
285
285
  sourceRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord["sourceRolloutLabel"];
286
286
  targetRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord["targetRolloutLabel"];
287
287
  }) => Promise<RAGRetrievalLaneHandoffDecisionRecord[]>;
288
- export declare const loadRAGRetrievalReleaseIncidents: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel, status, severity }: {
288
+ export declare const loadRAGRetrievalReleaseIncidents: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel, status, severity, }: {
289
289
  store: RAGRetrievalReleaseIncidentStore;
290
290
  corpusGroupKey?: string;
291
291
  groupKey?: string;
@@ -294,7 +294,7 @@ export declare const loadRAGRetrievalReleaseIncidents: ({ store, corpusGroupKey,
294
294
  status?: RAGRetrievalReleaseIncidentRecord["status"];
295
295
  severity?: RAGRetrievalReleaseIncidentRecord["severity"];
296
296
  }) => Promise<RAGRetrievalReleaseIncidentRecord[]>;
297
- export declare const loadRAGRetrievalLaneHandoffIncidents: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel, status, severity }: {
297
+ export declare const loadRAGRetrievalLaneHandoffIncidents: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel, status, severity, }: {
298
298
  store: RAGRetrievalLaneHandoffIncidentStore;
299
299
  corpusGroupKey?: string;
300
300
  groupKey?: string;
@@ -303,7 +303,7 @@ export declare const loadRAGRetrievalLaneHandoffIncidents: ({ store, corpusGroup
303
303
  status?: RAGRetrievalLaneHandoffIncidentRecord["status"];
304
304
  severity?: RAGRetrievalLaneHandoffIncidentRecord["severity"];
305
305
  }) => Promise<RAGRetrievalLaneHandoffIncidentRecord[]>;
306
- export declare const loadRAGRetrievalLaneHandoffIncidentHistory: ({ store, corpusGroupKey, action, groupKey, incidentId, limit, targetRolloutLabel }: {
306
+ export declare const loadRAGRetrievalLaneHandoffIncidentHistory: ({ store, corpusGroupKey, action, groupKey, incidentId, limit, targetRolloutLabel, }: {
307
307
  store: RAGRetrievalLaneHandoffIncidentHistoryStore;
308
308
  corpusGroupKey?: string;
309
309
  action?: RAGRetrievalLaneHandoffIncidentHistoryRecord["action"];
@@ -312,7 +312,7 @@ export declare const loadRAGRetrievalLaneHandoffIncidentHistory: ({ store, corpu
312
312
  limit?: number;
313
313
  targetRolloutLabel?: RAGRetrievalLaneHandoffIncidentRecord["targetRolloutLabel"];
314
314
  }) => Promise<RAGRetrievalLaneHandoffIncidentHistoryRecord[]>;
315
- export declare const loadRAGRetrievalIncidentRemediationDecisions: ({ store, groupKey, incidentId, limit, remediationKind, status, targetRolloutLabel }: {
315
+ export declare const loadRAGRetrievalIncidentRemediationDecisions: ({ store, groupKey, incidentId, limit, remediationKind, status, targetRolloutLabel, }: {
316
316
  store: RAGRetrievalIncidentRemediationDecisionStore;
317
317
  groupKey?: string;
318
318
  incidentId?: string;
@@ -321,7 +321,7 @@ export declare const loadRAGRetrievalIncidentRemediationDecisions: ({ store, gro
321
321
  status?: RAGRetrievalIncidentRemediationDecisionRecord["status"];
322
322
  targetRolloutLabel?: RAGRetrievalIncidentRemediationDecisionRecord["targetRolloutLabel"];
323
323
  }) => Promise<RAGRetrievalIncidentRemediationDecisionRecord[]>;
324
- export declare const loadRAGRetrievalIncidentRemediationExecutionHistory: ({ store, actionKind, blockedByGuardrail, code, groupKey, idempotentReplay, incidentId, limit, targetRolloutLabel }: {
324
+ export declare const loadRAGRetrievalIncidentRemediationExecutionHistory: ({ store, actionKind, blockedByGuardrail, code, groupKey, idempotentReplay, incidentId, limit, targetRolloutLabel, }: {
325
325
  store: RAGRetrievalIncidentRemediationExecutionHistoryStore;
326
326
  actionKind?: RAGRemediationAction["kind"];
327
327
  blockedByGuardrail?: boolean;
@@ -332,14 +332,14 @@ export declare const loadRAGRetrievalIncidentRemediationExecutionHistory: ({ sto
332
332
  limit?: number;
333
333
  targetRolloutLabel?: RAGRetrievalIncidentRemediationExecutionHistoryRecord["targetRolloutLabel"];
334
334
  }) => Promise<RAGRetrievalIncidentRemediationExecutionHistoryRecord[]>;
335
- export declare const loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel }: {
335
+ export declare const loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel, }: {
336
336
  store: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryStore;
337
337
  corpusGroupKey?: string;
338
338
  groupKey?: string;
339
339
  limit?: number;
340
340
  targetRolloutLabel?: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord["targetRolloutLabel"];
341
341
  }) => Promise<RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord[]>;
342
- export declare const loadRAGRetrievalReleaseLanePolicyHistory: ({ store, corpusGroupKey, groupKey, limit, rolloutLabel, scope }: {
342
+ export declare const loadRAGRetrievalReleaseLanePolicyHistory: ({ store, corpusGroupKey, groupKey, limit, rolloutLabel, scope, }: {
343
343
  store: RAGRetrievalReleaseLanePolicyHistoryStore;
344
344
  corpusGroupKey?: string;
345
345
  groupKey?: string;
@@ -347,7 +347,7 @@ export declare const loadRAGRetrievalReleaseLanePolicyHistory: ({ store, corpusG
347
347
  rolloutLabel?: RAGRetrievalReleaseLanePolicyHistoryRecord["rolloutLabel"];
348
348
  scope?: RAGRetrievalReleaseLanePolicyHistoryRecord["scope"];
349
349
  }) => Promise<RAGRetrievalReleaseLanePolicyHistoryRecord[]>;
350
- export declare const loadRAGRetrievalBaselineGatePolicyHistory: ({ store, corpusGroupKey, groupKey, limit, rolloutLabel, scope }: {
350
+ export declare const loadRAGRetrievalBaselineGatePolicyHistory: ({ store, corpusGroupKey, groupKey, limit, rolloutLabel, scope, }: {
351
351
  store: RAGRetrievalBaselineGatePolicyHistoryStore;
352
352
  corpusGroupKey?: string;
353
353
  groupKey?: string;
@@ -355,54 +355,54 @@ export declare const loadRAGRetrievalBaselineGatePolicyHistory: ({ store, corpus
355
355
  rolloutLabel?: RAGRetrievalBaselineGatePolicyHistoryRecord["rolloutLabel"];
356
356
  scope?: RAGRetrievalBaselineGatePolicyHistoryRecord["scope"];
357
357
  }) => Promise<RAGRetrievalBaselineGatePolicyHistoryRecord[]>;
358
- export declare const loadRAGRetrievalReleaseLaneEscalationPolicyHistory: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel }: {
358
+ export declare const loadRAGRetrievalReleaseLaneEscalationPolicyHistory: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel, }: {
359
359
  store: RAGRetrievalReleaseLaneEscalationPolicyHistoryStore;
360
360
  corpusGroupKey?: string;
361
361
  groupKey?: string;
362
362
  limit?: number;
363
363
  targetRolloutLabel?: RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord["targetRolloutLabel"];
364
364
  }) => Promise<RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord[]>;
365
- export declare const persistRAGRetrievalReleaseDecision: ({ store, record }: {
365
+ export declare const persistRAGRetrievalReleaseDecision: ({ store, record, }: {
366
366
  store: RAGRetrievalReleaseDecisionStore;
367
367
  record: RAGRetrievalReleaseDecisionRecord;
368
368
  }) => Promise<RAGRetrievalReleaseDecisionRecord>;
369
- export declare const persistRAGRetrievalLaneHandoffDecision: ({ store, record }: {
369
+ export declare const persistRAGRetrievalLaneHandoffDecision: ({ store, record, }: {
370
370
  store: RAGRetrievalLaneHandoffDecisionStore;
371
371
  record: RAGRetrievalLaneHandoffDecisionRecord;
372
372
  }) => Promise<RAGRetrievalLaneHandoffDecisionRecord>;
373
- export declare const persistRAGRetrievalReleaseIncident: ({ store, record }: {
373
+ export declare const persistRAGRetrievalReleaseIncident: ({ store, record, }: {
374
374
  store: RAGRetrievalReleaseIncidentStore;
375
375
  record: RAGRetrievalReleaseIncidentRecord;
376
376
  }) => Promise<RAGRetrievalReleaseIncidentRecord>;
377
- export declare const persistRAGRetrievalLaneHandoffIncident: ({ store, record }: {
377
+ export declare const persistRAGRetrievalLaneHandoffIncident: ({ store, record, }: {
378
378
  store: RAGRetrievalLaneHandoffIncidentStore;
379
379
  record: RAGRetrievalLaneHandoffIncidentRecord;
380
380
  }) => Promise<RAGRetrievalLaneHandoffIncidentRecord>;
381
- export declare const persistRAGRetrievalIncidentRemediationDecision: ({ store, record }: {
381
+ export declare const persistRAGRetrievalIncidentRemediationDecision: ({ store, record, }: {
382
382
  store: RAGRetrievalIncidentRemediationDecisionStore;
383
383
  record: RAGRetrievalIncidentRemediationDecisionRecord;
384
384
  }) => Promise<RAGRetrievalIncidentRemediationDecisionRecord>;
385
- export declare const persistRAGRetrievalIncidentRemediationExecutionHistory: ({ store, record }: {
385
+ export declare const persistRAGRetrievalIncidentRemediationExecutionHistory: ({ store, record, }: {
386
386
  store: RAGRetrievalIncidentRemediationExecutionHistoryStore;
387
387
  record: RAGRetrievalIncidentRemediationExecutionHistoryRecord;
388
388
  }) => Promise<RAGRetrievalIncidentRemediationExecutionHistoryRecord>;
389
- export declare const persistRAGRetrievalLaneHandoffIncidentHistory: ({ store, record }: {
389
+ export declare const persistRAGRetrievalLaneHandoffIncidentHistory: ({ store, record, }: {
390
390
  store: RAGRetrievalLaneHandoffIncidentHistoryStore;
391
391
  record: RAGRetrievalLaneHandoffIncidentHistoryRecord;
392
392
  }) => Promise<RAGRetrievalLaneHandoffIncidentHistoryRecord>;
393
- export declare const persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory: ({ store, record }: {
393
+ export declare const persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory: ({ store, record, }: {
394
394
  store: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryStore;
395
395
  record: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord;
396
396
  }) => Promise<RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord>;
397
- export declare const persistRAGRetrievalReleaseLanePolicyHistory: ({ store, record }: {
397
+ export declare const persistRAGRetrievalReleaseLanePolicyHistory: ({ store, record, }: {
398
398
  store: RAGRetrievalReleaseLanePolicyHistoryStore;
399
399
  record: RAGRetrievalReleaseLanePolicyHistoryRecord;
400
400
  }) => Promise<RAGRetrievalReleaseLanePolicyHistoryRecord>;
401
- export declare const persistRAGRetrievalBaselineGatePolicyHistory: ({ store, record }: {
401
+ export declare const persistRAGRetrievalBaselineGatePolicyHistory: ({ store, record, }: {
402
402
  store: RAGRetrievalBaselineGatePolicyHistoryStore;
403
403
  record: RAGRetrievalBaselineGatePolicyHistoryRecord;
404
404
  }) => Promise<RAGRetrievalBaselineGatePolicyHistoryRecord>;
405
- export declare const persistRAGRetrievalReleaseLaneEscalationPolicyHistory: ({ store, record }: {
405
+ export declare const persistRAGRetrievalReleaseLaneEscalationPolicyHistory: ({ store, record, }: {
406
406
  store: RAGRetrievalReleaseLaneEscalationPolicyHistoryStore;
407
407
  record: RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord;
408
408
  }) => Promise<RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord>;
@@ -410,19 +410,19 @@ export declare const createRAGSQLiteGovernanceStores: (options?: SQLiteRAGGovern
410
410
  export declare const buildRAGEvaluationResponse: (cases: RAGEvaluationCaseResult[]) => RAGEvaluationResponse;
411
411
  export declare const buildRAGEvaluationEntityQualityView: (response: RAGEvaluationResponse) => RAGEvaluationEntityQualityView;
412
412
  export declare const buildRAGAnswerGroundingEntityQualityView: (response: RAGAnswerGroundingEvaluationResponse) => RAGAnswerGroundingEntityQualityView;
413
- export declare const evaluateRAGAnswerGroundingCase: ({ caseIndex, caseInput }: {
413
+ export declare const evaluateRAGAnswerGroundingCase: ({ caseIndex, caseInput, }: {
414
414
  caseIndex: number;
415
415
  caseInput: RAGAnswerGroundingEvaluationCase;
416
416
  }) => RAGAnswerGroundingEvaluationCaseResult;
417
417
  export declare const buildRAGAnswerGroundingEvaluationResponse: (cases: RAGAnswerGroundingEvaluationCaseResult[]) => RAGAnswerGroundingEvaluationResponse;
418
418
  export declare const evaluateRAGAnswerGrounding: (input: RAGAnswerGroundingEvaluationInput) => RAGAnswerGroundingEvaluationResponse;
419
- export declare const compareRAGRerankers: ({ collection, suite, rerankers, defaultTopK }: {
419
+ export declare const compareRAGRerankers: ({ collection, suite, rerankers, defaultTopK, }: {
420
420
  collection: RAGCollection;
421
421
  suite: RAGEvaluationSuite;
422
422
  rerankers: RAGRerankerCandidate[];
423
423
  defaultTopK?: number;
424
424
  }) => Promise<RAGRerankerComparison>;
425
- export declare const compareRAGRetrievalStrategies: ({ collection, suite, retrievals, defaultTopK }: {
425
+ export declare const compareRAGRetrievalStrategies: ({ collection, suite, retrievals, defaultTopK, }: {
426
426
  collection: RAGCollection;
427
427
  suite: RAGEvaluationSuite;
428
428
  retrievals: RAGRetrievalCandidate[];
@@ -448,53 +448,53 @@ export declare const buildRAGSearchTraceRecord: (input: {
448
448
  elapsedMs?: number;
449
449
  metadata?: Record<string, unknown>;
450
450
  }) => RAGSearchTraceRecord;
451
- export declare const buildRAGSearchTraceDiff: ({ current, previous }: {
451
+ export declare const buildRAGSearchTraceDiff: ({ current, previous, }: {
452
452
  current: RAGSearchTraceRecord;
453
453
  previous?: RAGSearchTraceRecord;
454
454
  }) => RAGSearchTraceDiff;
455
- export declare const buildRAGRetrievalTraceHistoryTrend: ({ runs }: {
455
+ export declare const buildRAGRetrievalTraceHistoryTrend: ({ runs, }: {
456
456
  runs: RAGRetrievalTraceSummaryRun[];
457
457
  }) => RAGRetrievalTraceTrend;
458
458
  export declare const createRAGEvaluationSuite: (suite: RAGEvaluationSuite) => RAGEvaluationSuite;
459
- export declare const addRAGEvaluationSuiteCase: ({ suite, caseInput, index }: {
459
+ export declare const addRAGEvaluationSuiteCase: ({ suite, caseInput, index, }: {
460
460
  suite: RAGEvaluationSuite;
461
461
  caseInput: RAGEvaluationCase;
462
462
  index?: number;
463
463
  }) => RAGEvaluationSuite;
464
- export declare const updateRAGEvaluationSuiteCase: ({ suite, caseId, caseInput }: {
464
+ export declare const updateRAGEvaluationSuiteCase: ({ suite, caseId, caseInput, }: {
465
465
  suite: RAGEvaluationSuite;
466
466
  caseId: string;
467
467
  caseInput: RAGEvaluationCase;
468
468
  }) => RAGEvaluationSuite;
469
- export declare const removeRAGEvaluationSuiteCase: ({ suite, caseId }: {
469
+ export declare const removeRAGEvaluationSuiteCase: ({ suite, caseId, }: {
470
470
  suite: RAGEvaluationSuite;
471
471
  caseId: string;
472
472
  }) => RAGEvaluationSuite;
473
- export declare const reorderRAGEvaluationSuiteCases: ({ suite, caseIds }: {
473
+ export declare const reorderRAGEvaluationSuiteCases: ({ suite, caseIds, }: {
474
474
  suite: RAGEvaluationSuite;
475
475
  caseIds: string[];
476
476
  }) => RAGEvaluationSuite;
477
- export declare const setRAGEvaluationSuiteCaseGoldenSet: ({ suite, caseId, goldenSet }: {
477
+ export declare const setRAGEvaluationSuiteCaseGoldenSet: ({ suite, caseId, goldenSet, }: {
478
478
  suite: RAGEvaluationSuite;
479
479
  caseId: string;
480
480
  goldenSet: boolean;
481
481
  }) => RAGEvaluationSuite;
482
- export declare const addRAGEvaluationSuiteCaseHardNegative: ({ suite, caseId, kind, value }: {
482
+ export declare const addRAGEvaluationSuiteCaseHardNegative: ({ suite, caseId, kind, value, }: {
483
483
  suite: RAGEvaluationSuite;
484
484
  caseId: string;
485
485
  kind: "chunkId" | "source" | "documentId";
486
486
  value: string;
487
487
  }) => RAGEvaluationSuite;
488
- export declare const removeRAGEvaluationSuiteCaseHardNegative: ({ suite, caseId, kind, value }: {
488
+ export declare const removeRAGEvaluationSuiteCaseHardNegative: ({ suite, caseId, kind, value, }: {
489
489
  suite: RAGEvaluationSuite;
490
490
  caseId: string;
491
491
  kind: "chunkId" | "source" | "documentId";
492
492
  value: string;
493
493
  }) => RAGEvaluationSuite;
494
- export declare const summarizeRAGEvaluationSuiteDataset: ({ suite }: {
494
+ export declare const summarizeRAGEvaluationSuiteDataset: ({ suite, }: {
495
495
  suite: RAGEvaluationSuite;
496
496
  }) => RAGEvaluationSuiteDatasetSummary;
497
- export declare const generateRAGEvaluationSuiteFromDocuments: ({ suiteId, documents, label, description, maxCases, topK, scoreThreshold, filter, retrieval, includeGoldenSet, hardNegativePerCase, metadata }: RAGEvaluationSuiteGenerationOptions) => RAGEvaluationSuite;
497
+ export declare const generateRAGEvaluationSuiteFromDocuments: ({ suiteId, documents, label, description, maxCases, topK, scoreThreshold, filter, retrieval, includeGoldenSet, hardNegativePerCase, metadata, }: RAGEvaluationSuiteGenerationOptions) => RAGEvaluationSuite;
498
498
  export declare const createRAGNativeBackendBenchmarkMockEmbedding: (text: string) => Promise<number[]>;
499
499
  export declare const createRAGNativeBackendBenchmarkCorpus: (input?: {
500
500
  backend?: "generic" | "sqlite-native" | "postgres";
@@ -556,25 +556,25 @@ export declare const createRAGSpreadsheetCueBenchmarkSnapshot: (input?: {
556
556
  createdAt?: number;
557
557
  metadata?: Record<string, unknown>;
558
558
  }) => RAGEvaluationSuiteSnapshot;
559
- export declare const createRAGEvaluationSuiteSnapshot: ({ suite, id, version, createdAt, metadata }: {
559
+ export declare const createRAGEvaluationSuiteSnapshot: ({ suite, id, version, createdAt, metadata, }: {
560
560
  suite: RAGEvaluationSuite;
561
561
  id?: string;
562
562
  version?: number;
563
563
  createdAt?: number;
564
564
  metadata?: Record<string, unknown>;
565
565
  }) => RAGEvaluationSuiteSnapshot;
566
- export declare const buildRAGEvaluationSuiteSnapshotDiff: ({ current, previous }: {
566
+ export declare const buildRAGEvaluationSuiteSnapshotDiff: ({ current, previous, }: {
567
567
  current: RAGEvaluationSuiteSnapshot;
568
568
  previous?: RAGEvaluationSuiteSnapshot;
569
569
  }) => RAGEvaluationSuiteSnapshotDiff;
570
- export declare const evaluateRAGCollection: ({ collection, input, defaultTopK, rerank }: {
570
+ export declare const evaluateRAGCollection: ({ collection, input, defaultTopK, rerank, }: {
571
571
  collection: RAGCollection;
572
572
  input: RAGEvaluationInput;
573
573
  defaultTopK?: number;
574
574
  rerank?: RAGRerankerProviderLike;
575
575
  }) => Promise<RAGEvaluationResponse>;
576
576
  export declare const executeDryRunRAGEvaluation: (input: RAGEvaluationInput, defaultTopK?: number) => RAGEvaluationCaseResult[];
577
- export declare const runRAGEvaluationSuite: ({ suite, evaluate, overrides, artifacts }: {
577
+ export declare const runRAGEvaluationSuite: ({ suite, evaluate, overrides, artifacts, }: {
578
578
  suite: RAGEvaluationSuite;
579
579
  evaluate: (input: RAGEvaluationInput) => Promise<RAGEvaluationResponse>;
580
580
  overrides?: Partial<RAGEvaluationInput>;
@@ -591,7 +591,7 @@ export declare const runRAGEvaluationSuite: ({ suite, evaluate, overrides, artif
591
591
  suiteId: string;
592
592
  traceSummary: RAGRetrievalTraceComparisonSummary | undefined;
593
593
  }>;
594
- export declare const summarizeRAGEvaluationCase: ({ caseIndex, caseInput, query, mode, retrievedIds, expectedIds, elapsedMs, retrievedSources, trace }: {
594
+ export declare const summarizeRAGEvaluationCase: ({ caseIndex, caseInput, query, mode, retrievedIds, expectedIds, elapsedMs, retrievedSources, trace, }: {
595
595
  caseIndex: number;
596
596
  caseInput: RAGEvaluationCase;
597
597
  mode: "chunkId" | "source" | "documentId";
@@ -1,4 +1,4 @@
1
- import type { RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer } from '@absolutejs/ai';
1
+ import type { RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer } from "@absolutejs/ai";
2
2
  export type CreateRAGQueryTransformOptions = {
3
3
  transform: RAGQueryTransformer;
4
4
  defaultModel?: string;
@@ -11,7 +11,7 @@ export type HeuristicRAGQueryTransformOptions = {
11
11
  export declare const createHeuristicRAGQueryTransform: (options?: HeuristicRAGQueryTransformOptions) => RAGQueryTransformProvider;
12
12
  export declare const createRAGQueryTransform: (options: CreateRAGQueryTransformOptions) => RAGQueryTransformProvider;
13
13
  export declare const resolveRAGQueryTransform: (queryTransform: RAGQueryTransformProviderLike | undefined) => RAGQueryTransformProvider | null;
14
- export declare const applyRAGQueryTransform: ({ input, queryTransform }: {
14
+ export declare const applyRAGQueryTransform: ({ input, queryTransform, }: {
15
15
  input: RAGQueryTransformInput;
16
16
  queryTransform?: RAGQueryTransformProviderLike;
17
17
  }) => Promise<RAGQueryTransformResult>;
@@ -1,4 +1,4 @@
1
- import type { RAGQueryResult, RAGReranker, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike } from '@absolutejs/ai';
1
+ import type { RAGQueryResult, RAGReranker, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike } from "@absolutejs/ai";
2
2
  export type CreateRAGRerankerOptions = {
3
3
  rerank: RAGReranker;
4
4
  defaultModel?: string;
@@ -8,7 +8,7 @@ export type HeuristicRAGRerankerOptions = {
8
8
  defaultModel?: string;
9
9
  providerName?: string;
10
10
  };
11
- export declare const applyRAGReranking: ({ input, reranker }: {
11
+ export declare const applyRAGReranking: ({ input, reranker, }: {
12
12
  input: RAGRerankerInput;
13
13
  reranker?: RAGRerankerProviderLike;
14
14
  }) => Promise<RAGQueryResult[]>;
@@ -1,3 +1,3 @@
1
- import type { SQLiteVecResolution } from '@absolutejs/ai';
1
+ import type { SQLiteVecResolution } from "@absolutejs/ai";
2
2
  export declare const resolveAbsoluteSQLiteVec: () => SQLiteVecResolution;
3
3
  export declare const resolveAbsoluteSQLiteVecExtensionPath: () => string | null;
@@ -1,4 +1,4 @@
1
- import type { RAGRetrievalStrategyProvider } from '@absolutejs/ai';
1
+ import type { RAGRetrievalStrategyProvider } from "@absolutejs/ai";
2
2
  export type HeuristicRAGRetrievalStrategyOptions = {
3
3
  providerName?: string;
4
4
  defaultLabel?: string;
@@ -1,5 +1,5 @@
1
- import { S3Client } from 'bun';
2
- import type { CreateRAGSyncManagerOptions, RAGSyncSourceDiagnostics, RAGSyncExtractionRecoveryHandlers, RAGSyncExtractionRecoveryPreview, RAGSyncExtractionRecoveryResult, RAGSyncConflictResolutionPreview, RAGSyncConflictResolutionResult, RAGSyncConflictResolutionStrategy, RAGDirectorySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncSourceOptions, RAGEmailSyncClient, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGGmailLinkedEmailSyncSourceOptions, RAGFeedSyncSourceOptions, RAGGitHubSyncSourceOptions, RAGSitemapSyncSourceOptions, RAGSiteDiscoverySyncSourceOptions, RAGSyncSchedule, RAGSyncScheduler, RAGSyncStateStore, RAGSyncManager, RAGSyncSourceDefinition, RAGSyncSourceReconciliationSummary, RAGUrlSyncSourceOptions } from '@absolutejs/ai';
1
+ import { S3Client } from "bun";
2
+ import type { CreateRAGSyncManagerOptions, RAGSyncSourceDiagnostics, RAGSyncExtractionRecoveryHandlers, RAGSyncExtractionRecoveryPreview, RAGSyncExtractionRecoveryResult, RAGSyncConflictResolutionPreview, RAGSyncConflictResolutionResult, RAGSyncConflictResolutionStrategy, RAGDirectorySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncSourceOptions, RAGEmailSyncClient, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGGmailLinkedEmailSyncSourceOptions, RAGFeedSyncSourceOptions, RAGGitHubSyncSourceOptions, RAGSitemapSyncSourceOptions, RAGSiteDiscoverySyncSourceOptions, RAGSyncSchedule, RAGSyncScheduler, RAGSyncStateStore, RAGSyncManager, RAGSyncSourceDefinition, RAGSyncSourceReconciliationSummary, RAGUrlSyncSourceOptions } from "@absolutejs/ai";
3
3
  export declare const previewRAGSyncExtractionRecovery: (input: {
4
4
  diagnostics?: RAGSyncSourceDiagnostics;
5
5
  }) => RAGSyncExtractionRecoveryPreview;
@@ -1,11 +1,11 @@
1
- import type { RAGDocumentChunk, RAGQueryInput, RAGQueryResult, RAGUpsertInput } from '@absolutejs/ai';
2
- export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXConfig, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGDocumentChunk, RAGDocumentChunkEmbeddingVariant, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDirectoryIngestInput, RAGDirectorySyncSourceOptions, RAGDocumentFileInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIndexedDocument, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGLexicalQueryInput, RAGDocumentUrlInput, RAGDocumentUrlIngestInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGFeedSyncInput, RAGFeedSyncSourceOptions, RAGGitHubRepoSyncInput, RAGGitHubSyncSourceOptions, RAGSitemapSyncInput, RAGSitemapSyncSourceOptions, RAGSiteDiscoveryInput, RAGSiteDiscoverySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGOCRProvider, RAGOCRResult, RAGPreparedDocument, RAGSource, RAGSourceGroup, RAGSourceSummary, RAGIngestResponse, RAGMutationResponse, RAGPostgresNativeDiagnostics, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGSearchRequest, RAGSyncManager, RAGSyncRunOptions, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGUrlSyncSourceOptions, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingCaseDifficultyDiffEntry, RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCaseDiff, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGAnswerGroundingEvaluationSummary, RAGEvaluationCase, RAGEvaluationCaseDiff, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalComparisonSummary, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from '@absolutejs/ai';
1
+ import type { RAGDocumentChunk, RAGQueryInput, RAGQueryResult, RAGUpsertInput } from "@absolutejs/ai";
2
+ export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXConfig, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGDocumentChunk, RAGDocumentChunkEmbeddingVariant, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDirectoryIngestInput, RAGDirectorySyncSourceOptions, RAGDocumentFileInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIndexedDocument, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGLexicalQueryInput, RAGDocumentUrlInput, RAGDocumentUrlIngestInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGFeedSyncInput, RAGFeedSyncSourceOptions, RAGGitHubRepoSyncInput, RAGGitHubSyncSourceOptions, RAGSitemapSyncInput, RAGSitemapSyncSourceOptions, RAGSiteDiscoveryInput, RAGSiteDiscoverySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGOCRProvider, RAGOCRResult, RAGPreparedDocument, RAGSource, RAGSourceGroup, RAGSourceSummary, RAGIngestResponse, RAGMutationResponse, RAGPostgresNativeDiagnostics, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGSearchRequest, RAGSyncManager, RAGSyncRunOptions, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGUrlSyncSourceOptions, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingCaseDifficultyDiffEntry, RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCaseDiff, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGAnswerGroundingEvaluationSummary, RAGEvaluationCase, RAGEvaluationCaseDiff, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalComparisonSummary, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, } from "@absolutejs/ai";
3
3
  export type InternalRAGStoredChunk = RAGDocumentChunk & {
4
4
  vector: number[];
5
5
  sourceId: string;
6
6
  };
7
7
  export type { RAGUpsertInput as RAGDocumentBatch };
8
8
  export type { RAGQueryInput as RAGQueryParams };
9
- export type { GeminiEmbeddingsConfig, OllamaEmbeddingsConfig, OpenAICompatibleEmbeddingsConfig, OpenAIEmbeddingsConfig } from './embeddingProviders';
10
- export type { RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike } from '@absolutejs/ai';
9
+ export type { GeminiEmbeddingsConfig, OllamaEmbeddingsConfig, OpenAICompatibleEmbeddingsConfig, OpenAIEmbeddingsConfig, } from "./embeddingProviders";
10
+ export type { RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike, } from "@absolutejs/ai";
11
11
  export declare const buildRAGContext: (hits: RAGQueryResult[]) => string;
@@ -1,4 +1,4 @@
1
- export { buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGChunkGraph, buildRAGCorpusHealthPresentation, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingReferences, buildRAGReadinessPresentation, buildRAGSourceLabels, buildRAGSectionRetrievalDiagnostics, buildRAGRetrievalTracePresentation, buildRAGSyncOverviewPresentation, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations } from './presentation';
2
- export { buildRAGAnswerWorkflowState, buildRAGRetrievedState, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGStreamProgress, getLatestAssistantMessage, getLatestRAGSources, resolveRAGStreamStage } from './workflowState';
3
- export { buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingEntityQualityPresentation, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGQualityOverviewPresentation, buildRAGGroundingOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderPresentations, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationEntityQualityPresentation, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationHistoryRows, buildRAGEvaluationSuiteSnapshotHistoryPresentation, buildRAGEvaluationSuiteSnapshotPresentations, buildRAGEvaluationSuiteSnapshotRows } from './presentation';
4
- export type { RAGStreamProgress, RAGStreamProgressState } from './workflowState';
1
+ export { buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGChunkGraph, buildRAGCorpusHealthPresentation, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingReferences, buildRAGReadinessPresentation, buildRAGSourceLabels, buildRAGSectionRetrievalDiagnostics, buildRAGRetrievalTracePresentation, buildRAGSyncOverviewPresentation, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations, } from "./presentation";
2
+ export { buildRAGAnswerWorkflowState, buildRAGRetrievedState, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGStreamProgress, getLatestAssistantMessage, getLatestRAGSources, resolveRAGStreamStage, } from "./workflowState";
3
+ export { buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingEntityQualityPresentation, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGQualityOverviewPresentation, buildRAGGroundingOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderPresentations, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationEntityQualityPresentation, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationHistoryRows, buildRAGEvaluationSuiteSnapshotHistoryPresentation, buildRAGEvaluationSuiteSnapshotPresentations, buildRAGEvaluationSuiteSnapshotRows, } from "./presentation";
4
+ export type { RAGStreamProgress, RAGStreamProgressState, } from "./workflowState";
@@ -1 +1 @@
1
- export { buildRAGAnswerWorkflowState, buildRAGRetrievedState, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGStreamProgress, getLatestAssistantMessage, getLatestRAGSources, resolveRAGStreamStage, type RAGStreamProgress, type RAGStreamProgressState } from './presentation';
1
+ export { buildRAGAnswerWorkflowState, buildRAGRetrievedState, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGStreamProgress, getLatestAssistantMessage, getLatestRAGSources, resolveRAGStreamStage, type RAGStreamProgress, type RAGStreamProgressState, } from "./presentation";
@@ -1,4 +1,4 @@
1
- import { AIStreamService } from '@absolutejs/ai/angular';
1
+ import { AIStreamService } from "@absolutejs/ai/angular";
2
2
  export declare class RAGStreamService extends AIStreamService {
3
3
  connect(path: string, conversationId?: string): {
4
4
  citations: import("@angular/core").Signal<import("@absolutejs/ai").RAGCitation[]>;
@@ -1,4 +1,4 @@
1
- import { RAGStreamService } from './ai-rag-stream.service';
1
+ import { RAGStreamService } from "./ai-rag-stream.service";
2
2
  export declare class RAGWorkflowService extends RAGStreamService {
3
3
  connect(path: string, conversationId?: string): {
4
4
  state: import("@angular/core").Signal<import("@absolutejs/ai").RAGAnswerWorkflowState>;
@@ -1,3 +1,3 @@
1
- export { RAGWorkflowService } from './ai-rag-workflow.service';
2
- export { RAGStreamService } from './ai-rag-stream.service';
3
- export { RAGClientService } from './rag-client.service';
1
+ export { RAGWorkflowService } from "./ai-rag-workflow.service";
2
+ export { RAGStreamService } from "./ai-rag-stream.service";
3
+ export { RAGClientService } from "./rag-client.service";