@absolutejs/absolute 0.19.0-beta.637 → 0.19.0-beta.639
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/client/index.js +4 -2
- package/dist/ai/client/index.js.map +3 -3
- package/dist/ai/client/ui.js +4 -2
- package/dist/ai/client/ui.js.map +3 -3
- package/dist/ai/index.js +320 -8
- package/dist/ai/index.js.map +9 -9
- package/dist/ai/rag/quality.js +4 -2
- package/dist/ai/rag/quality.js.map +3 -3
- package/dist/ai/rag/ui.js +4 -2
- package/dist/ai/rag/ui.js.map +3 -3
- package/dist/angular/ai/index.js +4 -2
- package/dist/angular/ai/index.js.map +3 -3
- package/dist/react/ai/index.js +4 -2
- package/dist/react/ai/index.js.map +3 -3
- package/dist/src/ai/index.d.ts +2 -2
- package/dist/src/ai/rag/index.d.ts +2 -2
- package/dist/src/ai/rag/sync.d.ts +2 -1
- package/dist/src/ai/rag/types.d.ts +1 -1
- package/dist/src/react/ai/useRAG.d.ts +2 -0
- package/dist/src/svelte/ai/createRAG.d.ts +2 -0
- package/dist/src/vue/ai/useRAG.d.ts +16 -0
- package/dist/src/vue/ai/useRAGEvaluate.d.ts +8 -0
- package/dist/src/vue/ai/useRAGIndexAdmin.d.ts +4 -0
- package/dist/src/vue/ai/useRAGSearch.d.ts +2 -0
- package/dist/svelte/ai/index.js +4 -2
- package/dist/svelte/ai/index.js.map +3 -3
- package/dist/types/ai.d.ts +37 -0
- package/dist/vue/ai/index.js +4 -2
- package/dist/vue/ai/index.js.map +3 -3
- package/package.json +7 -7
package/dist/src/ai/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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, 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, 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';
|
|
8
8
|
export { resolveAbsoluteSQLiteVec, resolveAbsoluteSQLiteVecExtensionPath } from './rag/resolveAbsoluteSQLiteVec';
|
|
9
9
|
export { createRAGVector, normalizeVector, querySimilarity } from './rag/adapters/utils';
|
|
10
10
|
export type { GeminiEmbeddingsConfig, AnthropicOCRConfig, GmailEmailSyncConfig, GeminiOCRConfig, GraphEmailSyncConfig, IMAPEmailSyncConfig, OllamaEmbeddingsConfig, OllamaOCRConfig, OllamaTranscriptionConfig, OpenAICompatibleEmbeddingsConfig, OpenAICompatibleOCRConfig, OpenAICompatibleTranscriptionConfig, OpenAIOCRConfig, OpenAIEmbeddingsConfig, OpenAITranscriptionConfig, NativeSQLiteRAGStoreOptions, SQLiteRAGSearchTraceStoreOptions, SQLiteRAGStoreOptions } from './rag';
|
|
11
|
-
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
|
+
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, RAGGitHubRepoSyncInput, RAGGitHubSyncSourceOptions, 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';
|
|
12
12
|
export { createConversationManager } from './conversationManager';
|
|
13
13
|
export { createMemoryStore } from './memoryStore';
|
|
14
14
|
export { generateId, parseAIMessage, serializeAIMessage } from './protocol';
|
|
@@ -13,7 +13,7 @@ export { buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, bui
|
|
|
13
13
|
export { buildRAGContext } from './types';
|
|
14
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
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';
|
|
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';
|
|
18
18
|
export { createRAGCollection, ingestDocuments, ingestRAGDocuments, searchDocuments } from './collection';
|
|
19
19
|
export { createInMemoryRAGStore } from './adapters/inMemory';
|
|
@@ -26,5 +26,5 @@ export type { GeminiEmbeddingsConfig, OllamaEmbeddingsConfig, OpenAICompatibleEm
|
|
|
26
26
|
export type { AnthropicOCRConfig, GeminiOCRConfig, OllamaOCRConfig, OllamaTranscriptionConfig, OpenAICompatibleOCRConfig, OpenAICompatibleTranscriptionConfig, OpenAIOCRConfig, OpenAITranscriptionConfig } from './extractorProviders';
|
|
27
27
|
export type { GmailEmailSyncConfig, GraphEmailSyncConfig, IMAPEmailSyncConfig } from './emailProviders';
|
|
28
28
|
export type { NativeSQLiteRAGStoreOptions, SQLiteRAGStoreOptions } from './adapters/sqlite';
|
|
29
|
-
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
|
+
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, RAGGitHubRepoSyncInput, RAGGitHubSyncSourceOptions, 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';
|
|
30
30
|
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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S3Client } from 'bun';
|
|
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';
|
|
2
|
+
import type { CreateRAGSyncManagerOptions, RAGSyncSourceDiagnostics, RAGSyncExtractionRecoveryHandlers, RAGSyncExtractionRecoveryPreview, RAGSyncExtractionRecoveryResult, RAGSyncConflictResolutionPreview, RAGSyncConflictResolutionResult, RAGSyncConflictResolutionStrategy, RAGDirectorySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncSourceOptions, RAGEmailSyncClient, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGFeedSyncSourceOptions, RAGGitHubSyncSourceOptions, RAGSitemapSyncSourceOptions, RAGSiteDiscoverySyncSourceOptions, RAGSyncSchedule, RAGSyncScheduler, RAGSyncStateStore, RAGSyncManager, RAGSyncSourceDefinition, RAGSyncSourceReconciliationSummary, RAGUrlSyncSourceOptions } from '../../../types/ai';
|
|
3
3
|
export declare const previewRAGSyncExtractionRecovery: (input: {
|
|
4
4
|
diagnostics?: RAGSyncSourceDiagnostics;
|
|
5
5
|
}) => RAGSyncExtractionRecoveryPreview;
|
|
@@ -17,6 +17,7 @@ export declare const resolveRAGSyncConflictResolutions: (input: {
|
|
|
17
17
|
strategy?: RAGSyncConflictResolutionStrategy;
|
|
18
18
|
}) => Promise<RAGSyncConflictResolutionResult>;
|
|
19
19
|
export declare const createRAGDirectorySyncSource: (options: RAGDirectorySyncSourceOptions) => RAGSyncSourceDefinition;
|
|
20
|
+
export declare const createRAGGitHubSyncSource: (options: RAGGitHubSyncSourceOptions) => RAGSyncSourceDefinition;
|
|
20
21
|
export declare const createRAGFeedSyncSource: (options: RAGFeedSyncSourceOptions) => RAGSyncSourceDefinition;
|
|
21
22
|
export declare const createRAGSitemapSyncSource: (options: RAGSitemapSyncSourceOptions) => RAGSyncSourceDefinition;
|
|
22
23
|
export declare const createRAGSiteDiscoverySyncSource: (options: RAGSiteDiscoverySyncSourceOptions) => 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, 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';
|
|
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, RAGGitHubRepoSyncInput, RAGGitHubSyncSourceOptions, RAGSitemapSyncInput, RAGSitemapSyncSourceOptions, RAGSiteDiscoveryInput, RAGSiteDiscoverySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGOCRProvider, RAGOCRResult, RAGPreparedDocument, RAGSource, RAGSourceGroup, RAGSourceSummary, RAGIngestResponse, RAGMutationResponse, RAGPostgresNativeDiagnostics, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGSearchRequest, RAGSyncManager, RAGSyncRunOptions, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGUrlSyncSourceOptions, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingCaseDifficultyDiffEntry, RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCaseDiff, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGAnswerGroundingEvaluationSummary, RAGEvaluationCase, RAGEvaluationCaseDiff, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalComparisonSummary, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from '../../../types/ai';
|
|
3
3
|
export type InternalRAGStoredChunk = RAGDocumentChunk & {
|
|
4
4
|
vector: number[];
|
|
5
5
|
sourceId: string;
|
|
@@ -169,6 +169,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
169
169
|
query: string;
|
|
170
170
|
topK?: number | undefined;
|
|
171
171
|
candidateTopK?: number | undefined;
|
|
172
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
172
173
|
nativeQueryMultiplier?: number | undefined;
|
|
173
174
|
nativeCandidateLimit?: number | undefined;
|
|
174
175
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -188,6 +189,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
188
189
|
query: string;
|
|
189
190
|
topK?: number | undefined;
|
|
190
191
|
candidateTopK?: number | undefined;
|
|
192
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
191
193
|
nativeQueryMultiplier?: number | undefined;
|
|
192
194
|
nativeCandidateLimit?: number | undefined;
|
|
193
195
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -171,6 +171,7 @@ export declare const createRAG: (path: string, options?: CreateRAGOptions) => {
|
|
|
171
171
|
query: string;
|
|
172
172
|
topK?: number | undefined;
|
|
173
173
|
candidateTopK?: number | undefined;
|
|
174
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
174
175
|
nativeQueryMultiplier?: number | undefined;
|
|
175
176
|
nativeCandidateLimit?: number | undefined;
|
|
176
177
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -190,6 +191,7 @@ export declare const createRAG: (path: string, options?: CreateRAGOptions) => {
|
|
|
190
191
|
query: string;
|
|
191
192
|
topK?: number | undefined;
|
|
192
193
|
candidateTopK?: number | undefined;
|
|
194
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
193
195
|
nativeQueryMultiplier?: number | undefined;
|
|
194
196
|
nativeCandidateLimit?: number | undefined;
|
|
195
197
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -589,6 +589,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
589
589
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
590
590
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
591
591
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
592
|
+
sqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
593
|
+
previousSqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
592
594
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
593
595
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
594
596
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -641,6 +643,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
641
643
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
642
644
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
643
645
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
646
|
+
postgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
647
|
+
previousPostgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
644
648
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
645
649
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
646
650
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -868,6 +872,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
868
872
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
869
873
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
870
874
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
875
|
+
sqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
876
|
+
previousSqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
871
877
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
872
878
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
873
879
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -920,6 +926,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
920
926
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
921
927
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
922
928
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
929
|
+
postgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
930
|
+
previousPostgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
923
931
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
924
932
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
925
933
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -1156,6 +1164,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1156
1164
|
pushdownClauseCount: number;
|
|
1157
1165
|
totalFilterClauseCount: number;
|
|
1158
1166
|
jsRemainderClauseCount: number;
|
|
1167
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1159
1168
|
queryMultiplierUsed?: number | undefined;
|
|
1160
1169
|
candidateLimitUsed?: number | undefined;
|
|
1161
1170
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1209,6 +1218,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1209
1218
|
pushdownClauseCount: number;
|
|
1210
1219
|
totalFilterClauseCount: number;
|
|
1211
1220
|
jsRemainderClauseCount: number;
|
|
1221
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1212
1222
|
queryMultiplierUsed?: number | undefined;
|
|
1213
1223
|
candidateLimitUsed?: number | undefined;
|
|
1214
1224
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1284,6 +1294,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1284
1294
|
pushdownClauseCount: number;
|
|
1285
1295
|
totalFilterClauseCount: number;
|
|
1286
1296
|
jsRemainderClauseCount: number;
|
|
1297
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1287
1298
|
queryMultiplierUsed?: number | undefined;
|
|
1288
1299
|
candidateLimitUsed?: number | undefined;
|
|
1289
1300
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1337,6 +1348,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1337
1348
|
pushdownClauseCount: number;
|
|
1338
1349
|
totalFilterClauseCount: number;
|
|
1339
1350
|
jsRemainderClauseCount: number;
|
|
1351
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1340
1352
|
queryMultiplierUsed?: number | undefined;
|
|
1341
1353
|
candidateLimitUsed?: number | undefined;
|
|
1342
1354
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -2042,6 +2054,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2042
2054
|
query: string;
|
|
2043
2055
|
topK?: number | undefined;
|
|
2044
2056
|
candidateTopK?: number | undefined;
|
|
2057
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2045
2058
|
nativeQueryMultiplier?: number | undefined;
|
|
2046
2059
|
nativeCandidateLimit?: number | undefined;
|
|
2047
2060
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -2080,6 +2093,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2080
2093
|
query: string;
|
|
2081
2094
|
topK?: number | undefined;
|
|
2082
2095
|
candidateTopK?: number | undefined;
|
|
2096
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2083
2097
|
nativeQueryMultiplier?: number | undefined;
|
|
2084
2098
|
nativeCandidateLimit?: number | undefined;
|
|
2085
2099
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -2177,6 +2191,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2177
2191
|
query: string;
|
|
2178
2192
|
topK?: number | undefined;
|
|
2179
2193
|
candidateTopK?: number | undefined;
|
|
2194
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2180
2195
|
nativeQueryMultiplier?: number | undefined;
|
|
2181
2196
|
nativeCandidateLimit?: number | undefined;
|
|
2182
2197
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -2196,6 +2211,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2196
2211
|
query: string;
|
|
2197
2212
|
topK?: number | undefined;
|
|
2198
2213
|
candidateTopK?: number | undefined;
|
|
2214
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2199
2215
|
nativeQueryMultiplier?: number | undefined;
|
|
2200
2216
|
nativeCandidateLimit?: number | undefined;
|
|
2201
2217
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -348,6 +348,8 @@ export declare const useRAGEvaluate: (path: string) => {
|
|
|
348
348
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
349
349
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
350
350
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
351
|
+
sqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
352
|
+
previousSqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
351
353
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
352
354
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
353
355
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -400,6 +402,8 @@ export declare const useRAGEvaluate: (path: string) => {
|
|
|
400
402
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
401
403
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
402
404
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
405
|
+
postgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
406
|
+
previousPostgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
403
407
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
404
408
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
405
409
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -627,6 +631,8 @@ export declare const useRAGEvaluate: (path: string) => {
|
|
|
627
631
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
628
632
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
629
633
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
634
|
+
sqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
635
|
+
previousSqliteQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
630
636
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
631
637
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
632
638
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -679,6 +685,8 @@ export declare const useRAGEvaluate: (path: string) => {
|
|
|
679
685
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
680
686
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
681
687
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
688
|
+
postgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
689
|
+
previousPostgresQueryPlannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
682
690
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
683
691
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
684
692
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -43,6 +43,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
|
|
|
43
43
|
pushdownClauseCount: number;
|
|
44
44
|
totalFilterClauseCount: number;
|
|
45
45
|
jsRemainderClauseCount: number;
|
|
46
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
46
47
|
queryMultiplierUsed?: number | undefined;
|
|
47
48
|
candidateLimitUsed?: number | undefined;
|
|
48
49
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -96,6 +97,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
|
|
|
96
97
|
pushdownClauseCount: number;
|
|
97
98
|
totalFilterClauseCount: number;
|
|
98
99
|
jsRemainderClauseCount: number;
|
|
100
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
99
101
|
queryMultiplierUsed?: number | undefined;
|
|
100
102
|
candidateLimitUsed?: number | undefined;
|
|
101
103
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -171,6 +173,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
|
|
|
171
173
|
pushdownClauseCount: number;
|
|
172
174
|
totalFilterClauseCount: number;
|
|
173
175
|
jsRemainderClauseCount: number;
|
|
176
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
174
177
|
queryMultiplierUsed?: number | undefined;
|
|
175
178
|
candidateLimitUsed?: number | undefined;
|
|
176
179
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -224,6 +227,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
|
|
|
224
227
|
pushdownClauseCount: number;
|
|
225
228
|
totalFilterClauseCount: number;
|
|
226
229
|
jsRemainderClauseCount: number;
|
|
230
|
+
plannerProfileUsed?: import("../..").RAGNativeQueryProfile | undefined;
|
|
227
231
|
queryMultiplierUsed?: number | undefined;
|
|
228
232
|
candidateLimitUsed?: number | undefined;
|
|
229
233
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -10,6 +10,7 @@ export declare const useRAGSearch: (path: string) => {
|
|
|
10
10
|
query: string;
|
|
11
11
|
topK?: number | undefined;
|
|
12
12
|
candidateTopK?: number | undefined;
|
|
13
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
13
14
|
nativeQueryMultiplier?: number | undefined;
|
|
14
15
|
nativeCandidateLimit?: number | undefined;
|
|
15
16
|
nativeMaxBackfills?: number | undefined;
|
|
@@ -48,6 +49,7 @@ export declare const useRAGSearch: (path: string) => {
|
|
|
48
49
|
query: string;
|
|
49
50
|
topK?: number | undefined;
|
|
50
51
|
candidateTopK?: number | undefined;
|
|
52
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
51
53
|
nativeQueryMultiplier?: number | undefined;
|
|
52
54
|
nativeCandidateLimit?: number | undefined;
|
|
53
55
|
nativeMaxBackfills?: number | undefined;
|
package/dist/svelte/ai/index.js
CHANGED
|
@@ -749,7 +749,7 @@ var formatLeadMediaCueSummary = (input) => {
|
|
|
749
749
|
return parts.length > 0 ? parts.join(" \xB7 ") : "none";
|
|
750
750
|
};
|
|
751
751
|
var formatRAGTraceMetadataRow = (key, value) => ({
|
|
752
|
-
label: key === "sqliteQueryMode" ? "SQLite query mode" : key === "postgresQueryMode" ? "Postgres query mode" : key === "sqliteQueryPushdownMode" ? "SQLite pushdown mode" : key === "postgresQueryPushdownMode" ? "Postgres pushdown mode" : key === "sqliteQueryPushdownApplied" ? "SQLite pushdown applied" : key === "postgresQueryPushdownApplied" ? "Postgres pushdown applied" : key === "sqliteQueryPushdownClauseCount" ? "SQLite pushdown clauses" : key === "postgresQueryPushdownClauseCount" ? "Postgres pushdown clauses" : key === "sqliteQueryPushdownCoverageRatio" ? "SQLite pushdown coverage" : key === "postgresQueryPushdownCoverageRatio" ? "Postgres pushdown coverage" : key === "sqliteQueryTotalFilterClauseCount" ? "SQLite total filter clauses" : key === "postgresQueryTotalFilterClauseCount" ? "Postgres total filter clauses" : key === "sqliteQueryJsRemainderClauseCount" ? "SQLite JS remainder clauses" : key === "sqliteQueryMultiplierUsed" ? "SQLite query multiplier" : key === "sqliteQueryCandidateLimitUsed" ? "SQLite candidate limit" : key === "sqliteQueryMaxBackfillsUsed" ? "SQLite max backfills" : key === "sqliteQueryMinResultsUsed" ? "SQLite min results" : key === "sqliteQueryFillPolicyUsed" ? "SQLite fill policy" : key === "postgresQueryJsRemainderClauseCount" ? "Postgres JS remainder clauses" : key === "postgresQueryMultiplierUsed" ? "Postgres query multiplier" : key === "postgresQueryCandidateLimitUsed" ? "Postgres candidate limit" : key === "postgresQueryMaxBackfillsUsed" ? "Postgres max backfills" : key === "postgresQueryMinResultsUsed" ? "Postgres min results" : key === "postgresQueryFillPolicyUsed" ? "Postgres fill policy" : key === "sqliteQueryJsRemainderRatio" ? "SQLite JS remainder share" : key === "postgresQueryJsRemainderRatio" ? "Postgres JS remainder share" : key === "sqliteQueryFilteredCandidates" ? "SQLite filtered candidates" : key === "postgresQueryFilteredCandidates" ? "Postgres filtered candidates" : key === "sqliteQueryInitialSearchK" ? "SQLite initial searchK" : key === "postgresQueryInitialSearchK" ? "Postgres initial searchK" : key === "sqliteQueryFinalSearchK" ? "SQLite final searchK" : key === "postgresQueryFinalSearchK" ? "Postgres final searchK" : key === "sqliteQuerySearchExpansionRatio" ? "SQLite search expansion" : key === "postgresQuerySearchExpansionRatio" ? "Postgres search expansion" : key === "sqliteQueryBackfillCount" ? "SQLite backfill count" : key === "sqliteQueryBackfillLimitReached" ? "SQLite backfill limit reached" : key === "sqliteQueryMinResultsSatisfied" ? "SQLite min results satisfied" : key === "postgresQueryBackfillCount" ? "Postgres backfill count" : key === "postgresQueryBackfillLimitReached" ? "Postgres backfill limit reached" : key === "postgresQueryMinResultsSatisfied" ? "Postgres min results satisfied" : key === "sqliteQueryReturnedCount" ? "SQLite returned hits" : key === "postgresQueryReturnedCount" ? "Postgres returned hits" : key === "sqliteQueryCandidateYieldRatio" ? "SQLite candidate yield" : key === "postgresQueryCandidateYieldRatio" ? "Postgres candidate yield" : key === "sqliteQueryTopKFillRatio" ? "SQLite topK fill rate" : key === "postgresQueryTopKFillRatio" ? "Postgres topK fill rate" : key === "sqliteQueryUnderfilledTopK" ? "SQLite underfilled topK" : key === "postgresQueryUnderfilledTopK" ? "Postgres underfilled topK" : key === "sqliteQueryCandidateBudgetExhausted" ? "SQLite candidate budget exhausted" : key === "postgresQueryCandidateBudgetExhausted" ? "Postgres candidate budget exhausted" : key === "sqliteQueryCandidateCoverage" ? "SQLite candidate coverage" : key === "postgresQueryCandidateCoverage" ? "Postgres candidate coverage" : key === "leadSpeakerCue" ? "Lead speaker cue" : key === "leadSpeakerAttributionCue" ? "Lead speaker attribution" : key === "leadChannelAttributionCue" ? "Lead channel attribution" : key === "leadChannelCue" ? "Lead channel cue" : key === "leadContinuityCue" ? "Lead continuity cue" : key,
|
|
752
|
+
label: key === "sqliteQueryMode" ? "SQLite query mode" : key === "postgresQueryMode" ? "Postgres query mode" : key === "sqliteQueryPushdownMode" ? "SQLite pushdown mode" : key === "postgresQueryPushdownMode" ? "Postgres pushdown mode" : key === "sqliteQueryPushdownApplied" ? "SQLite pushdown applied" : key === "postgresQueryPushdownApplied" ? "Postgres pushdown applied" : key === "sqliteQueryPushdownClauseCount" ? "SQLite pushdown clauses" : key === "postgresQueryPushdownClauseCount" ? "Postgres pushdown clauses" : key === "sqliteQueryPushdownCoverageRatio" ? "SQLite pushdown coverage" : key === "postgresQueryPushdownCoverageRatio" ? "Postgres pushdown coverage" : key === "sqliteQueryTotalFilterClauseCount" ? "SQLite total filter clauses" : key === "postgresQueryTotalFilterClauseCount" ? "Postgres total filter clauses" : key === "sqliteQueryJsRemainderClauseCount" ? "SQLite JS remainder clauses" : key === "sqliteQueryMultiplierUsed" ? "SQLite query multiplier" : key === "sqliteQueryPlannerProfileUsed" ? "SQLite query profile" : key === "sqliteQueryCandidateLimitUsed" ? "SQLite candidate limit" : key === "sqliteQueryMaxBackfillsUsed" ? "SQLite max backfills" : key === "sqliteQueryMinResultsUsed" ? "SQLite min results" : key === "sqliteQueryFillPolicyUsed" ? "SQLite fill policy" : key === "postgresQueryJsRemainderClauseCount" ? "Postgres JS remainder clauses" : key === "postgresQueryMultiplierUsed" ? "Postgres query multiplier" : key === "postgresQueryPlannerProfileUsed" ? "Postgres query profile" : key === "postgresQueryCandidateLimitUsed" ? "Postgres candidate limit" : key === "postgresQueryMaxBackfillsUsed" ? "Postgres max backfills" : key === "postgresQueryMinResultsUsed" ? "Postgres min results" : key === "postgresQueryFillPolicyUsed" ? "Postgres fill policy" : key === "sqliteQueryJsRemainderRatio" ? "SQLite JS remainder share" : key === "postgresQueryJsRemainderRatio" ? "Postgres JS remainder share" : key === "sqliteQueryFilteredCandidates" ? "SQLite filtered candidates" : key === "postgresQueryFilteredCandidates" ? "Postgres filtered candidates" : key === "sqliteQueryInitialSearchK" ? "SQLite initial searchK" : key === "postgresQueryInitialSearchK" ? "Postgres initial searchK" : key === "sqliteQueryFinalSearchK" ? "SQLite final searchK" : key === "postgresQueryFinalSearchK" ? "Postgres final searchK" : key === "sqliteQuerySearchExpansionRatio" ? "SQLite search expansion" : key === "postgresQuerySearchExpansionRatio" ? "Postgres search expansion" : key === "sqliteQueryBackfillCount" ? "SQLite backfill count" : key === "sqliteQueryBackfillLimitReached" ? "SQLite backfill limit reached" : key === "sqliteQueryMinResultsSatisfied" ? "SQLite min results satisfied" : key === "postgresQueryBackfillCount" ? "Postgres backfill count" : key === "postgresQueryBackfillLimitReached" ? "Postgres backfill limit reached" : key === "postgresQueryMinResultsSatisfied" ? "Postgres min results satisfied" : key === "sqliteQueryReturnedCount" ? "SQLite returned hits" : key === "postgresQueryReturnedCount" ? "Postgres returned hits" : key === "sqliteQueryCandidateYieldRatio" ? "SQLite candidate yield" : key === "postgresQueryCandidateYieldRatio" ? "Postgres candidate yield" : key === "sqliteQueryTopKFillRatio" ? "SQLite topK fill rate" : key === "postgresQueryTopKFillRatio" ? "Postgres topK fill rate" : key === "sqliteQueryUnderfilledTopK" ? "SQLite underfilled topK" : key === "postgresQueryUnderfilledTopK" ? "Postgres underfilled topK" : key === "sqliteQueryCandidateBudgetExhausted" ? "SQLite candidate budget exhausted" : key === "postgresQueryCandidateBudgetExhausted" ? "Postgres candidate budget exhausted" : key === "sqliteQueryCandidateCoverage" ? "SQLite candidate coverage" : key === "postgresQueryCandidateCoverage" ? "Postgres candidate coverage" : key === "leadSpeakerCue" ? "Lead speaker cue" : key === "leadSpeakerAttributionCue" ? "Lead speaker attribution" : key === "leadChannelAttributionCue" ? "Lead channel attribution" : key === "leadChannelCue" ? "Lead channel cue" : key === "leadContinuityCue" ? "Lead continuity cue" : key,
|
|
753
753
|
value: key === "sourceAwareChunkReason" ? formatSourceAwareChunkReason(value) ?? formatRAGTraceValue(value) : key === "leadSpeakerAttributionCue" ? formatLeadSpeakerAttributionCue(value) ?? formatRAGTraceValue(value) : key === "leadChannelAttributionCue" ? formatLeadChannelAttributionCue(value) ?? formatRAGTraceValue(value) : key === "leadContinuityCue" ? formatLeadContinuityCue(value) ?? formatRAGTraceValue(value) : formatRAGTraceValue(value)
|
|
754
754
|
});
|
|
755
755
|
var buildRAGRetrievalTracePresentation = (trace) => {
|
|
@@ -2521,6 +2521,7 @@ var formatSQLitePlannerCueSummary = (input) => {
|
|
|
2521
2521
|
typeof input?.sqliteQueryPushdownClauseCount === "number" ? `clauses ${input.sqliteQueryPushdownClauseCount}` : undefined,
|
|
2522
2522
|
typeof input?.sqliteQueryPushdownCoverageRatio === "number" ? `pushdown ${(input.sqliteQueryPushdownCoverageRatio * 100).toFixed(0)}%` : undefined,
|
|
2523
2523
|
typeof input?.sqliteQueryJsRemainderClauseCount === "number" ? `js remainder ${input.sqliteQueryJsRemainderClauseCount}` : undefined,
|
|
2524
|
+
input?.sqliteQueryPlannerProfileUsed ? `profile ${input.sqliteQueryPlannerProfileUsed}` : undefined,
|
|
2524
2525
|
typeof input?.sqliteQueryMultiplierUsed === "number" ? `x${input.sqliteQueryMultiplierUsed}` : undefined,
|
|
2525
2526
|
typeof input?.sqliteQueryCandidateLimitUsed === "number" ? `cap ${input.sqliteQueryCandidateLimitUsed}` : undefined,
|
|
2526
2527
|
typeof input?.sqliteQueryMaxBackfillsUsed === "number" ? `backfills ${input.sqliteQueryMaxBackfillsUsed}` : undefined,
|
|
@@ -2553,6 +2554,7 @@ var formatPostgresPlannerCueSummary = (input) => {
|
|
|
2553
2554
|
typeof input?.postgresQueryPushdownClauseCount === "number" ? `clauses ${input.postgresQueryPushdownClauseCount}` : undefined,
|
|
2554
2555
|
typeof input?.postgresQueryPushdownCoverageRatio === "number" ? `pushdown ${(input.postgresQueryPushdownCoverageRatio * 100).toFixed(0)}%` : undefined,
|
|
2555
2556
|
typeof input?.postgresQueryJsRemainderClauseCount === "number" ? `js remainder ${input.postgresQueryJsRemainderClauseCount}` : undefined,
|
|
2557
|
+
input?.postgresQueryPlannerProfileUsed ? `profile ${input.postgresQueryPlannerProfileUsed}` : undefined,
|
|
2556
2558
|
typeof input?.postgresQueryMultiplierUsed === "number" ? `x${input.postgresQueryMultiplierUsed}` : undefined,
|
|
2557
2559
|
typeof input?.postgresQueryCandidateLimitUsed === "number" ? `cap ${input.postgresQueryCandidateLimitUsed}` : undefined,
|
|
2558
2560
|
typeof input?.postgresQueryMaxBackfillsUsed === "number" ? `backfills ${input.postgresQueryMaxBackfillsUsed}` : undefined,
|
|
@@ -12152,5 +12154,5 @@ export {
|
|
|
12152
12154
|
createAIStream
|
|
12153
12155
|
};
|
|
12154
12156
|
|
|
12155
|
-
//# debugId=
|
|
12157
|
+
//# debugId=6EF75CEEAF4A06F464756E2164756E21
|
|
12156
12158
|
//# sourceMappingURL=index.js.map
|