@absolutejs/absolute 0.19.0-beta.550 → 0.19.0-beta.552

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.
@@ -1,7 +1,7 @@
1
1
  export { aiChat } from '../plugins/aiChat';
2
2
  export { streamAI } from './streamAI';
3
3
  export { ragChat } from './rag';
4
- export { buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGGroundingProviderPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGQualityOverviewPresentation, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGContext, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationLeaderboard, buildRAGEvaluationHistoryRows, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, compareRAGRetrievalStrategies, compareRAGRerankers, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGBunS3SyncClient, createRAGFileEvaluationHistoryStore, createRAGEvaluationSuite, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGGmailEmailSyncClient, createRAGFileSyncStateStore, createRAGGraphEmailSyncClient, createRAGIMAPEmailSyncClient, createRAGStaticEmailSyncClient, createRAGStorageSyncSource, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGLexicalHaystack, buildRAGGroundedAnswer, buildRAGGroundingReferences, buildRAGCorpusHealthPresentation, buildRAGRetrievalTracePresentation, buildRAGReadinessPresentation, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations, buildRAGSyncOverviewPresentation, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createLegacyDocumentExtractor, createRAGPDFOCRExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGCollection, createRAGEmbeddingProvider, createRAGFileExtractor, createRAGImageOCRExtractor, createHeuristicRAGReranker, createHeuristicRAGQueryTransform, createRAGHTMXConfig, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGSyncManager, createRAGSyncScheduler, createRAGOCRProvider, createRAGUrlSyncSource, createRAGQueryTransform, createRAGReranker, fuseRAGQueryResults, createTextFileExtractor, createRAGHTMXWorkflowRenderConfig, alibabaEmbeddings, anthropicOCR, deepseekEmbeddings, geminiEmbeddings, geminiOCR, getLatestAssistantMessage, getLatestRAGSources, buildRAGStreamProgress, googleEmbeddings, ingestDocuments, ingestRAGDocuments, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentFromURL, loadRAGDocumentsFromURLs, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, ollamaOCR, ollamaTranscriber, openaiCompatibleEmbeddings, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiEmbeddings, openaiOCR, openaiTranscriber, prepareRAGDirectoryDocuments, buildRAGUpsertInputFromUploads, loadRAGDocumentUpload, loadRAGDocumentsFromUploads, buildRAGUpsertInputFromURLs, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, ragPlugin, resolveRAGQueryTransform, resolveRAGEmbeddingProvider, resolveRAGHybridSearchOptions, resolveRAGReranker, resolveRAGStreamStage, searchDocuments, scoreRAGLexicalMatch, applyRAGReranking, applyRAGQueryTransform, validateRAGEmbeddingDimensions, xaiEmbeddings } from './rag';
4
+ export { buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGGroundingProviderPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingOverviewPresentation, buildRAGQualityOverviewPresentation, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGContext, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationLeaderboard, buildRAGEvaluationHistoryRows, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, compareRAGRetrievalStrategies, compareRAGRerankers, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGBunS3SyncClient, createRAGFileEvaluationHistoryStore, createRAGEvaluationSuite, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGGmailEmailSyncClient, createRAGFileSyncStateStore, createRAGGraphEmailSyncClient, createRAGIMAPEmailSyncClient, createRAGStaticEmailSyncClient, createRAGStorageSyncSource, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGLexicalHaystack, buildRAGGroundedAnswer, buildRAGGroundingReferences, buildRAGCorpusHealthPresentation, buildRAGRetrievalTracePresentation, buildRAGReadinessPresentation, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations, buildRAGSyncOverviewPresentation, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createLegacyDocumentExtractor, createRAGPDFOCRExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGCollection, createRAGEmbeddingProvider, createRAGFileExtractor, createRAGImageOCRExtractor, createHeuristicRAGReranker, createHeuristicRAGQueryTransform, createRAGHTMXConfig, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGSyncManager, createRAGSyncScheduler, createRAGOCRProvider, createRAGUrlSyncSource, createRAGQueryTransform, createRAGReranker, fuseRAGQueryResults, createTextFileExtractor, createRAGHTMXWorkflowRenderConfig, alibabaEmbeddings, anthropicOCR, deepseekEmbeddings, geminiEmbeddings, geminiOCR, getLatestAssistantMessage, getLatestRAGSources, buildRAGStreamProgress, googleEmbeddings, ingestDocuments, ingestRAGDocuments, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentFromURL, loadRAGDocumentsFromURLs, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, ollamaOCR, ollamaTranscriber, openaiCompatibleEmbeddings, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiEmbeddings, openaiOCR, openaiTranscriber, prepareRAGDirectoryDocuments, buildRAGUpsertInputFromUploads, loadRAGDocumentUpload, loadRAGDocumentsFromUploads, buildRAGUpsertInputFromURLs, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, ragPlugin, resolveRAGQueryTransform, resolveRAGEmbeddingProvider, resolveRAGHybridSearchOptions, resolveRAGReranker, resolveRAGStreamStage, searchDocuments, scoreRAGLexicalMatch, applyRAGReranking, applyRAGQueryTransform, validateRAGEmbeddingDimensions, xaiEmbeddings } from './rag';
5
5
  export { createInMemoryRAGStore } from './rag/adapters/inMemory';
6
6
  export { createSQLiteRAGStore } from './rag/adapters/sqlite';
7
7
  export { resolveAbsoluteSQLiteVec, resolveAbsoluteSQLiteVecExtensionPath } from './rag/resolveAbsoluteSQLiteVec';
@@ -10,7 +10,7 @@ export { createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAG
10
10
  export { buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createLegacyDocumentExtractor, createRAGPDFOCRExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGFileExtractor, createRAGImageOCRExtractor, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGOCRProvider, createTextFileExtractor, loadRAGDocumentFromURL, loadRAGDocumentUpload, loadRAGDocumentsFromUploads, buildRAGUpsertInputFromURLs, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromURLs, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments } from './ingestion';
11
11
  export { buildRAGAnswerWorkflowState, buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGGroundedAnswer, buildRAGGroundingReferences, buildRAGCorpusHealthPresentation, buildRAGReadinessPresentation, buildRAGRetrievalTracePresentation, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations, buildRAGSyncOverviewPresentation, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGStreamProgress, getLatestAssistantMessage, getLatestRAGSources, resolveRAGStreamStage } from './presentation';
12
12
  export { buildRAGContext } from './types';
13
- export { buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGGroundingProviderPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGQualityOverviewPresentation, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationLeaderboard, buildRAGEvaluationHistoryRows, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, compareRAGRetrievalStrategies, compareRAGRerankers, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGEvaluationSuite, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison } from './quality';
13
+ export { buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGGroundingProviderPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingOverviewPresentation, buildRAGQualityOverviewPresentation, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationLeaderboard, buildRAGEvaluationHistoryRows, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, compareRAGRetrievalStrategies, compareRAGRerankers, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGEvaluationSuite, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison } from './quality';
14
14
  export { createRAGBunS3SyncClient, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFileSyncStateStore, createRAGStaticEmailSyncClient, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGUrlSyncSource } from './sync';
15
15
  export type { RAGStreamProgress, RAGStreamProgressState } from './presentation';
16
16
  export { createRAGCollection, ingestDocuments, ingestRAGDocuments, searchDocuments } from './collection';
@@ -38,9 +38,18 @@ export declare const fuseRAGQueryResults: ({ fusion, fusionConstant, lexical, le
38
38
  metadata?: Record<string, unknown>;
39
39
  }[];
40
40
  export declare const resolveRAGHybridSearchOptions: (retrieval: RAGHybridSearchOptions | RAGHybridRetrievalMode | undefined) => {
41
+ fusion: "rrf";
42
+ fusionConstant: number;
43
+ lexicalTopK: undefined;
44
+ lexicalWeight: number;
45
+ mode: RAGHybridRetrievalMode;
46
+ vectorWeight: number;
47
+ maxResultsPerSource?: undefined;
48
+ } | {
41
49
  fusion: RAGHybridFusionMode;
42
50
  fusionConstant: number;
43
51
  lexicalTopK: number | undefined;
52
+ maxResultsPerSource: number | undefined;
44
53
  lexicalWeight: number;
45
54
  mode: RAGHybridRetrievalMode;
46
55
  vectorWeight: number;
@@ -1,4 +1,4 @@
1
- import type { RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingCaseSnapshotPresentation, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingHistoryPresentation, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGCollection, RAGEvaluationCase, RAGEvaluationCaseTracePresentation, RAGEvaluationCaseTraceSnapshot, RAGEvaluationCaseResult, RAGEvaluationHistoryPresentation, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationInput, RAGEvaluationLeaderboardEntry, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGLabelValueRow, RAGComparisonPresentation, RAGComparisonOverviewPresentation, RAGGroundingProviderPresentation, RAGGroundingProviderOverviewPresentation, RAGGroundingProviderCaseComparisonPresentation, RAGQualityOverviewPresentation, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalTraceComparisonSummary, RAGRetrievalComparisonSummary, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerProviderLike } from '../../../types/ai';
1
+ import type { RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingCaseSnapshotPresentation, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingHistoryPresentation, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGCollection, RAGEvaluationCase, RAGEvaluationCaseTracePresentation, RAGEvaluationCaseTraceSnapshot, RAGEvaluationCaseResult, RAGEvaluationHistoryPresentation, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationInput, RAGEvaluationLeaderboardEntry, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGLabelValueRow, RAGComparisonPresentation, RAGComparisonOverviewPresentation, RAGGroundingProviderPresentation, RAGGroundingProviderOverviewPresentation, RAGGroundingProviderCaseComparisonPresentation, RAGGroundingOverviewPresentation, RAGQualityOverviewPresentation, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalTraceComparisonSummary, RAGRetrievalComparisonSummary, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerProviderLike } from '../../../types/ai';
2
2
  export declare const buildRAGEvaluationLeaderboard: (runs: RAGEvaluationSuiteRun[]) => RAGEvaluationLeaderboardEntry[];
3
3
  export declare const buildRAGAnswerGroundingEvaluationLeaderboard: (runs: RAGAnswerGroundingEvaluationRun[]) => RAGAnswerGroundingEvaluationLeaderboardEntry[];
4
4
  export declare const buildRAGAnswerGroundingCaseDifficultyLeaderboard: (entries: Array<{
@@ -35,6 +35,12 @@ export declare const buildRAGGroundingProviderOverviewPresentation: (input: {
35
35
  fastest?: string;
36
36
  };
37
37
  }) => RAGGroundingProviderOverviewPresentation;
38
+ export declare const buildRAGRetrievalOverviewPresentation: (comparison: RAGRetrievalComparison) => RAGQualityOverviewPresentation;
39
+ export declare const buildRAGRerankerOverviewPresentation: (comparison: RAGRerankerComparison) => RAGQualityOverviewPresentation;
40
+ export declare const buildRAGGroundingOverviewPresentation: (input: {
41
+ groundingEvaluation: RAGAnswerGroundingEvaluationResponse;
42
+ groundingProviderOverview?: RAGGroundingProviderOverviewPresentation | null;
43
+ }) => RAGGroundingOverviewPresentation;
38
44
  export declare const buildRAGQualityOverviewPresentation: (input: {
39
45
  retrievalComparison: RAGRetrievalComparison;
40
46
  rerankerComparison: RAGRerankerComparison;
@@ -329,6 +329,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
329
329
  lexical_search?: number | undefined;
330
330
  fusion?: number | undefined;
331
331
  rerank?: number | undefined;
332
+ source_balance?: number | undefined;
332
333
  score_filter?: number | undefined;
333
334
  finalize?: number | undefined;
334
335
  };
@@ -362,6 +363,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
362
363
  lexical_search?: number | undefined;
363
364
  fusion?: number | undefined;
364
365
  rerank?: number | undefined;
366
+ source_balance?: number | undefined;
365
367
  score_filter?: number | undefined;
366
368
  finalize?: number | undefined;
367
369
  };
@@ -373,6 +375,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
373
375
  lexical_search?: number | undefined;
374
376
  fusion?: number | undefined;
375
377
  rerank?: number | undefined;
378
+ source_balance?: number | undefined;
376
379
  score_filter?: number | undefined;
377
380
  finalize?: number | undefined;
378
381
  };
@@ -442,6 +445,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
442
445
  lexical_search?: number | undefined;
443
446
  fusion?: number | undefined;
444
447
  rerank?: number | undefined;
448
+ source_balance?: number | undefined;
445
449
  score_filter?: number | undefined;
446
450
  finalize?: number | undefined;
447
451
  };
@@ -475,6 +479,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
475
479
  lexical_search?: number | undefined;
476
480
  fusion?: number | undefined;
477
481
  rerank?: number | undefined;
482
+ source_balance?: number | undefined;
478
483
  score_filter?: number | undefined;
479
484
  finalize?: number | undefined;
480
485
  };
@@ -486,6 +491,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
486
491
  lexical_search?: number | undefined;
487
492
  fusion?: number | undefined;
488
493
  rerank?: number | undefined;
494
+ source_balance?: number | undefined;
489
495
  score_filter?: number | undefined;
490
496
  finalize?: number | undefined;
491
497
  };
@@ -1042,6 +1048,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1042
1048
  retrieval?: import("../..").RAGHybridRetrievalMode | {
1043
1049
  mode?: import("../..").RAGHybridRetrievalMode | undefined;
1044
1050
  lexicalTopK?: number | undefined;
1051
+ maxResultsPerSource?: number | undefined;
1045
1052
  fusion?: import("../..").RAGHybridFusionMode | undefined;
1046
1053
  fusionConstant?: number | undefined;
1047
1054
  lexicalWeight?: number | undefined;
@@ -1063,6 +1070,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1063
1070
  retrieval?: import("../..").RAGHybridRetrievalMode | {
1064
1071
  mode?: import("../..").RAGHybridRetrievalMode | undefined;
1065
1072
  lexicalTopK?: number | undefined;
1073
+ maxResultsPerSource?: number | undefined;
1066
1074
  fusion?: import("../..").RAGHybridFusionMode | undefined;
1067
1075
  fusionConstant?: number | undefined;
1068
1076
  lexicalWeight?: number | undefined;
@@ -193,6 +193,7 @@ export declare const useRAGEvaluate: (path: string) => {
193
193
  lexical_search?: number | undefined;
194
194
  fusion?: number | undefined;
195
195
  rerank?: number | undefined;
196
+ source_balance?: number | undefined;
196
197
  score_filter?: number | undefined;
197
198
  finalize?: number | undefined;
198
199
  };
@@ -226,6 +227,7 @@ export declare const useRAGEvaluate: (path: string) => {
226
227
  lexical_search?: number | undefined;
227
228
  fusion?: number | undefined;
228
229
  rerank?: number | undefined;
230
+ source_balance?: number | undefined;
229
231
  score_filter?: number | undefined;
230
232
  finalize?: number | undefined;
231
233
  };
@@ -237,6 +239,7 @@ export declare const useRAGEvaluate: (path: string) => {
237
239
  lexical_search?: number | undefined;
238
240
  fusion?: number | undefined;
239
241
  rerank?: number | undefined;
242
+ source_balance?: number | undefined;
240
243
  score_filter?: number | undefined;
241
244
  finalize?: number | undefined;
242
245
  };
@@ -306,6 +309,7 @@ export declare const useRAGEvaluate: (path: string) => {
306
309
  lexical_search?: number | undefined;
307
310
  fusion?: number | undefined;
308
311
  rerank?: number | undefined;
312
+ source_balance?: number | undefined;
309
313
  score_filter?: number | undefined;
310
314
  finalize?: number | undefined;
311
315
  };
@@ -339,6 +343,7 @@ export declare const useRAGEvaluate: (path: string) => {
339
343
  lexical_search?: number | undefined;
340
344
  fusion?: number | undefined;
341
345
  rerank?: number | undefined;
346
+ source_balance?: number | undefined;
342
347
  score_filter?: number | undefined;
343
348
  finalize?: number | undefined;
344
349
  };
@@ -350,6 +355,7 @@ export declare const useRAGEvaluate: (path: string) => {
350
355
  lexical_search?: number | undefined;
351
356
  fusion?: number | undefined;
352
357
  rerank?: number | undefined;
358
+ source_balance?: number | undefined;
353
359
  score_filter?: number | undefined;
354
360
  finalize?: number | undefined;
355
361
  };
@@ -17,6 +17,7 @@ export declare const useRAGSearch: (path: string) => {
17
17
  retrieval?: import("../..").RAGHybridRetrievalMode | {
18
18
  mode?: import("../..").RAGHybridRetrievalMode | undefined;
19
19
  lexicalTopK?: number | undefined;
20
+ maxResultsPerSource?: number | undefined;
20
21
  fusion?: import("../..").RAGHybridFusionMode | undefined;
21
22
  fusionConstant?: number | undefined;
22
23
  lexicalWeight?: number | undefined;
@@ -38,6 +39,7 @@ export declare const useRAGSearch: (path: string) => {
38
39
  retrieval?: import("../..").RAGHybridRetrievalMode | {
39
40
  mode?: import("../..").RAGHybridRetrievalMode | undefined;
40
41
  lexicalTopK?: number | undefined;
42
+ maxResultsPerSource?: number | undefined;
41
43
  fusion?: import("../..").RAGHybridFusionMode | undefined;
42
44
  fusionConstant?: number | undefined;
43
45
  lexicalWeight?: number | undefined;
@@ -2850,10 +2850,14 @@ var buildRAGGroundingProviderOverviewPresentation = (input) => {
2850
2850
  summary: winnerEntry ? `passing ${formatEvaluationPassingRate(winnerEntry.response.passingRate)} \xB7 citation f1 ${winnerEntry.response.summary.averageCitationF1.toFixed(3)} \xB7 resolved ${formatEvaluationPassingRate(winnerEntry.response.summary.averageResolvedCitationRate)}` : "Stored workflow evaluation"
2851
2851
  };
2852
2852
  };
2853
- var buildRAGQualityOverviewPresentation = (input) => ({
2853
+ var buildRAGRetrievalOverviewPresentation = (comparison) => ({
2854
+ rows: buildRAGRetrievalComparisonOverviewPresentation(comparison).rows
2855
+ });
2856
+ var buildRAGRerankerOverviewPresentation = (comparison) => ({
2857
+ rows: buildRAGRerankerComparisonOverviewPresentation(comparison).rows
2858
+ });
2859
+ var buildRAGGroundingOverviewPresentation = (input) => ({
2854
2860
  rows: [
2855
- ...buildRAGRetrievalComparisonOverviewPresentation(input.retrievalComparison).rows,
2856
- ...buildRAGRerankerComparisonOverviewPresentation(input.rerankerComparison).rows,
2857
2861
  {
2858
2862
  label: "Grounding",
2859
2863
  value: formatGroundingHistorySummaryValue(input.groundingEvaluation)
@@ -2866,6 +2870,16 @@ var buildRAGQualityOverviewPresentation = (input) => ({
2866
2870
  ]
2867
2871
  ]
2868
2872
  });
2873
+ var buildRAGQualityOverviewPresentation = (input) => ({
2874
+ rows: [
2875
+ ...buildRAGRetrievalOverviewPresentation(input.retrievalComparison).rows,
2876
+ ...buildRAGRerankerOverviewPresentation(input.rerankerComparison).rows,
2877
+ ...buildRAGGroundingOverviewPresentation({
2878
+ groundingEvaluation: input.groundingEvaluation,
2879
+ groundingProviderOverview: input.groundingProviderOverview
2880
+ }).rows
2881
+ ]
2882
+ });
2869
2883
  var buildRAGGroundingProviderCaseComparisonPresentations = (comparisons) => comparisons.map((comparison) => {
2870
2884
  const resolveLabel = (key) => comparison.entries.find((entry) => entry.providerKey === key)?.label ?? key ?? "n/a";
2871
2885
  return {
@@ -4478,5 +4492,5 @@ export {
4478
4492
  createAIStream
4479
4493
  };
4480
4494
 
4481
- //# debugId=36F1BE7058B9AAA264756E2164756E21
4495
+ //# debugId=086F4529C4D4B76164756E2164756E21
4482
4496
  //# sourceMappingURL=index.js.map