@absolutejs/absolute 0.19.0-beta.643 → 0.19.0-beta.644

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,4 +1,4 @@
1
- import type { RAGBackendsResponse, RAGBackendMaintenanceRecommendation, RAGBackendMaintenanceSummary, RAGDocumentChunksResponse, RAGEvaluationInput, RAGEvaluationResponse, RAGRetrievalBaselinePromotionFromRunRequest, RAGRetrievalBaselinePromotionRequest, RAGRetrievalBaselineRevertRequest, RAGRetrievalReleaseIncidentAcknowledgeRequest, RAGRetrievalReleaseDecisionActionRequest, RAGRetrievalBaselineResponse, RAGRetrievalLaneHandoffDecisionRequest, RAGRetrievalLaneHandoffDecisionResponse, RAGRetrievalLaneHandoffIncidentStatusResponse, RAGRetrievalLaneHandoffStatusResponse, RAGRetrievalIncidentRemediationDecisionRequest, RAGRetrievalIncidentRemediationBulkExecutionRequest, RAGRetrievalIncidentRemediationExecutionRequest, RAGRetrievalIncidentRemediationExecutionResponse, RAGRetrievalIncidentRemediationStatusResponse, RAGRetrievalReleaseGroupHistoryResponse, RAGRetrievalReleaseIncidentStatusResponse, RAGRetrievalReleaseDriftStatusResponse, RAGRetrievalComparisonRequest, RAGDocumentIngestInput, RAGDocumentChunk, RAGDocumentsResponse, RAGDocumentUrlIngestInput, RAGDocumentUploadIngestInput, RAGIngestResponse, RAGMutationResponse, RAGOperationsResponse, RAGSearchRequest, RAGSearchResponse, RAGSearchTracePruneResponse, RAGSource, RAGStatusResponse, RAGSyncRunOptions, RAGSyncResponse } from '../../../types/ai';
1
+ import type { RAGBackendsResponse, RAGBackendMaintenanceRecommendation, RAGBackendMaintenanceSummary, RAGDocumentChunksResponse, RAGEvaluationInput, RAGEvaluationResponse, RAGRetrievalBaselinePromotionFromRunRequest, RAGRetrievalBaselinePromotionRequest, RAGRetrievalBaselineRevertRequest, RAGRetrievalReleaseIncidentAcknowledgeRequest, RAGRetrievalReleaseDecisionActionRequest, RAGRetrievalBaselineResponse, RAGRetrievalLaneHandoffDecisionRequest, RAGRetrievalLaneHandoffDecisionResponse, RAGRetrievalLaneHandoffIncidentStatusResponse, RAGRetrievalLaneHandoffStatusResponse, RAGRetrievalIncidentRemediationDecisionRequest, RAGRetrievalIncidentRemediationBulkExecutionRequest, RAGRetrievalIncidentRemediationExecutionRequest, RAGRetrievalIncidentRemediationExecutionResponse, RAGRetrievalIncidentRemediationStatusResponse, RAGRetrievalReleaseGroupHistoryResponse, RAGRetrievalReleaseIncidentStatusResponse, RAGRetrievalReleaseDriftStatusResponse, RAGRetrievalComparisonRequest, RAGAdaptiveNativePlannerBenchmarkResponse, RAGAdaptiveNativePlannerBenchmarkSnapshotResponse, RAGDocumentIngestInput, RAGDocumentChunk, RAGDocumentsResponse, RAGDocumentUrlIngestInput, RAGDocumentUploadIngestInput, RAGIngestResponse, RAGMutationResponse, RAGOperationsResponse, RAGSearchRequest, RAGSearchResponse, RAGSearchTracePruneResponse, RAGSource, RAGStatusResponse, RAGSyncRunOptions, RAGSyncResponse } from '../../../types/ai';
2
2
  type FetchLike = typeof fetch;
3
3
  export type RAGClientOptions = {
4
4
  path: string;
@@ -80,9 +80,24 @@ export declare const createRAGClient: (options: RAGClientOptions) => {
80
80
  groupKey: string;
81
81
  decisionLimit?: number;
82
82
  baselineLimit?: number;
83
+ benchmarkLimit?: number;
83
84
  runLimit?: number;
84
85
  targetRolloutLabel?: "canary" | "stable" | "rollback_target";
85
86
  }): Promise<RAGRetrievalReleaseGroupHistoryResponse>;
87
+ adaptiveNativePlannerBenchmark(input?: {
88
+ limit?: number;
89
+ label?: string;
90
+ description?: string;
91
+ }): Promise<RAGAdaptiveNativePlannerBenchmarkResponse>;
92
+ saveAdaptiveNativePlannerBenchmarkSnapshot(input?: {
93
+ limit?: number;
94
+ label?: string;
95
+ description?: string;
96
+ version?: number;
97
+ createdAt?: number;
98
+ metadata?: Record<string, unknown>;
99
+ snapshotMetadata?: Record<string, unknown>;
100
+ }): Promise<RAGAdaptiveNativePlannerBenchmarkSnapshotResponse>;
86
101
  retrievalLaneHandoffs(input?: {
87
102
  groupKey?: string;
88
103
  sourceRolloutLabel?: "canary" | "stable" | "rollback_target";
@@ -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 { buildRAGContext, compareRAGRetrievalStrategies, compareRAGRerankers, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createHeuristicRAGQueryTransform, createHeuristicRAGRetrievalStrategy, createHeuristicRAGReranker, createRAGAccessControl, createLegacyDocumentExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createRAGBunS3SyncClient, createRAGCollection, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFeedSyncSource, createRAGGitHubSyncSource, createRAGEmbeddingProvider, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGChunkingRegistry, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGFileJobStateStore, createRAGFileSyncStateStore, createRAGSiteDiscoverySyncSource, createRAGSitemapSyncSource, createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, createRAGImageOCRExtractor, createRAGIMAPEmailSyncClient, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGPDFOCRExtractor, previewRAGSyncConflictResolutions, previewRAGSyncExtractionRecovery, createRAGQueryTransform, createRAGReranker, resolveRAGSyncExtractionRecovery, resolveRAGSyncConflictResolutions, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGStaticEmailSyncClient, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, buildRAGUpsertInputFromURLs, createRAGUrlSyncSource, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGOCRProvider, createTextFileExtractor, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromUploads, loadRAGDocumentsFromURLs, loadRAGDocumentUpload, loadRAGDocumentFromURL, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, ragPlugin, runRAGEvaluationSuite, resolveRAGEmbeddingProvider, resolveRAGHybridSearchOptions, resolveRAGQueryTransform, resolveRAGReranker, searchDocuments, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, buildRAGEvaluationEntityQualityView, buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord, scoreRAGLexicalMatch, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, applyRAGQueryTransform, applyRAGReranking, fuseRAGQueryResults, ingestDocuments, ingestRAGDocuments, buildRAGRetrievalTraceHistoryTrend, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, setRAGEvaluationSuiteCaseGoldenSet, buildRAGEvaluationSuiteSnapshotDiff, loadRAGEvaluationSuiteSnapshotHistory, updateRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCaseHardNegative, reorderRAGEvaluationSuiteCases, summarizeRAGEvaluationSuiteDataset, generateRAGEvaluationSuiteFromDocuments, buildRAGLexicalHaystack, validateRAGEmbeddingDimensions, alibabaEmbeddings, anthropicOCR, deepseekEmbeddings, googleEmbeddings, geminiEmbeddings, geminiOCR, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, ollamaOCR, ollamaTranscriber, openaiCompatibleEmbeddings, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiEmbeddings, openaiOCR, openaiTranscriber, xaiEmbeddings } from './rag';
4
+ export { buildRAGContext, compareRAGRetrievalStrategies, compareRAGRerankers, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createHeuristicRAGQueryTransform, createHeuristicRAGRetrievalStrategy, createHeuristicRAGReranker, createRAGAccessControl, createLegacyDocumentExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createRAGBunS3SyncClient, createRAGCollection, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFeedSyncSource, createRAGGitHubSyncSource, createRAGEmbeddingProvider, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGChunkingRegistry, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGFileJobStateStore, createRAGFileSyncStateStore, createRAGSiteDiscoverySyncSource, createRAGSitemapSyncSource, createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, createRAGImageOCRExtractor, createRAGIMAPEmailSyncClient, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGPDFOCRExtractor, previewRAGSyncConflictResolutions, previewRAGSyncExtractionRecovery, createRAGQueryTransform, createRAGReranker, resolveRAGSyncExtractionRecovery, resolveRAGSyncConflictResolutions, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGStaticEmailSyncClient, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, buildRAGUpsertInputFromURLs, createRAGUrlSyncSource, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGOCRProvider, createTextFileExtractor, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromUploads, loadRAGDocumentsFromURLs, loadRAGDocumentUpload, loadRAGDocumentFromURL, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, ragPlugin, runRAGEvaluationSuite, resolveRAGEmbeddingProvider, resolveRAGHybridSearchOptions, resolveRAGQueryTransform, resolveRAGReranker, searchDocuments, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, buildRAGEvaluationEntityQualityView, buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord, scoreRAGLexicalMatch, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, applyRAGQueryTransform, applyRAGReranking, fuseRAGQueryResults, ingestDocuments, ingestRAGDocuments, buildRAGRetrievalTraceHistoryTrend, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, createRAGAdaptiveNativePlannerBenchmarkSuite, createRAGAdaptiveNativePlannerBenchmarkSnapshot, setRAGEvaluationSuiteCaseGoldenSet, buildRAGEvaluationSuiteSnapshotDiff, loadRAGEvaluationSuiteSnapshotHistory, updateRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCaseHardNegative, reorderRAGEvaluationSuiteCases, summarizeRAGEvaluationSuiteDataset, generateRAGEvaluationSuiteFromDocuments, buildRAGLexicalHaystack, validateRAGEmbeddingDimensions, alibabaEmbeddings, anthropicOCR, deepseekEmbeddings, googleEmbeddings, geminiEmbeddings, geminiOCR, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, ollamaOCR, ollamaTranscriber, openaiCompatibleEmbeddings, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiEmbeddings, openaiOCR, openaiTranscriber, xaiEmbeddings } from './rag';
5
5
  export { createInMemoryRAGStore } from './rag/adapters/inMemory';
6
6
  export { createPostgresRAGStore } from './rag/adapters/postgres';
7
7
  export { createSQLiteRAGStore } from './rag/adapters/sqlite';
@@ -4,6 +4,14 @@ export declare const planNativeCandidateSearchK: (input: {
4
4
  candidateLimit: number;
5
5
  filteredCandidateCount?: number;
6
6
  }) => number;
7
+ export declare const resolveAdaptiveNativeCandidateLimit: (input: {
8
+ defaultCandidateLimit: number;
9
+ explicitCandidateLimit?: number;
10
+ filteredCandidateCount?: number;
11
+ plannerProfile?: "latency" | "balanced" | "recall";
12
+ queryMultiplier: number;
13
+ topK: number;
14
+ }) => number;
7
15
  export declare const planNativeCandidateSearchBackfillK: (input: {
8
16
  currentSearchK: number;
9
17
  candidateLimit: number;
@@ -1,5 +1,5 @@
1
1
  import { Elysia } from 'elysia';
2
- import type { AIMessage, RAGEvaluationResponse, RAGAdminActionRecord, RAGAdminCapabilities, RAGAdminJobRecord, RAGBackendsResponse, RAGBackendMaintenanceSummary, RAGDocumentChunksResponse, RAGDocumentsResponse, RAGChatPluginConfig, RAGMutationResponse, RAGOperationsResponse, RAGRetrievalBaselineListResponse, RAGRetrievalLaneHandoffDecisionListResponse, RAGRetrievalLaneHandoffDecisionRecord, RAGRetrievalLaneHandoffDecisionResponse, RAGRetrievalLaneHandoffAutoCompletePolicyHistoryResponse, RAGRetrievalReleaseLanePolicyHistoryResponse, RAGRetrievalBaselineGatePolicyHistoryResponse, RAGRetrievalReleaseLaneEscalationPolicyHistoryResponse, RAGRetrievalLaneHandoffIncidentHistoryResponse, RAGRetrievalLaneHandoffIncidentListResponse, RAGRetrievalLaneHandoffIncidentRecord, RAGRetrievalLaneHandoffIncidentStatusResponse, RAGRetrievalLaneHandoffListResponse, RAGRetrievalIncidentRemediationDecisionListResponse, RAGRetrievalIncidentRemediationExecutionHistoryResponse, RAGRetrievalIncidentRemediationBulkExecutionResponse, RAGRetrievalIncidentRemediationExecutionResponse, RAGRetrievalIncidentRemediationStatusResponse, RAGRetrievalReleaseIncidentListResponse, RAGRetrievalReleaseIncidentStatusResponse, RAGRetrievalReleaseGroupHistoryResponse, RAGRetrievalBaselineResponse, RAGRetrievalPromotionCandidateListResponse, RAGRetrievalReleaseDecisionListResponse, RAGRetrievalComparisonResponse, RAGRetrievalComparisonHistoryResponse, RAGSearchResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneResponse, RAGSearchTraceStatsResponse, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceHistoryResponse, RAGSyncResponse, RAGVectorStoreStatus } from '../../../types/ai';
2
+ import type { AIMessage, RAGEvaluationResponse, RAGAdminActionRecord, RAGAdminCapabilities, RAGAdminJobRecord, RAGBackendsResponse, RAGBackendMaintenanceSummary, RAGDocumentChunksResponse, RAGDocumentsResponse, RAGChatPluginConfig, RAGMutationResponse, RAGOperationsResponse, RAGRetrievalBaselineListResponse, RAGRetrievalLaneHandoffDecisionListResponse, RAGRetrievalLaneHandoffDecisionRecord, RAGRetrievalLaneHandoffDecisionResponse, RAGRetrievalLaneHandoffAutoCompletePolicyHistoryResponse, RAGRetrievalReleaseLanePolicyHistoryResponse, RAGRetrievalBaselineGatePolicyHistoryResponse, RAGRetrievalReleaseLaneEscalationPolicyHistoryResponse, RAGRetrievalLaneHandoffIncidentHistoryResponse, RAGRetrievalLaneHandoffIncidentListResponse, RAGRetrievalLaneHandoffIncidentRecord, RAGRetrievalLaneHandoffIncidentStatusResponse, RAGRetrievalLaneHandoffListResponse, RAGRetrievalIncidentRemediationDecisionListResponse, RAGRetrievalIncidentRemediationExecutionHistoryResponse, RAGRetrievalIncidentRemediationBulkExecutionResponse, RAGRetrievalIncidentRemediationExecutionResponse, RAGRetrievalIncidentRemediationStatusResponse, RAGRetrievalReleaseIncidentListResponse, RAGRetrievalReleaseIncidentStatusResponse, RAGAdaptiveNativePlannerBenchmarkResponse, RAGAdaptiveNativePlannerBenchmarkSnapshotResponse, RAGRetrievalReleaseGroupHistoryResponse, RAGRetrievalBaselineResponse, RAGRetrievalPromotionCandidateListResponse, RAGRetrievalReleaseDecisionListResponse, RAGRetrievalComparisonResponse, RAGRetrievalComparisonHistoryResponse, RAGSearchResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneResponse, RAGSearchTraceStatsResponse, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceHistoryResponse, RAGSyncResponse, RAGVectorStoreStatus } from '../../../types/ai';
3
3
  export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
4
4
  decorator: {};
5
5
  store: {};
@@ -171,6 +171,48 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
171
171
  };
172
172
  };
173
173
  };
174
+ } & {
175
+ [x: string]: {
176
+ compare: {
177
+ retrieval: {
178
+ benchmarks: {
179
+ "adaptive-native-planner": {
180
+ get: {
181
+ body: unknown;
182
+ params: {};
183
+ query: unknown;
184
+ headers: unknown;
185
+ response: {
186
+ 200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
187
+ };
188
+ };
189
+ };
190
+ };
191
+ };
192
+ };
193
+ };
194
+ } & {
195
+ [x: string]: {
196
+ compare: {
197
+ retrieval: {
198
+ benchmarks: {
199
+ "adaptive-native-planner": {
200
+ snapshots: {
201
+ post: {
202
+ body: unknown;
203
+ params: {};
204
+ query: unknown;
205
+ headers: unknown;
206
+ response: {
207
+ 200: Response | RAGAdaptiveNativePlannerBenchmarkSnapshotResponse;
208
+ };
209
+ };
210
+ };
211
+ };
212
+ };
213
+ };
214
+ };
215
+ };
174
216
  } & {
175
217
  [x: string]: {
176
218
  compare: {
@@ -679,7 +721,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
679
721
  };
680
722
  };
681
723
  };
682
- } & {
724
+ } & ({
683
725
  [x: string]: {
684
726
  compare: {
685
727
  retrieval: {
@@ -699,7 +741,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
699
741
  };
700
742
  };
701
743
  };
702
- } & ({
744
+ } & {
703
745
  [x: string]: {
704
746
  compare: {
705
747
  retrieval: {
@@ -1036,7 +1078,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1036
1078
  };
1037
1079
  };
1038
1080
  };
1039
- } & {
1081
+ } & ({
1040
1082
  [x: string]: {
1041
1083
  documents: {
1042
1084
  post: {
@@ -1050,7 +1092,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1050
1092
  };
1051
1093
  };
1052
1094
  };
1053
- } & ({
1095
+ } & {
1054
1096
  [x: string]: {
1055
1097
  documents: {
1056
1098
  ":id": {
@@ -1200,7 +1242,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1200
1242
  };
1201
1243
  };
1202
1244
  };
1203
- } & {
1245
+ } & ({
1204
1246
  [x: string]: {
1205
1247
  backend: {
1206
1248
  "reindex-native": {
@@ -1216,7 +1258,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
1216
1258
  };
1217
1259
  };
1218
1260
  };
1219
- } & ({
1261
+ } & {
1220
1262
  [x: string]: {
1221
1263
  documents: {
1222
1264
  ":id": {
@@ -11,7 +11,7 @@ export { anthropicOCR, geminiOCR, ollamaOCR, ollamaTranscriber, openaiCompatible
11
11
  export { createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGIMAPEmailSyncClient } from './emailProviders';
12
12
  export { buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createLegacyDocumentExtractor, createRAGPDFOCRExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGChunkingRegistry, createRAGImageOCRExtractor, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGOCRProvider, createTextFileExtractor, loadRAGDocumentFromURL, loadRAGDocumentUpload, loadRAGDocumentsFromUploads, buildRAGUpsertInputFromURLs, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromURLs, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments } from './ingestion';
13
13
  export { buildRAGContext } from './types';
14
- export { buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationEntityQualityView, compareRAGRetrievalStrategies, compareRAGRerankers, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, setRAGEvaluationSuiteCaseGoldenSet, updateRAGEvaluationSuiteCase, buildRAGEvaluationSuiteSnapshotDiff, removeRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCaseHardNegative, reorderRAGEvaluationSuiteCases, summarizeRAGEvaluationSuiteDataset, generateRAGEvaluationSuiteFromDocuments, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGEvaluationSuiteSnapshotHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, buildRAGRetrievalTraceHistoryTrend, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord } from './quality';
14
+ export { buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationEntityQualityView, compareRAGRetrievalStrategies, compareRAGRerankers, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, createRAGAdaptiveNativePlannerBenchmarkSuite, createRAGAdaptiveNativePlannerBenchmarkSnapshot, setRAGEvaluationSuiteCaseGoldenSet, updateRAGEvaluationSuiteCase, buildRAGEvaluationSuiteSnapshotDiff, removeRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCaseHardNegative, reorderRAGEvaluationSuiteCases, summarizeRAGEvaluationSuiteDataset, generateRAGEvaluationSuiteFromDocuments, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGEvaluationSuiteSnapshotHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, buildRAGRetrievalTraceHistoryTrend, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord } from './quality';
15
15
  export { buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingEntityQualityPresentation, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGChunkGraph, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGCorpusHealthPresentation, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationEntityQualityPresentation, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationHistoryRows, buildRAGEvaluationSuiteSnapshotHistoryPresentation, buildRAGEvaluationSuiteSnapshotPresentations, buildRAGEvaluationSuiteSnapshotRows, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderPresentations, buildRAGGroundingReferences, buildRAGQualityOverviewPresentation, buildRAGReadinessPresentation, buildRAGSourceLabels, buildRAGSectionRetrievalDiagnostics, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGRerankerOverviewPresentation, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalTracePresentation, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGSyncOverviewPresentation, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations } from './ui';
16
16
  export { createRAGBunS3SyncClient, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFeedSyncSource, createRAGFileSyncStateStore, createRAGGitHubSyncSource, createRAGSiteDiscoverySyncSource, createRAGSitemapSyncSource, createRAGStaticEmailSyncClient, previewRAGSyncConflictResolutions, previewRAGSyncExtractionRecovery, resolveRAGSyncExtractionRecovery, resolveRAGSyncConflictResolutions, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGUrlSyncSource } from './sync';
17
17
  export { createRAGFileJobStateStore } from './jobState';
@@ -1,4 +1,4 @@
1
- import type { RAGAdminActionPresentation, RAGAdminActionRecord, RAGAdminJobPresentation, RAGAdminJobRecord, AIMessage, RAGAnswerGroundingCaseSnapshotPresentation, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEntityQualityView, RAGAnswerGroundingEvaluationResponse, RAGCorpusHealth, RAGCorpusHealthPresentation, RAGExtractorReadiness, RAGReadinessPresentation, RAGGroundingOverviewPresentation, RAGGroundingProviderCaseComparisonPresentation, RAGGroundingProviderOverviewPresentation, RAGGroundingProviderPresentation, RAGComparisonOverviewPresentation, RAGComparisonPresentation, RAGChunkGraph, RAGChunkExcerpts, RAGExcerptModeCounts, RAGExcerptSelection, RAGChunkGraphNavigation, RAGChunkStructure, RAGDocumentChunkPreview, RAGLabelValueRow, RAGRerankerComparisonEntry, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalTrace, RAGQualityOverviewPresentation, RAGSectionRetrievalDiagnostic, RAGEvaluationCaseTracePresentation, RAGEvaluationEntityQualityView, RAGEvaluationHistory, RAGAnswerGroundingHistoryPresentation, RAGEvaluationHistoryPresentation, RAGEvaluationSuiteSnapshotHistory, RAGEvaluationSuiteSnapshotHistoryPresentation, RAGEvaluationSuiteSnapshotPresentation, RAGEntityQualityViewPresentation, RAGRerankerComparison, RAGAnswerWorkflowState, RAGRetrievalTracePresentation, RAGSource, RAGSourceLabels, RAGSourceGroup, RAGSourceSummary, RAGStreamStage, RAGSyncOverviewPresentation, RAGSyncSourcePresentation, RAGSyncSourceRecord } from '../../../types/ai';
1
+ import type { RAGAdminActionPresentation, RAGAdminActionRecord, RAGAdminJobPresentation, RAGAdminJobRecord, AIMessage, RAGAnswerGroundingCaseSnapshotPresentation, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEntityQualityView, RAGAnswerGroundingEvaluationResponse, RAGCorpusHealth, RAGCorpusHealthPresentation, RAGExtractorReadiness, RAGReadinessPresentation, RAGGroundingOverviewPresentation, RAGGroundingProviderCaseComparisonPresentation, RAGGroundingProviderOverviewPresentation, RAGGroundingProviderPresentation, RAGComparisonOverviewPresentation, RAGComparisonPresentation, RAGChunkGraph, RAGChunkExcerpts, RAGExcerptModeCounts, RAGExcerptSelection, RAGChunkGraphNavigation, RAGChunkStructure, RAGDocumentChunkPreview, RAGLabelValueRow, RAGRerankerComparisonEntry, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalComparisonRun, RAGRetrievalReleaseGroupHistoryPresentation, RAGRetrievalReleaseTimelineSummary, RAGRetrievalTrace, RAGQualityOverviewPresentation, RAGSectionRetrievalDiagnostic, RAGEvaluationCaseTracePresentation, RAGEvaluationEntityQualityView, RAGEvaluationHistory, RAGAnswerGroundingHistoryPresentation, RAGEvaluationHistoryPresentation, RAGEvaluationSuiteSnapshotHistory, RAGEvaluationSuiteSnapshotHistoryPresentation, RAGEvaluationSuiteSnapshotPresentation, RAGEntityQualityViewPresentation, RAGRerankerComparison, RAGAnswerWorkflowState, RAGRetrievalTracePresentation, RAGSource, RAGSourceLabels, RAGSourceGroup, RAGSourceSummary, RAGStreamStage, RAGSyncOverviewPresentation, RAGSyncSourcePresentation, RAGSyncSourceRecord } from '../../../types/ai';
2
2
  import { buildRAGCitationReferenceMap, buildRAGCitations, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingReferences } from './grounding';
3
3
  export { buildRAGCitationReferenceMap, buildRAGCitations, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingReferences };
4
4
  export declare const buildRAGRetrievalTracePresentation: (trace?: RAGRetrievalTrace) => RAGRetrievalTracePresentation;
@@ -154,6 +154,10 @@ export declare const buildRAGEvaluationHistoryPresentation: (history?: RAGEvalua
154
154
  export declare const buildRAGEvaluationSuiteSnapshotRows: (history?: RAGEvaluationSuiteSnapshotHistory) => RAGLabelValueRow[];
155
155
  export declare const buildRAGEvaluationSuiteSnapshotPresentations: (history?: RAGEvaluationSuiteSnapshotHistory) => RAGEvaluationSuiteSnapshotPresentation[];
156
156
  export declare const buildRAGEvaluationSuiteSnapshotHistoryPresentation: (history?: RAGEvaluationSuiteSnapshotHistory) => RAGEvaluationSuiteSnapshotHistoryPresentation;
157
+ export declare const buildRAGRetrievalReleaseGroupHistoryPresentation: (input: {
158
+ timeline?: RAGRetrievalReleaseTimelineSummary;
159
+ runs?: RAGRetrievalComparisonRun[];
160
+ }) => RAGRetrievalReleaseGroupHistoryPresentation;
157
161
  export declare const buildRAGAnswerGroundingCaseSnapshotPresentations: (history?: RAGAnswerGroundingEvaluationHistory) => RAGAnswerGroundingCaseSnapshotPresentation[];
158
162
  export declare const buildRAGAnswerGroundingHistoryRows: (history?: RAGAnswerGroundingEvaluationHistory) => RAGLabelValueRow[];
159
163
  export declare const buildRAGAnswerGroundingHistoryPresentation: (history?: RAGAnswerGroundingEvaluationHistory) => RAGAnswerGroundingHistoryPresentation;
@@ -495,6 +495,20 @@ export declare const summarizeRAGEvaluationSuiteDataset: ({ suite }: {
495
495
  suite: RAGEvaluationSuite;
496
496
  }) => RAGEvaluationSuiteDatasetSummary;
497
497
  export declare const generateRAGEvaluationSuiteFromDocuments: ({ suiteId, documents, label, description, maxCases, topK, scoreThreshold, filter, retrieval, includeGoldenSet, hardNegativePerCase, metadata }: RAGEvaluationSuiteGenerationOptions) => RAGEvaluationSuite;
498
+ export declare const createRAGAdaptiveNativePlannerBenchmarkSuite: (input?: {
499
+ id?: string;
500
+ label?: string;
501
+ description?: string;
502
+ topK?: number;
503
+ metadata?: Record<string, unknown>;
504
+ }) => RAGEvaluationSuite;
505
+ export declare const createRAGAdaptiveNativePlannerBenchmarkSnapshot: (input?: {
506
+ suite?: RAGEvaluationSuite;
507
+ id?: string;
508
+ version?: number;
509
+ createdAt?: number;
510
+ metadata?: Record<string, unknown>;
511
+ }) => RAGEvaluationSuiteSnapshot;
498
512
  export declare const createRAGEvaluationSuiteSnapshot: ({ suite, id, version, createdAt, metadata }: {
499
513
  suite: RAGEvaluationSuite;
500
514
  id?: string;
@@ -509,6 +509,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
509
509
  multiVectorVectorHitCases: number;
510
510
  multiVectorLexicalHitCases: number;
511
511
  multiVectorCollapsedCases: number;
512
+ runtimeCandidateBudgetExhaustedCases: number;
513
+ runtimeUnderfilledTopKCases: number;
512
514
  averageFinalCount: number;
513
515
  averageVectorCount: number;
514
516
  averageLexicalCount: number;
@@ -812,6 +814,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
812
814
  multiVectorVectorHitCases: number;
813
815
  multiVectorLexicalHitCases: number;
814
816
  multiVectorCollapsedCases: number;
817
+ runtimeCandidateBudgetExhaustedCases: number;
818
+ runtimeUnderfilledTopKCases: number;
815
819
  averageFinalCount: number;
816
820
  averageVectorCount: number;
817
821
  averageLexicalCount: number;
@@ -254,6 +254,8 @@ export declare const useRAGEvaluate: (path: string) => {
254
254
  multiVectorVectorHitCases: number;
255
255
  multiVectorLexicalHitCases: number;
256
256
  multiVectorCollapsedCases: number;
257
+ runtimeCandidateBudgetExhaustedCases: number;
258
+ runtimeUnderfilledTopKCases: number;
257
259
  averageFinalCount: number;
258
260
  averageVectorCount: number;
259
261
  averageLexicalCount: number;
@@ -557,6 +559,8 @@ export declare const useRAGEvaluate: (path: string) => {
557
559
  multiVectorVectorHitCases: number;
558
560
  multiVectorLexicalHitCases: number;
559
561
  multiVectorCollapsedCases: number;
562
+ runtimeCandidateBudgetExhaustedCases: number;
563
+ runtimeUnderfilledTopKCases: number;
560
564
  averageFinalCount: number;
561
565
  averageVectorCount: number;
562
566
  averageLexicalCount: number;