@absolutejs/absolute 0.19.0-beta.623 → 0.19.0-beta.625

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 (51) hide show
  1. package/dist/ai/client/index.js +8751 -6935
  2. package/dist/ai/client/index.js.map +5 -5
  3. package/dist/ai/client/ui.js +6402 -42
  4. package/dist/ai/client/ui.js.map +7 -4
  5. package/dist/ai/index.js +12994 -8132
  6. package/dist/ai/index.js.map +15 -13
  7. package/dist/ai/rag/quality.js +4194 -37
  8. package/dist/ai/rag/quality.js.map +6 -5
  9. package/dist/ai/rag/ui.js +6407 -42
  10. package/dist/ai/rag/ui.js.map +7 -4
  11. package/dist/ai-client/angular/ai/index.js +401 -4
  12. package/dist/ai-client/react/ai/index.js +537 -511
  13. package/dist/ai-client/vue/ai/index.js +743 -720
  14. package/dist/angular/ai/index.js +9400 -3140
  15. package/dist/angular/ai/index.js.map +7 -6
  16. package/dist/react/ai/index.js +8187 -6372
  17. package/dist/react/ai/index.js.map +5 -5
  18. package/dist/src/ai/index.d.ts +2 -2
  19. package/dist/src/ai/rag/adapters/filtering.d.ts +2 -0
  20. package/dist/src/ai/rag/adapters/queryPlanning.d.ts +11 -0
  21. package/dist/src/ai/rag/index.d.ts +4 -4
  22. package/dist/src/ai/rag/ingestion.d.ts +3 -0
  23. package/dist/src/ai/rag/presentation.d.ts +6 -1
  24. package/dist/src/ai/rag/quality.d.ts +95 -2
  25. package/dist/src/ai/rag/sync.d.ts +20 -1
  26. package/dist/src/ai/rag/types.d.ts +1 -1
  27. package/dist/src/ai/rag/ui.d.ts +1 -1
  28. package/dist/src/react/ai/useRAG.d.ts +1 -1
  29. package/dist/src/react/ai/useRAGIndexAdmin.d.ts +2 -2
  30. package/dist/src/vue/ai/useRAG.d.ts +408 -0
  31. package/dist/src/vue/ai/useRAGEvaluate.d.ts +84 -0
  32. package/dist/src/vue/ai/useRAGIndexAdmin.d.ts +222 -0
  33. package/dist/src/vue/ai/useRAGOps.d.ts +102 -0
  34. package/dist/src/vue/components/Image.d.ts +74 -0
  35. package/dist/src/vue/components/index.d.ts +1 -1
  36. package/dist/src/vue/index.d.ts +1 -1
  37. package/dist/svelte/ai/index.js +8186 -6371
  38. package/dist/svelte/ai/index.js.map +4 -4
  39. package/dist/types/ai.d.ts +389 -1
  40. package/dist/vue/ai/index.js +8186 -6371
  41. package/dist/vue/ai/index.js.map +4 -4
  42. package/dist/vue/components/Image.js +253 -0
  43. package/dist/vue/components/Image.js.map +11 -0
  44. package/dist/vue/components/index.js +181 -16
  45. package/dist/vue/components/index.js.map +5 -3
  46. package/dist/vue/index.js +195 -30
  47. package/dist/vue/index.js.map +6 -4
  48. package/package.json +11 -11
  49. package/dist/Image-0pe96k20.vue +0 -186
  50. package/dist/vue/components/Image.vue +0 -186
  51. package/dist/vue/components/Image.vue.d.ts +0 -4
@@ -1,13 +1,13 @@
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, createRAGEmbeddingProvider, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGChunkingRegistry, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGFileJobStateStore, createRAGFileSyncStateStore, createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, createRAGImageOCRExtractor, createRAGIMAPEmailSyncClient, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGPDFOCRExtractor, createRAGQueryTransform, createRAGReranker, 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, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord, scoreRAGLexicalMatch, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, applyRAGQueryTransform, applyRAGReranking, fuseRAGQueryResults, ingestDocuments, ingestRAGDocuments, buildRAGRetrievalTraceHistoryTrend, createRAGEvaluationSuite, 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, 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';
5
5
  export { createInMemoryRAGStore } from './rag/adapters/inMemory';
6
6
  export { createSQLiteRAGStore } from './rag/adapters/sqlite';
7
7
  export { resolveAbsoluteSQLiteVec, resolveAbsoluteSQLiteVecExtensionPath } from './rag/resolveAbsoluteSQLiteVec';
8
8
  export { createRAGVector, normalizeVector, querySimilarity } from './rag/adapters/utils';
9
9
  export type { GeminiEmbeddingsConfig, AnthropicOCRConfig, GmailEmailSyncConfig, GeminiOCRConfig, GraphEmailSyncConfig, IMAPEmailSyncConfig, OllamaEmbeddingsConfig, OllamaOCRConfig, OllamaTranscriptionConfig, OpenAICompatibleEmbeddingsConfig, OpenAICompatibleOCRConfig, OpenAICompatibleTranscriptionConfig, OpenAIOCRConfig, OpenAIEmbeddingsConfig, OpenAITranscriptionConfig, NativeSQLiteRAGStoreOptions, SQLiteRAGSearchTraceStoreOptions, SQLiteRAGStoreOptions } from './rag';
10
- export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingCaseDifficultyDiffEntry, RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCaseDiff, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGAnswerGroundingEvaluationSummary, RAGSource, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGIngestDocument, RAGDocumentUrlIngestInput, RAGDocumentUrlInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGIndexedDocument, RAGLexicalQueryInput, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGIngestResponse, RAGPostgresNativeDiagnostics, RAGPreparedDocument, RAGSearchRequest, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceDiff, RAGSearchTraceGroupHistory, RAGSearchTraceGroupHistoryEntry, RAGSearchTraceHistory, RAGSearchTraceHistoryResponse, RAGSearchTracePrunePreview, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePruneInput, RAGSearchTracePruneResponse, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneResult, RAGSearchTracePruneRun, RAGSearchTraceRetentionRuntime, RAGSearchTraceRetentionSchedule, RAGSearchTraceRecord, RAGSearchTraceResultSnapshot, RAGSearchTraceStats, RAGSearchTraceStatsResponse, RAGSearchTraceStore, RAGSyncManager, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncRunOptions, RAGJobState, RAGJobStateStore, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGDirectorySyncSourceOptions, RAGUrlSyncSourceOptions, RAGSourceGroup, RAGSourceSummary, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGEvaluationCase, RAGEvaluationCaseDiff, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalTraceSummaryRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonCandidateInput, RAGRetrievalComparisonEntry, RAGRetrievalComparisonHistoryStore, RAGRetrievalComparisonHistoryResponse, RAGRetrievalComparisonRequest, RAGRetrievalComparisonResponse, RAGRetrievalComparisonRun, RAGRetrievalComparisonSummary, RAGRetrievalTraceComparisonSummary, RAGRetrievalTraceComparisonSummaryDiff, RAGRetrievalTraceHistoryWindow, RAGRetrievalTraceTrend, RAGTraceSummaryListDelta, RAGTraceSummaryNumericDelta, RAGTraceSummaryListTrend, RAGTraceSummaryStageTrend, RAGTraceSummaryStageCountsDelta, RAGMutationResponse, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGOCRProvider, RAGOCRResult, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, RAGChatPluginConfig } from '../../types/ai';
10
+ export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingCaseDifficultyDiffEntry, RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCaseDiff, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGAnswerGroundingEvaluationSummary, RAGSource, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGIngestDocument, RAGDocumentUrlIngestInput, RAGDocumentUrlInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGFeedSyncInput, RAGFeedSyncSourceOptions, RAGSitemapSyncInput, RAGSitemapSyncSourceOptions, RAGSiteDiscoveryInput, RAGSiteDiscoverySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGIndexedDocument, RAGLexicalQueryInput, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGIngestResponse, RAGPostgresNativeDiagnostics, RAGPreparedDocument, RAGSearchRequest, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceDiff, RAGSearchTraceGroupHistory, RAGSearchTraceGroupHistoryEntry, RAGSearchTraceHistory, RAGSearchTraceHistoryResponse, RAGSearchTracePrunePreview, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePruneInput, RAGSearchTracePruneResponse, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneResult, RAGSearchTracePruneRun, RAGSearchTraceRetentionRuntime, RAGSearchTraceRetentionSchedule, RAGSearchTraceRecord, RAGSearchTraceResultSnapshot, RAGSearchTraceStats, RAGSearchTraceStatsResponse, RAGSearchTraceStore, RAGSyncManager, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncRunOptions, RAGJobState, RAGJobStateStore, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGDirectorySyncSourceOptions, RAGUrlSyncSourceOptions, RAGSourceGroup, RAGSourceSummary, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGEvaluationCase, RAGEvaluationCaseDiff, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalTraceSummaryRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonCandidateInput, RAGRetrievalComparisonEntry, RAGRetrievalComparisonHistoryStore, RAGRetrievalComparisonHistoryResponse, RAGRetrievalComparisonRequest, RAGRetrievalComparisonResponse, RAGRetrievalComparisonRun, RAGRetrievalComparisonSummary, RAGRetrievalTraceComparisonSummary, RAGRetrievalTraceComparisonSummaryDiff, RAGRetrievalTraceHistoryWindow, RAGRetrievalTraceTrend, RAGTraceSummaryListDelta, RAGTraceSummaryNumericDelta, RAGTraceSummaryListTrend, RAGTraceSummaryStageTrend, RAGTraceSummaryStageCountsDelta, RAGMutationResponse, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGOCRProvider, RAGOCRResult, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, RAGChatPluginConfig } from '../../types/ai';
11
11
  export { createConversationManager } from './conversationManager';
12
12
  export { createMemoryStore } from './memoryStore';
13
13
  export { generateId, parseAIMessage, serializeAIMessage } from './protocol';
@@ -0,0 +1,2 @@
1
+ export declare const matchesMetadataFilterValue: (actual: unknown, expected: unknown) => boolean;
2
+ export declare const matchesMetadataFilterRecord: (record: Record<string, unknown>, filter?: Record<string, unknown>) => boolean;
@@ -0,0 +1,11 @@
1
+ export declare const planNativeCandidateSearchK: (input: {
2
+ topK: number;
3
+ queryMultiplier: number;
4
+ candidateLimit: number;
5
+ filteredCandidateCount?: number;
6
+ }) => number;
7
+ export declare const planNativeCandidateSearchBackfillK: (input: {
8
+ currentSearchK: number;
9
+ candidateLimit: number;
10
+ filteredCandidateCount?: number;
11
+ }) => number;
@@ -11,9 +11,9 @@ 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, compareRAGRetrievalStrategies, compareRAGRerankers, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGEvaluationSuite, 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, buildRAGRetrievalTraceHistoryTrend, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord } from './quality';
15
- export { buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGChunkGraph, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGCorpusHealthPresentation, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationHistoryRows, 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
- export { createRAGBunS3SyncClient, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFileSyncStateStore, createRAGStaticEmailSyncClient, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGUrlSyncSource } from './sync';
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';
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
+ export { createRAGBunS3SyncClient, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFeedSyncSource, createRAGFileSyncStateStore, createRAGSiteDiscoverySyncSource, createRAGSitemapSyncSource, createRAGStaticEmailSyncClient, previewRAGSyncConflictResolutions, previewRAGSyncExtractionRecovery, resolveRAGSyncExtractionRecovery, resolveRAGSyncConflictResolutions, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGUrlSyncSource } from './sync';
17
17
  export { createRAGFileJobStateStore } from './jobState';
18
18
  export { createRAGCollection, ingestDocuments, ingestRAGDocuments, searchDocuments } from './collection';
19
19
  export { createInMemoryRAGStore } from './adapters/inMemory';
@@ -25,5 +25,5 @@ export type { GeminiEmbeddingsConfig, OllamaEmbeddingsConfig, OpenAICompatibleEm
25
25
  export type { AnthropicOCRConfig, GeminiOCRConfig, OllamaOCRConfig, OllamaTranscriptionConfig, OpenAICompatibleOCRConfig, OpenAICompatibleTranscriptionConfig, OpenAIOCRConfig, OpenAITranscriptionConfig } from './extractorProviders';
26
26
  export type { GmailEmailSyncConfig, GraphEmailSyncConfig, IMAPEmailSyncConfig } from './emailProviders';
27
27
  export type { NativeSQLiteRAGStoreOptions, SQLiteRAGStoreOptions } from './adapters/sqlite';
28
- export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDocumentFileInput, RAGDirectoryIngestInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGDocumentUrlIngestInput, RAGDocumentUrlInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationSummary, RAGEvaluationCase, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalComparisonSummary, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIngestResponse, RAGIndexedDocument, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGMutationResponse, RAGLexicalQueryInput, RAGOCRProvider, RAGOCRResult, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGPreparedDocument, RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike, RAGSearchRequest, RAGSyncManager, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncRunOptions, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGDirectorySyncSourceOptions, RAGUrlSyncSourceOptions, RAGSource, RAGSourceGroup, RAGSourceSummary, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from './types';
28
+ export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDocumentFileInput, RAGDirectoryIngestInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGDocumentUrlIngestInput, RAGDocumentUrlInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGFeedSyncInput, RAGFeedSyncSourceOptions, RAGSitemapSyncInput, RAGSitemapSyncSourceOptions, RAGSiteDiscoveryInput, RAGSiteDiscoverySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationSummary, RAGEvaluationCase, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalComparisonSummary, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIngestResponse, RAGIndexedDocument, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGMutationResponse, RAGLexicalQueryInput, RAGOCRProvider, RAGOCRResult, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGPreparedDocument, RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike, RAGSearchRequest, RAGSyncManager, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncRunOptions, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGDirectorySyncSourceOptions, RAGUrlSyncSourceOptions, RAGSource, RAGSourceGroup, RAGSourceSummary, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from './types';
29
29
  export type { RAGJobState, RAGJobStateStore, RAGPostgresNativeDiagnostics, RAGRetrievalComparisonCandidateInput, RAGRetrievalComparisonHistoryResponse, RAGRetrievalComparisonHistoryStore, RAGRetrievalComparisonRequest, RAGRetrievalComparisonResponse, RAGRetrievalComparisonRun, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceHistoryResponse, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePruneResponse, RAGSearchTracePruneInput, RAGSearchTracePrunePreview, RAGSearchTracePruneResult, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneRun, RAGSearchTraceRetentionRuntime, RAGSearchTraceRetentionSchedule, RAGSearchTraceStats, RAGSearchTraceStatsResponse } from '../../../types/ai';
@@ -20,6 +20,9 @@ export declare const createRAGArchiveFileExtractor: (expander: RAGArchiveExpande
20
20
  export declare const createRAGPDFOCRExtractor: (options: RAGPDFOCRExtractorOptions) => RAGFileExtractor;
21
21
  export declare const prepareRAGDocument: (document: RAGIngestDocument, defaultChunking?: RAGChunkingOptions, chunkingRegistry?: RAGChunkingRegistryLike) => RAGPreparedDocument;
22
22
  export declare const prepareRAGDocuments: (input: RAGDocumentIngestInput) => RAGPreparedDocument[];
23
+ export declare const mergeMetadata: (inputMetadata: Record<string, unknown> | undefined, extraMetadata: Record<string, unknown> | undefined, baseMetadata: Record<string, unknown> | undefined) => {
24
+ [x: string]: unknown;
25
+ };
23
26
  export declare const buildRAGUpsertInputFromURLs: (input: RAGDocumentUrlIngestInput) => Promise<{
24
27
  chunks: RAGDocumentChunk[];
25
28
  }>;
@@ -1,4 +1,4 @@
1
- import type { RAGAdminActionPresentation, RAGAdminActionRecord, RAGAdminJobPresentation, RAGAdminJobRecord, AIMessage, RAGAnswerGroundingCaseSnapshotPresentation, RAGAnswerGroundingEvaluationHistory, 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, RAGEvaluationHistory, RAGAnswerGroundingHistoryPresentation, RAGEvaluationHistoryPresentation, 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, 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;
@@ -151,6 +151,11 @@ export declare const buildRAGGroundingProviderCaseComparisonPresentations: (comp
151
151
  export declare const buildRAGEvaluationHistoryRows: (history?: RAGEvaluationHistory) => RAGLabelValueRow[];
152
152
  export declare const buildRAGEvaluationCaseTracePresentations: (history?: RAGEvaluationHistory) => RAGEvaluationCaseTracePresentation[];
153
153
  export declare const buildRAGEvaluationHistoryPresentation: (history?: RAGEvaluationHistory) => RAGEvaluationHistoryPresentation;
154
+ export declare const buildRAGEvaluationSuiteSnapshotRows: (history?: RAGEvaluationSuiteSnapshotHistory) => RAGLabelValueRow[];
155
+ export declare const buildRAGEvaluationSuiteSnapshotPresentations: (history?: RAGEvaluationSuiteSnapshotHistory) => RAGEvaluationSuiteSnapshotPresentation[];
156
+ export declare const buildRAGEvaluationSuiteSnapshotHistoryPresentation: (history?: RAGEvaluationSuiteSnapshotHistory) => RAGEvaluationSuiteSnapshotHistoryPresentation;
154
157
  export declare const buildRAGAnswerGroundingCaseSnapshotPresentations: (history?: RAGAnswerGroundingEvaluationHistory) => RAGAnswerGroundingCaseSnapshotPresentation[];
155
158
  export declare const buildRAGAnswerGroundingHistoryRows: (history?: RAGAnswerGroundingEvaluationHistory) => RAGLabelValueRow[];
156
159
  export declare const buildRAGAnswerGroundingHistoryPresentation: (history?: RAGAnswerGroundingEvaluationHistory) => RAGAnswerGroundingHistoryPresentation;
160
+ export declare const buildRAGEvaluationEntityQualityPresentation: (view: RAGEvaluationEntityQualityView, entityType: "source" | "document") => RAGEntityQualityViewPresentation;
161
+ export declare const buildRAGAnswerGroundingEntityQualityPresentation: (view: RAGAnswerGroundingEntityQualityView, entityType: "source" | "document") => RAGEntityQualityViewPresentation;
@@ -1,5 +1,5 @@
1
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, RAGEvaluationSuite, RAGEvaluationSuiteRun, 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 } from '../../../types/ai';
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, 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 '../../../types/ai';
3
3
  export declare const buildRAGRetrievalReleaseVerdict: ({ groupKey, decisionSummary }: {
4
4
  groupKey?: string;
5
5
  decisionSummary?: RAGRetrievalComparisonDecisionSummary;
@@ -23,6 +23,7 @@ export declare const buildRAGAnswerGroundingEvaluationRunDiff: ({ current, previ
23
23
  previous?: RAGAnswerGroundingEvaluationRun;
24
24
  }) => RAGAnswerGroundingEvaluationRunDiff;
25
25
  export declare const createRAGFileEvaluationHistoryStore: (path: string) => RAGEvaluationHistoryStore;
26
+ export declare const createRAGFileEvaluationSuiteSnapshotHistoryStore: (path: string) => RAGEvaluationSuiteSnapshotHistoryStore;
26
27
  export declare const createRAGFileRetrievalComparisonHistoryStore: (path: string) => RAGRetrievalComparisonHistoryStore;
27
28
  export declare const createRAGFileRetrievalBaselineStore: (path: string) => RAGRetrievalBaselineStore;
28
29
  export declare const createRAGFileRetrievalReleaseDecisionStore: (path: string) => RAGRetrievalReleaseDecisionStore;
@@ -43,6 +44,21 @@ export type SQLiteRAGSearchTraceStoreOptions = {
43
44
  path?: string;
44
45
  tableName?: string;
45
46
  };
47
+ export type SQLiteRAGEvaluationHistoryStoreOptions = {
48
+ db?: Database;
49
+ path?: string;
50
+ tableName?: string;
51
+ };
52
+ export type SQLiteRAGEvaluationSuiteSnapshotHistoryStoreOptions = {
53
+ db?: Database;
54
+ path?: string;
55
+ tableName?: string;
56
+ };
57
+ export type SQLiteRAGAnswerGroundingEvaluationHistoryStoreOptions = {
58
+ db?: Database;
59
+ path?: string;
60
+ tableName?: string;
61
+ };
46
62
  export type SQLiteRAGSearchTracePruneHistoryStoreOptions = {
47
63
  db?: Database;
48
64
  path?: string;
@@ -118,6 +134,23 @@ export type SQLiteRAGGovernanceStoreBundleOptions = {
118
134
  path?: string;
119
135
  tablePrefix?: string;
120
136
  };
137
+ export declare const createRAGSQLiteEvaluationHistoryStore: (options: SQLiteRAGEvaluationHistoryStoreOptions) => RAGEvaluationHistoryStore;
138
+ export declare const createRAGSQLiteEvaluationSuiteSnapshotHistoryStore: (options: SQLiteRAGEvaluationSuiteSnapshotHistoryStoreOptions) => RAGEvaluationSuiteSnapshotHistoryStore;
139
+ export declare const createRAGSQLiteAnswerGroundingEvaluationHistoryStore: (options: SQLiteRAGAnswerGroundingEvaluationHistoryStoreOptions) => RAGAnswerGroundingEvaluationHistoryStore;
140
+ type SQLiteStoreMigrationDescriptor = {
141
+ tableName: string;
142
+ columns: Array<{
143
+ name: string;
144
+ definition: string;
145
+ }>;
146
+ };
147
+ export type SQLiteRAGStoreMigrationOptions = {
148
+ db?: Database;
149
+ path?: string;
150
+ descriptors?: SQLiteStoreMigrationDescriptor[];
151
+ };
152
+ export declare const inspectRAGSQLiteStoreMigrations: (options?: SQLiteRAGStoreMigrationOptions) => RAGSQLiteStoreMigrationInspection;
153
+ export declare const applyRAGSQLiteStoreMigrations: (options?: SQLiteRAGStoreMigrationOptions) => RAGSQLiteStoreMigrationResult;
121
154
  export declare const createRAGSQLiteSearchTraceStore: (options: SQLiteRAGSearchTraceStoreOptions) => RAGSearchTraceStore;
122
155
  export declare const createRAGSQLiteSearchTracePruneHistoryStore: (options: SQLiteRAGSearchTracePruneHistoryStoreOptions) => RAGSearchTracePruneHistoryStore;
123
156
  export declare const createRAGSQLiteRetrievalComparisonHistoryStore: (options: SQLiteRAGRetrievalComparisonHistoryStoreOptions) => RAGRetrievalComparisonHistoryStore;
@@ -140,6 +173,11 @@ export declare const loadRAGEvaluationHistory: ({ store, suite, limit }: {
140
173
  suite: RAGEvaluationSuite;
141
174
  limit?: number;
142
175
  }) => Promise<RAGEvaluationHistory>;
176
+ export declare const loadRAGEvaluationSuiteSnapshotHistory: ({ store, suite, limit }: {
177
+ store: RAGEvaluationSuiteSnapshotHistoryStore;
178
+ suite: Pick<RAGEvaluationSuite, "id" | "label">;
179
+ limit?: number;
180
+ }) => Promise<RAGEvaluationSuiteSnapshotHistory>;
143
181
  export declare const loadRAGSearchTraceHistory: ({ store, query, groupKey, tag, limit }: {
144
182
  store: RAGSearchTraceStore;
145
183
  query?: string;
@@ -370,6 +408,8 @@ export declare const persistRAGRetrievalReleaseLaneEscalationPolicyHistory: ({ s
370
408
  }) => Promise<RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord>;
371
409
  export declare const createRAGSQLiteGovernanceStores: (options?: SQLiteRAGGovernanceStoreBundleOptions) => Pick<RAGChatPluginConfig, "searchTraceStore" | "searchTracePruneHistoryStore" | "retrievalComparisonHistoryStore" | "retrievalBaselineStore" | "retrievalReleaseDecisionStore" | "retrievalLaneHandoffDecisionStore" | "retrievalLaneHandoffIncidentStore" | "retrievalLaneHandoffIncidentHistoryStore" | "retrievalLaneHandoffAutoCompletePolicyHistoryStore" | "retrievalReleaseLanePolicyHistoryStore" | "retrievalBaselineGatePolicyHistoryStore" | "retrievalReleaseLaneEscalationPolicyHistoryStore" | "retrievalReleaseIncidentStore" | "retrievalIncidentRemediationDecisionStore" | "retrievalIncidentRemediationExecutionHistoryStore">;
372
410
  export declare const buildRAGEvaluationResponse: (cases: RAGEvaluationCaseResult[]) => RAGEvaluationResponse;
411
+ export declare const buildRAGEvaluationEntityQualityView: (response: RAGEvaluationResponse) => RAGEvaluationEntityQualityView;
412
+ export declare const buildRAGAnswerGroundingEntityQualityView: (response: RAGAnswerGroundingEvaluationResponse) => RAGAnswerGroundingEntityQualityView;
373
413
  export declare const evaluateRAGAnswerGroundingCase: ({ caseIndex, caseInput }: {
374
414
  caseIndex: number;
375
415
  caseInput: RAGAnswerGroundingEvaluationCase;
@@ -416,6 +456,56 @@ export declare const buildRAGRetrievalTraceHistoryTrend: ({ runs }: {
416
456
  runs: RAGRetrievalTraceSummaryRun[];
417
457
  }) => RAGRetrievalTraceTrend;
418
458
  export declare const createRAGEvaluationSuite: (suite: RAGEvaluationSuite) => RAGEvaluationSuite;
459
+ export declare const addRAGEvaluationSuiteCase: ({ suite, caseInput, index }: {
460
+ suite: RAGEvaluationSuite;
461
+ caseInput: RAGEvaluationCase;
462
+ index?: number;
463
+ }) => RAGEvaluationSuite;
464
+ export declare const updateRAGEvaluationSuiteCase: ({ suite, caseId, caseInput }: {
465
+ suite: RAGEvaluationSuite;
466
+ caseId: string;
467
+ caseInput: RAGEvaluationCase;
468
+ }) => RAGEvaluationSuite;
469
+ export declare const removeRAGEvaluationSuiteCase: ({ suite, caseId }: {
470
+ suite: RAGEvaluationSuite;
471
+ caseId: string;
472
+ }) => RAGEvaluationSuite;
473
+ export declare const reorderRAGEvaluationSuiteCases: ({ suite, caseIds }: {
474
+ suite: RAGEvaluationSuite;
475
+ caseIds: string[];
476
+ }) => RAGEvaluationSuite;
477
+ export declare const setRAGEvaluationSuiteCaseGoldenSet: ({ suite, caseId, goldenSet }: {
478
+ suite: RAGEvaluationSuite;
479
+ caseId: string;
480
+ goldenSet: boolean;
481
+ }) => RAGEvaluationSuite;
482
+ export declare const addRAGEvaluationSuiteCaseHardNegative: ({ suite, caseId, kind, value }: {
483
+ suite: RAGEvaluationSuite;
484
+ caseId: string;
485
+ kind: "chunkId" | "source" | "documentId";
486
+ value: string;
487
+ }) => RAGEvaluationSuite;
488
+ export declare const removeRAGEvaluationSuiteCaseHardNegative: ({ suite, caseId, kind, value }: {
489
+ suite: RAGEvaluationSuite;
490
+ caseId: string;
491
+ kind: "chunkId" | "source" | "documentId";
492
+ value: string;
493
+ }) => RAGEvaluationSuite;
494
+ export declare const summarizeRAGEvaluationSuiteDataset: ({ suite }: {
495
+ suite: RAGEvaluationSuite;
496
+ }) => RAGEvaluationSuiteDatasetSummary;
497
+ export declare const generateRAGEvaluationSuiteFromDocuments: ({ suiteId, documents, label, description, maxCases, topK, scoreThreshold, filter, retrieval, includeGoldenSet, hardNegativePerCase, metadata }: RAGEvaluationSuiteGenerationOptions) => RAGEvaluationSuite;
498
+ export declare const createRAGEvaluationSuiteSnapshot: ({ suite, id, version, createdAt, metadata }: {
499
+ suite: RAGEvaluationSuite;
500
+ id?: string;
501
+ version?: number;
502
+ createdAt?: number;
503
+ metadata?: Record<string, unknown>;
504
+ }) => RAGEvaluationSuiteSnapshot;
505
+ export declare const buildRAGEvaluationSuiteSnapshotDiff: ({ current, previous }: {
506
+ current: RAGEvaluationSuiteSnapshot;
507
+ previous?: RAGEvaluationSuiteSnapshot;
508
+ }) => RAGEvaluationSuiteSnapshotDiff;
419
509
  export declare const evaluateRAGCollection: ({ collection, input, defaultTopK, rerank }: {
420
510
  collection: RAGCollection;
421
511
  input: RAGEvaluationInput;
@@ -440,7 +530,7 @@ export declare const runRAGEvaluationSuite: ({ suite, evaluate, overrides, artif
440
530
  suiteId: string;
441
531
  traceSummary: RAGRetrievalTraceComparisonSummary | undefined;
442
532
  }>;
443
- export declare const summarizeRAGEvaluationCase: ({ caseIndex, caseInput, query, mode, retrievedIds, expectedIds, elapsedMs }: {
533
+ export declare const summarizeRAGEvaluationCase: ({ caseIndex, caseInput, query, mode, retrievedIds, expectedIds, elapsedMs, retrievedSources, trace }: {
444
534
  caseIndex: number;
445
535
  caseInput: RAGEvaluationCase;
446
536
  mode: "chunkId" | "source" | "documentId";
@@ -448,6 +538,9 @@ export declare const summarizeRAGEvaluationCase: ({ caseIndex, caseInput, query,
448
538
  retrievedIds: string[];
449
539
  expectedIds: string[];
450
540
  elapsedMs: number;
541
+ retrievedSources?: RAGSource[];
542
+ trace?: RAGSearchTraceRecord | RAGRetrievalTrace;
451
543
  }) => RAGEvaluationCaseResult;
452
544
  export declare const summarizeRAGRerankerComparison: (entries: RAGRerankerComparisonEntry[]) => RAGRerankerComparisonSummary;
453
545
  export declare const summarizeRAGRetrievalComparison: (entries: RAGRetrievalComparisonEntry[]) => RAGRetrievalComparisonSummary;
546
+ export {};
@@ -1,6 +1,25 @@
1
1
  import { S3Client } from 'bun';
2
- import type { CreateRAGSyncManagerOptions, RAGDirectorySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncSourceOptions, RAGEmailSyncClient, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGSyncSchedule, RAGSyncScheduler, RAGSyncStateStore, RAGSyncManager, RAGSyncSourceDefinition, RAGUrlSyncSourceOptions } from '../../../types/ai';
2
+ import type { CreateRAGSyncManagerOptions, RAGSyncSourceDiagnostics, RAGSyncExtractionRecoveryHandlers, RAGSyncExtractionRecoveryPreview, RAGSyncExtractionRecoveryResult, RAGSyncConflictResolutionPreview, RAGSyncConflictResolutionResult, RAGSyncConflictResolutionStrategy, RAGDirectorySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncSourceOptions, RAGEmailSyncClient, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGFeedSyncSourceOptions, RAGSitemapSyncSourceOptions, RAGSiteDiscoverySyncSourceOptions, RAGSyncSchedule, RAGSyncScheduler, RAGSyncStateStore, RAGSyncManager, RAGSyncSourceDefinition, RAGSyncSourceReconciliationSummary, RAGUrlSyncSourceOptions } from '../../../types/ai';
3
+ export declare const previewRAGSyncExtractionRecovery: (input: {
4
+ diagnostics?: RAGSyncSourceDiagnostics;
5
+ }) => RAGSyncExtractionRecoveryPreview;
6
+ export declare const resolveRAGSyncExtractionRecovery: (input: {
7
+ diagnostics?: RAGSyncSourceDiagnostics;
8
+ handlers?: RAGSyncExtractionRecoveryHandlers;
9
+ }) => Promise<RAGSyncExtractionRecoveryResult>;
10
+ export declare const previewRAGSyncConflictResolutions: (input: {
11
+ reconciliation?: RAGSyncSourceReconciliationSummary;
12
+ strategy?: RAGSyncConflictResolutionStrategy;
13
+ }) => RAGSyncConflictResolutionPreview;
14
+ export declare const resolveRAGSyncConflictResolutions: (input: {
15
+ deleteDocument: (id: string) => Promise<boolean> | boolean;
16
+ reconciliation?: RAGSyncSourceReconciliationSummary;
17
+ strategy?: RAGSyncConflictResolutionStrategy;
18
+ }) => Promise<RAGSyncConflictResolutionResult>;
3
19
  export declare const createRAGDirectorySyncSource: (options: RAGDirectorySyncSourceOptions) => RAGSyncSourceDefinition;
20
+ export declare const createRAGFeedSyncSource: (options: RAGFeedSyncSourceOptions) => RAGSyncSourceDefinition;
21
+ export declare const createRAGSitemapSyncSource: (options: RAGSitemapSyncSourceOptions) => RAGSyncSourceDefinition;
22
+ export declare const createRAGSiteDiscoverySyncSource: (options: RAGSiteDiscoverySyncSourceOptions) => RAGSyncSourceDefinition;
4
23
  export declare const createRAGUrlSyncSource: (options: RAGUrlSyncSourceOptions) => RAGSyncSourceDefinition;
5
24
  export declare const createRAGBunS3SyncClient: (input: S3Client | ConstructorParameters<typeof S3Client>[0]) => RAGStorageSyncClient;
6
25
  export declare const createRAGStorageSyncSource: (options: RAGStorageSyncSourceOptions) => RAGSyncSourceDefinition;
@@ -1,5 +1,5 @@
1
1
  import type { RAGDocumentChunk, RAGQueryInput, RAGQueryResult, RAGUpsertInput } from '../../../types/ai';
2
- export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXConfig, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGDocumentChunk, 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, 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 '../../../types/ai';
2
+ export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGHTMXConfig, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGDocumentChunk, 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, 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 '../../../types/ai';
3
3
  export type InternalRAGStoredChunk = RAGDocumentChunk & {
4
4
  vector: number[];
5
5
  sourceId: string;
@@ -1,4 +1,4 @@
1
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
2
  export { buildRAGAnswerWorkflowState, buildRAGRetrievedState, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGStreamProgress, getLatestAssistantMessage, getLatestRAGSources, resolveRAGStreamStage } from './workflowState';
3
- export { buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGQualityOverviewPresentation, buildRAGGroundingOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderPresentations, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationHistoryRows } from './presentation';
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
4
  export type { RAGStreamProgress, RAGStreamProgressState } from './workflowState';
@@ -82,7 +82,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
82
82
  title?: string;
83
83
  source?: string;
84
84
  text: string;
85
- format?: "text" | "markdown" | "html";
85
+ format?: import("../..").RAGContentFormat;
86
86
  metadata?: Record<string, unknown>;
87
87
  chunking?: {
88
88
  maxChunkLength?: number;
@@ -1,4 +1,4 @@
1
- import type { RAGBackendsResponse, RAGMutationResponse, RAGSyncResponse, RAGSyncRunOptions } from '../../../types/ai';
1
+ import type { RAGBackendsResponse, RAGContentFormat, RAGMutationResponse, RAGSyncResponse, RAGSyncRunOptions } from '../../../types/ai';
2
2
  export declare const useRAGIndexAdmin: (path: string) => {
3
3
  backends: RAGBackendsResponse | null;
4
4
  clearIndex: () => Promise<{
@@ -9,7 +9,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
9
9
  title?: string;
10
10
  source?: string;
11
11
  text: string;
12
- format?: "text" | "markdown" | "html";
12
+ format?: RAGContentFormat;
13
13
  metadata?: Record<string, unknown>;
14
14
  chunking?: {
15
15
  maxChunkLength?: number;