@absolutejs/absolute 0.19.0-beta.644 → 0.19.0-beta.646
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 +694 -11
- package/dist/ai/client/index.js.map +6 -6
- package/dist/ai/client/ui.js +573 -11
- package/dist/ai/client/ui.js.map +5 -5
- package/dist/ai/index.js +2150 -136
- package/dist/ai/index.js.map +10 -10
- package/dist/ai/rag/quality.js +577 -11
- package/dist/ai/rag/quality.js.map +5 -5
- package/dist/ai/rag/ui.js +573 -11
- package/dist/ai/rag/ui.js.map +5 -5
- package/dist/ai-client/angular/ai/index.js +388 -8
- package/dist/ai-client/react/ai/index.js +388 -8
- package/dist/ai-client/vue/ai/index.js +388 -8
- package/dist/angular/ai/index.js +694 -11
- package/dist/angular/ai/index.js.map +6 -6
- package/dist/index.js +6 -6
- package/dist/index.js.map +2 -2
- package/dist/react/ai/index.js +694 -11
- package/dist/react/ai/index.js.map +6 -6
- package/dist/src/ai/client/ragClient.d.ts +58 -0
- package/dist/src/ai/index.d.ts +2 -1
- package/dist/src/ai/rag/chat.d.ts +90 -4
- package/dist/src/ai/rag/index.d.ts +1 -1
- package/dist/src/ai/rag/quality.d.ts +20 -1
- package/dist/src/vue/ai/useRAG.d.ts +80 -0
- package/dist/src/vue/ai/useRAGEvaluate.d.ts +70 -0
- package/dist/src/vue/ai/useRAGSearch.d.ts +10 -0
- package/dist/svelte/ai/index.js +694 -11
- package/dist/svelte/ai/index.js.map +6 -6
- package/dist/types/ai.d.ts +56 -13
- package/dist/types/index.d.ts +1 -0
- package/dist/types/session.d.ts +16 -0
- package/dist/vue/ai/index.js +694 -11
- package/dist/vue/ai/index.js.map +6 -6
- package/package.json +8 -7
|
@@ -86,8 +86,30 @@ export declare const createRAGClient: (options: RAGClientOptions) => {
|
|
|
86
86
|
}): Promise<RAGRetrievalReleaseGroupHistoryResponse>;
|
|
87
87
|
adaptiveNativePlannerBenchmark(input?: {
|
|
88
88
|
limit?: number;
|
|
89
|
+
runLimit?: number;
|
|
89
90
|
label?: string;
|
|
90
91
|
description?: string;
|
|
92
|
+
groupKey?: string;
|
|
93
|
+
corpusGroupKey?: string;
|
|
94
|
+
}): Promise<RAGAdaptiveNativePlannerBenchmarkResponse>;
|
|
95
|
+
runAdaptiveNativePlannerBenchmark(input?: {
|
|
96
|
+
limit?: number;
|
|
97
|
+
runLimit?: number;
|
|
98
|
+
topK?: number;
|
|
99
|
+
label?: string;
|
|
100
|
+
description?: string;
|
|
101
|
+
groupKey?: string;
|
|
102
|
+
corpusGroupKey?: string;
|
|
103
|
+
persistRun?: boolean;
|
|
104
|
+
baselineRetrievalId?: string;
|
|
105
|
+
candidateRetrievalId?: string;
|
|
106
|
+
retrievals?: Array<{
|
|
107
|
+
id: string;
|
|
108
|
+
label?: string;
|
|
109
|
+
retrieval?: Record<string, unknown> | string;
|
|
110
|
+
}>;
|
|
111
|
+
tags?: string[];
|
|
112
|
+
metadata?: Record<string, unknown>;
|
|
91
113
|
}): Promise<RAGAdaptiveNativePlannerBenchmarkResponse>;
|
|
92
114
|
saveAdaptiveNativePlannerBenchmarkSnapshot(input?: {
|
|
93
115
|
limit?: number;
|
|
@@ -98,6 +120,42 @@ export declare const createRAGClient: (options: RAGClientOptions) => {
|
|
|
98
120
|
metadata?: Record<string, unknown>;
|
|
99
121
|
snapshotMetadata?: Record<string, unknown>;
|
|
100
122
|
}): Promise<RAGAdaptiveNativePlannerBenchmarkSnapshotResponse>;
|
|
123
|
+
nativeBackendComparisonBenchmark(input?: {
|
|
124
|
+
limit?: number;
|
|
125
|
+
runLimit?: number;
|
|
126
|
+
label?: string;
|
|
127
|
+
description?: string;
|
|
128
|
+
groupKey?: string;
|
|
129
|
+
corpusGroupKey?: string;
|
|
130
|
+
}): Promise<RAGAdaptiveNativePlannerBenchmarkResponse>;
|
|
131
|
+
runNativeBackendComparisonBenchmark(input?: {
|
|
132
|
+
limit?: number;
|
|
133
|
+
runLimit?: number;
|
|
134
|
+
topK?: number;
|
|
135
|
+
label?: string;
|
|
136
|
+
description?: string;
|
|
137
|
+
groupKey?: string;
|
|
138
|
+
corpusGroupKey?: string;
|
|
139
|
+
persistRun?: boolean;
|
|
140
|
+
baselineRetrievalId?: string;
|
|
141
|
+
candidateRetrievalId?: string;
|
|
142
|
+
retrievals?: Array<{
|
|
143
|
+
id: string;
|
|
144
|
+
label?: string;
|
|
145
|
+
retrieval?: Record<string, unknown> | string;
|
|
146
|
+
}>;
|
|
147
|
+
tags?: string[];
|
|
148
|
+
metadata?: Record<string, unknown>;
|
|
149
|
+
}): Promise<RAGAdaptiveNativePlannerBenchmarkResponse>;
|
|
150
|
+
saveNativeBackendComparisonBenchmarkSnapshot(input?: {
|
|
151
|
+
limit?: number;
|
|
152
|
+
label?: string;
|
|
153
|
+
description?: string;
|
|
154
|
+
version?: number;
|
|
155
|
+
createdAt?: number;
|
|
156
|
+
metadata?: Record<string, unknown>;
|
|
157
|
+
snapshotMetadata?: Record<string, unknown>;
|
|
158
|
+
}): Promise<RAGAdaptiveNativePlannerBenchmarkSnapshotResponse>;
|
|
101
159
|
retrievalLaneHandoffs(input?: {
|
|
102
160
|
groupKey?: string;
|
|
103
161
|
sourceRolloutLabel?: "canary" | "stable" | "rollback_target";
|
package/dist/src/ai/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { aiChat } from '../plugins/aiChat';
|
|
2
2
|
export { streamAI } from './streamAI';
|
|
3
3
|
export { ragChat } from './rag';
|
|
4
|
-
export { buildRAGContext, compareRAGRetrievalStrategies, compareRAGRerankers, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createHeuristicRAGQueryTransform, createHeuristicRAGRetrievalStrategy, createHeuristicRAGReranker, createRAGAccessControl, createLegacyDocumentExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createRAGBunS3SyncClient, createRAGCollection, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFeedSyncSource, createRAGGitHubSyncSource, createRAGEmbeddingProvider, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGChunkingRegistry, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGFileJobStateStore, createRAGFileSyncStateStore, createRAGSiteDiscoverySyncSource, createRAGSitemapSyncSource, createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, createRAGImageOCRExtractor, createRAGIMAPEmailSyncClient, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGPDFOCRExtractor, previewRAGSyncConflictResolutions, previewRAGSyncExtractionRecovery, createRAGQueryTransform, createRAGReranker, resolveRAGSyncExtractionRecovery, resolveRAGSyncConflictResolutions, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGStaticEmailSyncClient, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, buildRAGUpsertInputFromURLs, createRAGUrlSyncSource, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGOCRProvider, createTextFileExtractor, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromUploads, loadRAGDocumentsFromURLs, loadRAGDocumentUpload, loadRAGDocumentFromURL, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, ragPlugin, runRAGEvaluationSuite, resolveRAGEmbeddingProvider, resolveRAGHybridSearchOptions, resolveRAGQueryTransform, resolveRAGReranker, searchDocuments, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, buildRAGEvaluationEntityQualityView, buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord, scoreRAGLexicalMatch, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, applyRAGQueryTransform, applyRAGReranking, fuseRAGQueryResults, ingestDocuments, ingestRAGDocuments, buildRAGRetrievalTraceHistoryTrend, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, createRAGAdaptiveNativePlannerBenchmarkSuite, createRAGAdaptiveNativePlannerBenchmarkSnapshot, setRAGEvaluationSuiteCaseGoldenSet, buildRAGEvaluationSuiteSnapshotDiff, loadRAGEvaluationSuiteSnapshotHistory, updateRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCaseHardNegative, reorderRAGEvaluationSuiteCases, summarizeRAGEvaluationSuiteDataset, generateRAGEvaluationSuiteFromDocuments, buildRAGLexicalHaystack, validateRAGEmbeddingDimensions, alibabaEmbeddings, anthropicOCR, deepseekEmbeddings, googleEmbeddings, geminiEmbeddings, geminiOCR, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, ollamaOCR, ollamaTranscriber, openaiCompatibleEmbeddings, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiEmbeddings, openaiOCR, openaiTranscriber, xaiEmbeddings } from './rag';
|
|
4
|
+
export { buildRAGContext, compareRAGRetrievalStrategies, compareRAGRerankers, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createHeuristicRAGQueryTransform, createHeuristicRAGRetrievalStrategy, createHeuristicRAGReranker, createRAGAccessControl, createLegacyDocumentExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createRAGBunS3SyncClient, createRAGCollection, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFeedSyncSource, createRAGGitHubSyncSource, createRAGEmbeddingProvider, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGChunkingRegistry, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGFileJobStateStore, createRAGFileSyncStateStore, createRAGSiteDiscoverySyncSource, createRAGSitemapSyncSource, createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, createRAGImageOCRExtractor, createRAGIMAPEmailSyncClient, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGPDFOCRExtractor, previewRAGSyncConflictResolutions, previewRAGSyncExtractionRecovery, createRAGQueryTransform, createRAGReranker, resolveRAGSyncExtractionRecovery, resolveRAGSyncConflictResolutions, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGStaticEmailSyncClient, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, buildRAGUpsertInputFromURLs, createRAGUrlSyncSource, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGOCRProvider, createTextFileExtractor, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromUploads, loadRAGDocumentsFromURLs, loadRAGDocumentUpload, loadRAGDocumentFromURL, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, ragPlugin, runRAGEvaluationSuite, resolveRAGEmbeddingProvider, resolveRAGHybridSearchOptions, resolveRAGQueryTransform, resolveRAGReranker, searchDocuments, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, buildRAGEvaluationEntityQualityView, buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord, scoreRAGLexicalMatch, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, applyRAGQueryTransform, applyRAGReranking, fuseRAGQueryResults, ingestDocuments, ingestRAGDocuments, buildRAGRetrievalTraceHistoryTrend, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, createRAGAdaptiveNativePlannerBenchmarkSuite, createRAGAdaptiveNativePlannerBenchmarkSnapshot, createRAGNativeBackendBenchmarkCorpus, createRAGNativeBackendBenchmarkMockEmbedding, createRAGNativeBackendComparisonBenchmarkSuite, createRAGNativeBackendComparisonBenchmarkSnapshot, 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';
|
|
@@ -9,6 +9,7 @@ export { resolveAbsoluteSQLiteVec, resolveAbsoluteSQLiteVecExtensionPath } from
|
|
|
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
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
|
+
export type { SessionStore } from '../../types/session';
|
|
12
13
|
export { createConversationManager } from './conversationManager';
|
|
13
14
|
export { createMemoryStore } from './memoryStore';
|
|
14
15
|
export { generateId, parseAIMessage, serializeAIMessage } from './protocol';
|
|
@@ -191,6 +191,70 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
191
191
|
};
|
|
192
192
|
};
|
|
193
193
|
};
|
|
194
|
+
} & {
|
|
195
|
+
[x: string]: {
|
|
196
|
+
compare: {
|
|
197
|
+
retrieval: {
|
|
198
|
+
benchmarks: {
|
|
199
|
+
"native-backend-comparison": {
|
|
200
|
+
get: {
|
|
201
|
+
body: unknown;
|
|
202
|
+
params: {};
|
|
203
|
+
query: unknown;
|
|
204
|
+
headers: unknown;
|
|
205
|
+
response: {
|
|
206
|
+
200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
} & {
|
|
215
|
+
[x: string]: {
|
|
216
|
+
compare: {
|
|
217
|
+
retrieval: {
|
|
218
|
+
benchmarks: {
|
|
219
|
+
"adaptive-native-planner": {
|
|
220
|
+
run: {
|
|
221
|
+
post: {
|
|
222
|
+
body: unknown;
|
|
223
|
+
params: {};
|
|
224
|
+
query: unknown;
|
|
225
|
+
headers: unknown;
|
|
226
|
+
response: {
|
|
227
|
+
200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
} & {
|
|
237
|
+
[x: string]: {
|
|
238
|
+
compare: {
|
|
239
|
+
retrieval: {
|
|
240
|
+
benchmarks: {
|
|
241
|
+
"native-backend-comparison": {
|
|
242
|
+
run: {
|
|
243
|
+
post: {
|
|
244
|
+
body: unknown;
|
|
245
|
+
params: {};
|
|
246
|
+
query: unknown;
|
|
247
|
+
headers: unknown;
|
|
248
|
+
response: {
|
|
249
|
+
200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
};
|
|
194
258
|
} & {
|
|
195
259
|
[x: string]: {
|
|
196
260
|
compare: {
|
|
@@ -213,6 +277,28 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
213
277
|
};
|
|
214
278
|
};
|
|
215
279
|
};
|
|
280
|
+
} & {
|
|
281
|
+
[x: string]: {
|
|
282
|
+
compare: {
|
|
283
|
+
retrieval: {
|
|
284
|
+
benchmarks: {
|
|
285
|
+
"native-backend-comparison": {
|
|
286
|
+
snapshots: {
|
|
287
|
+
post: {
|
|
288
|
+
body: unknown;
|
|
289
|
+
params: {};
|
|
290
|
+
query: unknown;
|
|
291
|
+
headers: unknown;
|
|
292
|
+
response: {
|
|
293
|
+
200: Response | RAGAdaptiveNativePlannerBenchmarkSnapshotResponse;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
};
|
|
216
302
|
} & {
|
|
217
303
|
[x: string]: {
|
|
218
304
|
compare: {
|
|
@@ -681,7 +767,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
681
767
|
};
|
|
682
768
|
};
|
|
683
769
|
};
|
|
684
|
-
} & {
|
|
770
|
+
} & ({
|
|
685
771
|
[x: string]: {
|
|
686
772
|
compare: {
|
|
687
773
|
retrieval: {
|
|
@@ -721,7 +807,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
721
807
|
};
|
|
722
808
|
};
|
|
723
809
|
};
|
|
724
|
-
} &
|
|
810
|
+
} & {
|
|
725
811
|
[x: string]: {
|
|
726
812
|
compare: {
|
|
727
813
|
retrieval: {
|
|
@@ -1061,7 +1147,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
1061
1147
|
};
|
|
1062
1148
|
};
|
|
1063
1149
|
};
|
|
1064
|
-
} & {
|
|
1150
|
+
} & ({
|
|
1065
1151
|
[x: string]: {
|
|
1066
1152
|
documents: {
|
|
1067
1153
|
get: {
|
|
@@ -1078,7 +1164,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
1078
1164
|
};
|
|
1079
1165
|
};
|
|
1080
1166
|
};
|
|
1081
|
-
} &
|
|
1167
|
+
} & {
|
|
1082
1168
|
[x: string]: {
|
|
1083
1169
|
documents: {
|
|
1084
1170
|
post: {
|
|
@@ -11,7 +11,7 @@ export { anthropicOCR, geminiOCR, ollamaOCR, ollamaTranscriber, openaiCompatible
|
|
|
11
11
|
export { createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGIMAPEmailSyncClient } from './emailProviders';
|
|
12
12
|
export { buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createLegacyDocumentExtractor, createRAGPDFOCRExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGChunkingRegistry, createRAGImageOCRExtractor, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGOCRProvider, createTextFileExtractor, loadRAGDocumentFromURL, loadRAGDocumentUpload, loadRAGDocumentsFromUploads, buildRAGUpsertInputFromURLs, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromURLs, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments } from './ingestion';
|
|
13
13
|
export { buildRAGContext } from './types';
|
|
14
|
-
export { buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationEntityQualityView, compareRAGRetrievalStrategies, compareRAGRerankers, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, createRAGAdaptiveNativePlannerBenchmarkSuite, createRAGAdaptiveNativePlannerBenchmarkSnapshot, setRAGEvaluationSuiteCaseGoldenSet, updateRAGEvaluationSuiteCase, buildRAGEvaluationSuiteSnapshotDiff, removeRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCaseHardNegative, reorderRAGEvaluationSuiteCases, summarizeRAGEvaluationSuiteDataset, generateRAGEvaluationSuiteFromDocuments, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGEvaluationSuiteSnapshotHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, buildRAGRetrievalTraceHistoryTrend, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord } from './quality';
|
|
14
|
+
export { buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationEntityQualityView, compareRAGRetrievalStrategies, compareRAGRerankers, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEntityQualityView, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGSQLiteAnswerGroundingEvaluationHistoryStore, createRAGSQLiteEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteGovernanceStores, inspectRAGSQLiteStoreMigrations, applyRAGSQLiteStoreMigrations, createRAGSQLiteRetrievalBaselineStore, createRAGSQLiteRetrievalComparisonHistoryStore, createRAGSQLiteRetrievalLaneHandoffDecisionStore, createRAGSQLiteRetrievalLaneHandoffIncidentStore, createRAGSQLiteRetrievalLaneHandoffIncidentHistoryStore, createRAGSQLiteRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGSQLiteRetrievalIncidentRemediationDecisionStore, createRAGSQLiteRetrievalIncidentRemediationExecutionHistoryStore, createRAGSQLiteRetrievalReleaseLanePolicyHistoryStore, createRAGSQLiteRetrievalBaselineGatePolicyHistoryStore, createRAGSQLiteRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGSQLiteRetrievalReleaseIncidentStore, createRAGSQLiteRetrievalReleaseDecisionStore, createRAGSQLiteSearchTraceStore, createRAGSQLiteSearchTracePruneHistoryStore, createRAGSQLiteEvaluationSuiteSnapshotHistoryStore, createRAGFileEvaluationSuiteSnapshotHistoryStore, createRAGEvaluationSuite, addRAGEvaluationSuiteCase, addRAGEvaluationSuiteCaseHardNegative, createRAGEvaluationSuiteSnapshot, createRAGAdaptiveNativePlannerBenchmarkSuite, createRAGAdaptiveNativePlannerBenchmarkSnapshot, createRAGNativeBackendBenchmarkCorpus, createRAGNativeBackendBenchmarkMockEmbedding, createRAGNativeBackendComparisonBenchmarkSuite, createRAGNativeBackendComparisonBenchmarkSnapshot, setRAGEvaluationSuiteCaseGoldenSet, updateRAGEvaluationSuiteCase, buildRAGEvaluationSuiteSnapshotDiff, removeRAGEvaluationSuiteCase, removeRAGEvaluationSuiteCaseHardNegative, reorderRAGEvaluationSuiteCases, summarizeRAGEvaluationSuiteDataset, generateRAGEvaluationSuiteFromDocuments, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGEvaluationSuiteSnapshotHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, buildRAGRetrievalTraceHistoryTrend, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord } from './quality';
|
|
15
15
|
export { buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingEntityQualityPresentation, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGChunkGraph, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGCorpusHealthPresentation, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationEntityQualityPresentation, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationHistoryRows, buildRAGEvaluationSuiteSnapshotHistoryPresentation, buildRAGEvaluationSuiteSnapshotPresentations, buildRAGEvaluationSuiteSnapshotRows, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderPresentations, buildRAGGroundingReferences, buildRAGQualityOverviewPresentation, buildRAGReadinessPresentation, buildRAGSourceLabels, buildRAGSectionRetrievalDiagnostics, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGRerankerOverviewPresentation, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalTracePresentation, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGSyncOverviewPresentation, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations } from './ui';
|
|
16
16
|
export { createRAGBunS3SyncClient, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFeedSyncSource, createRAGFileSyncStateStore, createRAGGitHubSyncSource, createRAGSiteDiscoverySyncSource, createRAGSitemapSyncSource, createRAGStaticEmailSyncClient, previewRAGSyncConflictResolutions, previewRAGSyncExtractionRecovery, resolveRAGSyncExtractionRecovery, resolveRAGSyncConflictResolutions, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGUrlSyncSource } from './sync';
|
|
17
17
|
export { createRAGFileJobStateStore } from './jobState';
|
|
@@ -1,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, 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';
|
|
2
|
+
import type { RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGCollection, RAGEvaluationCase, RAGEvaluationCaseTraceSnapshot, RAGEvaluationCaseResult, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationInput, RAGEvaluationLeaderboardEntry, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGDocumentChunk, RAGEvaluationSuite, RAGEvaluationSuiteGenerationOptions, RAGEvaluationSuiteDatasetSummary, RAGEvaluationSuiteSnapshot, RAGEvaluationSuiteSnapshotDiff, RAGEvaluationSuiteSnapshotHistory, RAGEvaluationSuiteSnapshotHistoryStore, RAGEvaluationSuiteRun, RAGEvaluationEntityQualityView, RAGAnswerGroundingEntityQualityView, RAGRetrievalTraceSummaryRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalBaselineGatePolicy, RAGRetrievalBaselineGatePolicyHistoryRecord, RAGRetrievalBaselineGatePolicyHistoryStore, RAGRetrievalComparisonDecisionSummary, RAGRetrievalReleaseVerdict, RAGRetrievalComparisonHistoryStore, RAGRetrievalBaselineRecord, RAGRetrievalBaselineStore, RAGRetrievalLaneHandoffDecisionRecord, RAGRetrievalLaneHandoffDecisionStore, RAGRetrievalLaneHandoffIncidentHistoryRecord, RAGRetrievalLaneHandoffIncidentHistoryStore, RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord, RAGRetrievalLaneHandoffAutoCompletePolicyHistoryStore, RAGRetrievalLaneHandoffIncidentRecord, RAGRetrievalLaneHandoffIncidentStore, RAGRetrievalIncidentRemediationDecisionRecord, RAGRetrievalIncidentRemediationDecisionStore, RAGRetrievalIncidentRemediationExecutionHistoryRecord, RAGRetrievalIncidentRemediationExecutionHistoryStore, RAGRetrievalReleaseDecisionRecord, RAGRetrievalReleaseLanePolicyHistoryRecord, RAGRetrievalReleaseLanePolicyHistoryStore, RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord, RAGRetrievalReleaseLaneEscalationPolicyHistoryStore, RAGRetrievalReleaseDecisionStore, RAGRetrievalReleaseIncidentRecord, RAGRetrievalReleaseIncidentStore, RAGRetrievalComparisonRun, RAGRetrievalComparisonEntry, RAGRetrievalTrace, RAGRetrievalTraceComparisonSummary, RAGRetrievalTraceComparisonSummaryDiff, RAGRetrievalComparisonSummary, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerProviderLike, RAGRetrievalTraceTrend, RAGSearchTraceDiff, RAGSearchTraceGroupHistory, RAGSearchTraceHistory, RAGChatPluginConfig, RAGSearchTracePruneInput, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneRun, RAGSearchTracePrunePreview, RAGSearchTracePruneResult, RAGSearchTraceRecord, RAGSearchTraceStats, RAGSearchTraceStore, RAGRemediationAction, RAGSource, RAGSQLiteStoreMigrationInspection, RAGSQLiteStoreMigrationResult } from '../../../types/ai';
|
|
3
3
|
export declare const buildRAGRetrievalReleaseVerdict: ({ groupKey, decisionSummary }: {
|
|
4
4
|
groupKey?: string;
|
|
5
5
|
decisionSummary?: RAGRetrievalComparisonDecisionSummary;
|
|
@@ -495,6 +495,11 @@ export declare const summarizeRAGEvaluationSuiteDataset: ({ suite }: {
|
|
|
495
495
|
suite: RAGEvaluationSuite;
|
|
496
496
|
}) => RAGEvaluationSuiteDatasetSummary;
|
|
497
497
|
export declare const generateRAGEvaluationSuiteFromDocuments: ({ suiteId, documents, label, description, maxCases, topK, scoreThreshold, filter, retrieval, includeGoldenSet, hardNegativePerCase, metadata }: RAGEvaluationSuiteGenerationOptions) => RAGEvaluationSuite;
|
|
498
|
+
export declare const createRAGNativeBackendBenchmarkMockEmbedding: (text: string) => Promise<number[]>;
|
|
499
|
+
export declare const createRAGNativeBackendBenchmarkCorpus: (input?: {
|
|
500
|
+
backend?: "generic" | "sqlite-native" | "postgres";
|
|
501
|
+
noiseCount?: number;
|
|
502
|
+
}) => RAGDocumentChunk[];
|
|
498
503
|
export declare const createRAGAdaptiveNativePlannerBenchmarkSuite: (input?: {
|
|
499
504
|
id?: string;
|
|
500
505
|
label?: string;
|
|
@@ -509,6 +514,20 @@ export declare const createRAGAdaptiveNativePlannerBenchmarkSnapshot: (input?: {
|
|
|
509
514
|
createdAt?: number;
|
|
510
515
|
metadata?: Record<string, unknown>;
|
|
511
516
|
}) => RAGEvaluationSuiteSnapshot;
|
|
517
|
+
export declare const createRAGNativeBackendComparisonBenchmarkSuite: (input?: {
|
|
518
|
+
id?: string;
|
|
519
|
+
label?: string;
|
|
520
|
+
description?: string;
|
|
521
|
+
topK?: number;
|
|
522
|
+
metadata?: Record<string, unknown>;
|
|
523
|
+
}) => RAGEvaluationSuite;
|
|
524
|
+
export declare const createRAGNativeBackendComparisonBenchmarkSnapshot: (input?: {
|
|
525
|
+
suite?: RAGEvaluationSuite;
|
|
526
|
+
id?: string;
|
|
527
|
+
version?: number;
|
|
528
|
+
createdAt?: number;
|
|
529
|
+
metadata?: Record<string, unknown>;
|
|
530
|
+
}) => RAGEvaluationSuiteSnapshot;
|
|
512
531
|
export declare const createRAGEvaluationSuiteSnapshot: ({ suite, id, version, createdAt, metadata }: {
|
|
513
532
|
suite: RAGEvaluationSuite;
|
|
514
533
|
id?: string;
|
|
@@ -279,6 +279,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
279
279
|
fusionConstant?: number | undefined;
|
|
280
280
|
lexicalWeight?: number | undefined;
|
|
281
281
|
vectorWeight?: number | undefined;
|
|
282
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
283
|
+
nativeCandidateLimit?: number | undefined;
|
|
284
|
+
nativeMaxBackfills?: number | undefined;
|
|
285
|
+
nativeMinResults?: number | undefined;
|
|
286
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
282
287
|
} | undefined;
|
|
283
288
|
expectedChunkIds?: string[] | undefined;
|
|
284
289
|
expectedSources?: string[] | undefined;
|
|
@@ -305,6 +310,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
305
310
|
fusionConstant?: number | undefined;
|
|
306
311
|
lexicalWeight?: number | undefined;
|
|
307
312
|
vectorWeight?: number | undefined;
|
|
313
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
314
|
+
nativeCandidateLimit?: number | undefined;
|
|
315
|
+
nativeMaxBackfills?: number | undefined;
|
|
316
|
+
nativeMinResults?: number | undefined;
|
|
317
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
308
318
|
} | undefined;
|
|
309
319
|
dryRun?: boolean | undefined;
|
|
310
320
|
} | null, import("../..").RAGEvaluationInput | {
|
|
@@ -327,6 +337,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
327
337
|
fusionConstant?: number | undefined;
|
|
328
338
|
lexicalWeight?: number | undefined;
|
|
329
339
|
vectorWeight?: number | undefined;
|
|
340
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
341
|
+
nativeCandidateLimit?: number | undefined;
|
|
342
|
+
nativeMaxBackfills?: number | undefined;
|
|
343
|
+
nativeMinResults?: number | undefined;
|
|
344
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
330
345
|
} | undefined;
|
|
331
346
|
expectedChunkIds?: string[] | undefined;
|
|
332
347
|
expectedSources?: string[] | undefined;
|
|
@@ -353,6 +368,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
353
368
|
fusionConstant?: number | undefined;
|
|
354
369
|
lexicalWeight?: number | undefined;
|
|
355
370
|
vectorWeight?: number | undefined;
|
|
371
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
372
|
+
nativeCandidateLimit?: number | undefined;
|
|
373
|
+
nativeMaxBackfills?: number | undefined;
|
|
374
|
+
nativeMinResults?: number | undefined;
|
|
375
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
356
376
|
} | undefined;
|
|
357
377
|
dryRun?: boolean | undefined;
|
|
358
378
|
} | null>;
|
|
@@ -509,6 +529,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
509
529
|
multiVectorVectorHitCases: number;
|
|
510
530
|
multiVectorLexicalHitCases: number;
|
|
511
531
|
multiVectorCollapsedCases: number;
|
|
532
|
+
officeEvidenceReconcileCases: number;
|
|
533
|
+
pdfEvidenceReconcileCases: number;
|
|
512
534
|
runtimeCandidateBudgetExhaustedCases: number;
|
|
513
535
|
runtimeUnderfilledTopKCases: number;
|
|
514
536
|
averageFinalCount: number;
|
|
@@ -527,6 +549,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
527
549
|
rerank?: number | undefined;
|
|
528
550
|
diversity?: number | undefined;
|
|
529
551
|
source_balance?: number | undefined;
|
|
552
|
+
evidence_reconcile?: number | undefined;
|
|
530
553
|
score_filter?: number | undefined;
|
|
531
554
|
finalize?: number | undefined;
|
|
532
555
|
};
|
|
@@ -550,6 +573,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
550
573
|
fusionConstant?: number | undefined;
|
|
551
574
|
lexicalWeight?: number | undefined;
|
|
552
575
|
vectorWeight?: number | undefined;
|
|
576
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
577
|
+
nativeCandidateLimit?: number | undefined;
|
|
578
|
+
nativeMaxBackfills?: number | undefined;
|
|
579
|
+
nativeMinResults?: number | undefined;
|
|
580
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
553
581
|
} | undefined;
|
|
554
582
|
previousInputRetrieval?: import("../..").RAGHybridRetrievalMode | {
|
|
555
583
|
mode?: import("../..").RAGHybridRetrievalMode | undefined;
|
|
@@ -562,6 +590,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
562
590
|
fusionConstant?: number | undefined;
|
|
563
591
|
lexicalWeight?: number | undefined;
|
|
564
592
|
vectorWeight?: number | undefined;
|
|
593
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
594
|
+
nativeCandidateLimit?: number | undefined;
|
|
595
|
+
nativeMaxBackfills?: number | undefined;
|
|
596
|
+
nativeMinResults?: number | undefined;
|
|
597
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
565
598
|
} | undefined;
|
|
566
599
|
traceMode?: import("../..").RAGHybridRetrievalMode | undefined;
|
|
567
600
|
previousTraceMode?: import("../..").RAGHybridRetrievalMode | undefined;
|
|
@@ -734,6 +767,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
734
767
|
rerank?: number | undefined;
|
|
735
768
|
diversity?: number | undefined;
|
|
736
769
|
source_balance?: number | undefined;
|
|
770
|
+
evidence_reconcile?: number | undefined;
|
|
737
771
|
score_filter?: number | undefined;
|
|
738
772
|
finalize?: number | undefined;
|
|
739
773
|
};
|
|
@@ -748,6 +782,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
748
782
|
rerank?: number | undefined;
|
|
749
783
|
diversity?: number | undefined;
|
|
750
784
|
source_balance?: number | undefined;
|
|
785
|
+
evidence_reconcile?: number | undefined;
|
|
751
786
|
score_filter?: number | undefined;
|
|
752
787
|
finalize?: number | undefined;
|
|
753
788
|
};
|
|
@@ -814,6 +849,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
814
849
|
multiVectorVectorHitCases: number;
|
|
815
850
|
multiVectorLexicalHitCases: number;
|
|
816
851
|
multiVectorCollapsedCases: number;
|
|
852
|
+
officeEvidenceReconcileCases: number;
|
|
853
|
+
pdfEvidenceReconcileCases: number;
|
|
817
854
|
runtimeCandidateBudgetExhaustedCases: number;
|
|
818
855
|
runtimeUnderfilledTopKCases: number;
|
|
819
856
|
averageFinalCount: number;
|
|
@@ -832,6 +869,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
832
869
|
rerank?: number | undefined;
|
|
833
870
|
diversity?: number | undefined;
|
|
834
871
|
source_balance?: number | undefined;
|
|
872
|
+
evidence_reconcile?: number | undefined;
|
|
835
873
|
score_filter?: number | undefined;
|
|
836
874
|
finalize?: number | undefined;
|
|
837
875
|
};
|
|
@@ -855,6 +893,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
855
893
|
fusionConstant?: number | undefined;
|
|
856
894
|
lexicalWeight?: number | undefined;
|
|
857
895
|
vectorWeight?: number | undefined;
|
|
896
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
897
|
+
nativeCandidateLimit?: number | undefined;
|
|
898
|
+
nativeMaxBackfills?: number | undefined;
|
|
899
|
+
nativeMinResults?: number | undefined;
|
|
900
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
858
901
|
} | undefined;
|
|
859
902
|
previousInputRetrieval?: import("../..").RAGHybridRetrievalMode | {
|
|
860
903
|
mode?: import("../..").RAGHybridRetrievalMode | undefined;
|
|
@@ -867,6 +910,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
867
910
|
fusionConstant?: number | undefined;
|
|
868
911
|
lexicalWeight?: number | undefined;
|
|
869
912
|
vectorWeight?: number | undefined;
|
|
913
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
914
|
+
nativeCandidateLimit?: number | undefined;
|
|
915
|
+
nativeMaxBackfills?: number | undefined;
|
|
916
|
+
nativeMinResults?: number | undefined;
|
|
917
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
870
918
|
} | undefined;
|
|
871
919
|
traceMode?: import("../..").RAGHybridRetrievalMode | undefined;
|
|
872
920
|
previousTraceMode?: import("../..").RAGHybridRetrievalMode | undefined;
|
|
@@ -1039,6 +1087,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1039
1087
|
rerank?: number | undefined;
|
|
1040
1088
|
diversity?: number | undefined;
|
|
1041
1089
|
source_balance?: number | undefined;
|
|
1090
|
+
evidence_reconcile?: number | undefined;
|
|
1042
1091
|
score_filter?: number | undefined;
|
|
1043
1092
|
finalize?: number | undefined;
|
|
1044
1093
|
};
|
|
@@ -1053,6 +1102,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1053
1102
|
rerank?: number | undefined;
|
|
1054
1103
|
diversity?: number | undefined;
|
|
1055
1104
|
source_balance?: number | undefined;
|
|
1105
|
+
evidence_reconcile?: number | undefined;
|
|
1056
1106
|
score_filter?: number | undefined;
|
|
1057
1107
|
finalize?: number | undefined;
|
|
1058
1108
|
};
|
|
@@ -1084,6 +1134,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1084
1134
|
fusionConstant?: number | undefined;
|
|
1085
1135
|
lexicalWeight?: number | undefined;
|
|
1086
1136
|
vectorWeight?: number | undefined;
|
|
1137
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1138
|
+
nativeCandidateLimit?: number | undefined;
|
|
1139
|
+
nativeMaxBackfills?: number | undefined;
|
|
1140
|
+
nativeMinResults?: number | undefined;
|
|
1141
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
1087
1142
|
} | undefined;
|
|
1088
1143
|
expectedChunkIds?: string[] | undefined;
|
|
1089
1144
|
expectedSources?: string[] | undefined;
|
|
@@ -1110,6 +1165,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1110
1165
|
fusionConstant?: number | undefined;
|
|
1111
1166
|
lexicalWeight?: number | undefined;
|
|
1112
1167
|
vectorWeight?: number | undefined;
|
|
1168
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1169
|
+
nativeCandidateLimit?: number | undefined;
|
|
1170
|
+
nativeMaxBackfills?: number | undefined;
|
|
1171
|
+
nativeMinResults?: number | undefined;
|
|
1172
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
1113
1173
|
} | undefined;
|
|
1114
1174
|
dryRun?: boolean | undefined;
|
|
1115
1175
|
};
|
|
@@ -1138,6 +1198,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1138
1198
|
fusionConstant?: number | undefined;
|
|
1139
1199
|
lexicalWeight?: number | undefined;
|
|
1140
1200
|
vectorWeight?: number | undefined;
|
|
1201
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1202
|
+
nativeCandidateLimit?: number | undefined;
|
|
1203
|
+
nativeMaxBackfills?: number | undefined;
|
|
1204
|
+
nativeMinResults?: number | undefined;
|
|
1205
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
1141
1206
|
} | undefined;
|
|
1142
1207
|
expectedChunkIds?: string[] | undefined;
|
|
1143
1208
|
expectedSources?: string[] | undefined;
|
|
@@ -1164,6 +1229,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1164
1229
|
fusionConstant?: number | undefined;
|
|
1165
1230
|
lexicalWeight?: number | undefined;
|
|
1166
1231
|
vectorWeight?: number | undefined;
|
|
1232
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
1233
|
+
nativeCandidateLimit?: number | undefined;
|
|
1234
|
+
nativeMaxBackfills?: number | undefined;
|
|
1235
|
+
nativeMinResults?: number | undefined;
|
|
1236
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
1167
1237
|
} | undefined;
|
|
1168
1238
|
dryRun?: boolean | undefined;
|
|
1169
1239
|
};
|
|
@@ -2561,6 +2631,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2561
2631
|
fusionConstant?: number | undefined;
|
|
2562
2632
|
lexicalWeight?: number | undefined;
|
|
2563
2633
|
vectorWeight?: number | undefined;
|
|
2634
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2635
|
+
nativeCandidateLimit?: number | undefined;
|
|
2636
|
+
nativeMaxBackfills?: number | undefined;
|
|
2637
|
+
nativeMinResults?: number | undefined;
|
|
2638
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
2564
2639
|
} | undefined;
|
|
2565
2640
|
model?: string | undefined;
|
|
2566
2641
|
includeTrace?: boolean | undefined;
|
|
@@ -2600,6 +2675,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2600
2675
|
fusionConstant?: number | undefined;
|
|
2601
2676
|
lexicalWeight?: number | undefined;
|
|
2602
2677
|
vectorWeight?: number | undefined;
|
|
2678
|
+
nativeQueryProfile?: import("../..").RAGNativeQueryProfile | undefined;
|
|
2679
|
+
nativeCandidateLimit?: number | undefined;
|
|
2680
|
+
nativeMaxBackfills?: number | undefined;
|
|
2681
|
+
nativeMinResults?: number | undefined;
|
|
2682
|
+
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
2603
2683
|
} | undefined;
|
|
2604
2684
|
model?: string | undefined;
|
|
2605
2685
|
includeTrace?: boolean | undefined;
|