@absolutejs/absolute 0.19.0-beta.615 → 0.19.0-beta.616
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 +60 -43
- package/dist/ai/client/index.js.map +7 -7
- package/dist/ai/client/ui.js +5 -1
- package/dist/ai/client/ui.js.map +3 -3
- package/dist/ai/index.js +1101 -196
- package/dist/ai/index.js.map +14 -12
- package/dist/ai/rag/quality.js +16 -3
- package/dist/ai/rag/quality.js.map +4 -4
- package/dist/ai/rag/ui.js +5 -1
- package/dist/ai/rag/ui.js.map +3 -3
- package/dist/ai-client/angular/ai/index.js +44 -40
- package/dist/ai-client/react/ai/index.js +46 -42
- package/dist/ai-client/vue/ai/index.js +44 -40
- package/dist/angular/ai/index.js +46 -42
- package/dist/angular/ai/index.js.map +6 -6
- package/dist/react/ai/index.js +64 -47
- package/dist/react/ai/index.js.map +9 -9
- package/dist/src/ai/client/actions.d.ts +1 -1
- package/dist/src/ai/index.d.ts +2 -2
- package/dist/src/ai/protocol.d.ts +1 -1
- package/dist/src/ai/rag/accessControl.d.ts +2 -0
- package/dist/src/ai/rag/chat.d.ts +21 -23
- package/dist/src/ai/rag/index.d.ts +4 -2
- package/dist/src/ai/rag/ingestion.d.ts +12 -3
- package/dist/src/ai/rag/jobState.d.ts +2 -0
- package/dist/src/vue/ai/useRAG.d.ts +26 -0
- package/dist/src/vue/ai/useRAGChunkPreview.d.ts +4 -0
- package/dist/src/vue/ai/useRAGDocuments.d.ts +4 -0
- package/dist/src/vue/ai/useRAGEvaluate.d.ts +14 -0
- package/dist/src/vue/ai/useRAGIndexAdmin.d.ts +2 -0
- package/dist/src/vue/ai/useRAGSearch.d.ts +2 -0
- package/dist/svelte/ai/index.js +60 -43
- package/dist/svelte/ai/index.js.map +7 -7
- package/dist/types/ai.d.ts +147 -0
- package/dist/vue/ai/index.js +60 -43
- package/dist/vue/ai/index.js.map +7 -7
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AIServerMessage } from '../../../types/ai';
|
|
2
|
-
export declare const serverMessageToAction: (
|
|
2
|
+
export declare const serverMessageToAction: (message: AIServerMessage) => {
|
|
3
3
|
content: string;
|
|
4
4
|
conversationId: string;
|
|
5
5
|
messageId: string;
|
package/dist/src/ai/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { aiChat } from '../plugins/aiChat';
|
|
2
2
|
export { streamAI } from './streamAI';
|
|
3
3
|
export { ragChat } from './rag';
|
|
4
|
-
export { buildRAGContext, compareRAGRetrievalStrategies, compareRAGRerankers, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createHeuristicRAGQueryTransform, createHeuristicRAGRetrievalStrategy, createHeuristicRAGReranker, createLegacyDocumentExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createRAGBunS3SyncClient, createRAGCollection, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGEmbeddingProvider, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteSearchTraceStore, createRAGFileExtractor, createRAGFileSyncStateStore, createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, createRAGImageOCRExtractor, createRAGIMAPEmailSyncClient, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGPDFOCRExtractor, createRAGQueryTransform, createRAGReranker, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGStaticEmailSyncClient, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, buildRAGUpsertInputFromURLs, createRAGUrlSyncSource, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGOCRProvider, createTextFileExtractor, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromUploads, loadRAGDocumentsFromURLs, loadRAGDocumentUpload, loadRAGDocumentFromURL, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, ragPlugin, runRAGEvaluationSuite, resolveRAGEmbeddingProvider, resolveRAGHybridSearchOptions, resolveRAGQueryTransform, resolveRAGReranker, searchDocuments, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord, scoreRAGLexicalMatch, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, applyRAGQueryTransform, applyRAGReranking, fuseRAGQueryResults, ingestDocuments, ingestRAGDocuments, buildRAGRetrievalTraceHistoryTrend, createRAGEvaluationSuite, buildRAGLexicalHaystack, validateRAGEmbeddingDimensions, alibabaEmbeddings, anthropicOCR, deepseekEmbeddings, googleEmbeddings, geminiEmbeddings, geminiOCR, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, ollamaOCR, ollamaTranscriber, openaiCompatibleEmbeddings, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiEmbeddings, openaiOCR, openaiTranscriber, xaiEmbeddings } from './rag';
|
|
4
|
+
export { buildRAGContext, compareRAGRetrievalStrategies, compareRAGRerankers, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createHeuristicRAGQueryTransform, createHeuristicRAGRetrievalStrategy, createHeuristicRAGReranker, createRAGAccessControl, createLegacyDocumentExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createRAGBunS3SyncClient, createRAGCollection, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGEmbeddingProvider, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteSearchTraceStore, createRAGChunkingRegistry, createRAGFileExtractor, createRAGFileExtractorRegistry, createRAGFileJobStateStore, createRAGFileSyncStateStore, createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGHTMXConfig, createRAGHTMXWorkflowRenderConfig, createRAGImageOCRExtractor, createRAGIMAPEmailSyncClient, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGPDFOCRExtractor, createRAGQueryTransform, createRAGReranker, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGStaticEmailSyncClient, buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, buildRAGUpsertInputFromURLs, createRAGUrlSyncSource, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGOCRProvider, createTextFileExtractor, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromUploads, loadRAGDocumentsFromURLs, loadRAGDocumentUpload, loadRAGDocumentFromURL, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, ragPlugin, runRAGEvaluationSuite, resolveRAGEmbeddingProvider, resolveRAGHybridSearchOptions, resolveRAGQueryTransform, resolveRAGReranker, searchDocuments, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord, scoreRAGLexicalMatch, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, applyRAGQueryTransform, applyRAGReranking, fuseRAGQueryResults, ingestDocuments, ingestRAGDocuments, buildRAGRetrievalTraceHistoryTrend, createRAGEvaluationSuite, buildRAGLexicalHaystack, validateRAGEmbeddingDimensions, alibabaEmbeddings, anthropicOCR, deepseekEmbeddings, googleEmbeddings, geminiEmbeddings, geminiOCR, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, ollamaOCR, ollamaTranscriber, openaiCompatibleEmbeddings, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiEmbeddings, openaiOCR, openaiTranscriber, xaiEmbeddings } from './rag';
|
|
5
5
|
export { createInMemoryRAGStore } from './rag/adapters/inMemory';
|
|
6
6
|
export { createSQLiteRAGStore } from './rag/adapters/sqlite';
|
|
7
7
|
export { resolveAbsoluteSQLiteVec, resolveAbsoluteSQLiteVecExtensionPath } from './rag/resolveAbsoluteSQLiteVec';
|
|
8
8
|
export { createRAGVector, normalizeVector, querySimilarity } from './rag/adapters/utils';
|
|
9
9
|
export type { GeminiEmbeddingsConfig, AnthropicOCRConfig, GmailEmailSyncConfig, GeminiOCRConfig, GraphEmailSyncConfig, IMAPEmailSyncConfig, OllamaEmbeddingsConfig, OllamaOCRConfig, OllamaTranscriptionConfig, OpenAICompatibleEmbeddingsConfig, OpenAICompatibleOCRConfig, OpenAICompatibleTranscriptionConfig, OpenAIOCRConfig, OpenAIEmbeddingsConfig, OpenAITranscriptionConfig, NativeSQLiteRAGStoreOptions, SQLiteRAGSearchTraceStoreOptions, SQLiteRAGStoreOptions } from './rag';
|
|
10
|
-
export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingCaseDifficultyDiffEntry, RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCaseDiff, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGAnswerGroundingEvaluationSummary, RAGSource, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGIngestDocument, RAGDocumentUrlIngestInput, RAGDocumentUrlInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGIndexedDocument, RAGLexicalQueryInput, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGIngestResponse, RAGPostgresNativeDiagnostics, RAGPreparedDocument, RAGSearchRequest, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceDiff, RAGSearchTraceGroupHistory, RAGSearchTraceGroupHistoryEntry, RAGSearchTraceHistory, RAGSearchTraceHistoryResponse, RAGSearchTracePrunePreview, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePruneInput, RAGSearchTracePruneResponse, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneResult, RAGSearchTracePruneRun, RAGSearchTraceRetentionRuntime, RAGSearchTraceRetentionSchedule, RAGSearchTraceRecord, RAGSearchTraceResultSnapshot, RAGSearchTraceStats, RAGSearchTraceStatsResponse, RAGSearchTraceStore, RAGSyncManager, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncRunOptions, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGDirectorySyncSourceOptions, RAGUrlSyncSourceOptions, RAGSourceGroup, RAGSourceSummary, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGEvaluationCase, RAGEvaluationCaseDiff, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalTraceSummaryRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonCandidateInput, RAGRetrievalComparisonEntry, RAGRetrievalComparisonHistoryStore, RAGRetrievalComparisonHistoryResponse, RAGRetrievalComparisonRequest, RAGRetrievalComparisonResponse, RAGRetrievalComparisonRun, RAGRetrievalComparisonSummary, RAGRetrievalTraceComparisonSummary, RAGRetrievalTraceComparisonSummaryDiff, RAGRetrievalTraceHistoryWindow, RAGRetrievalTraceTrend, RAGTraceSummaryListDelta, RAGTraceSummaryNumericDelta, RAGTraceSummaryListTrend, RAGTraceSummaryStageTrend, RAGTraceSummaryStageCountsDelta, RAGMutationResponse, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGOCRProvider, RAGOCRResult, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, RAGChatPluginConfig } from '../../types/ai';
|
|
10
|
+
export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseDifficultyEntry, RAGAnswerGroundingCaseDifficultyDiffEntry, RAGAnswerGroundingCaseDifficultyHistory, RAGAnswerGroundingCaseDifficultyHistoryStore, RAGAnswerGroundingCaseDifficultyRun, RAGAnswerGroundingCaseDifficultyRunDiff, RAGAnswerGroundingEvaluationCaseDiff, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationHistory, RAGAnswerGroundingEvaluationLeaderboardEntry, RAGAnswerGroundingEvaluationHistoryStore, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationRun, RAGAnswerGroundingEvaluationRunDiff, RAGAnswerGroundingEvaluationSummary, RAGSource, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDirectoryIngestInput, RAGDocumentFileInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGIngestDocument, RAGDocumentUrlIngestInput, RAGDocumentUrlInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGIndexedDocument, RAGLexicalQueryInput, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGIngestResponse, RAGPostgresNativeDiagnostics, RAGPreparedDocument, RAGSearchRequest, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceDiff, RAGSearchTraceGroupHistory, RAGSearchTraceGroupHistoryEntry, RAGSearchTraceHistory, RAGSearchTraceHistoryResponse, RAGSearchTracePrunePreview, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePruneInput, RAGSearchTracePruneResponse, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneResult, RAGSearchTracePruneRun, RAGSearchTraceRetentionRuntime, RAGSearchTraceRetentionSchedule, RAGSearchTraceRecord, RAGSearchTraceResultSnapshot, RAGSearchTraceStats, RAGSearchTraceStatsResponse, RAGSearchTraceStore, RAGSyncManager, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncRunOptions, RAGJobState, RAGJobStateStore, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGDirectorySyncSourceOptions, RAGUrlSyncSourceOptions, RAGSourceGroup, RAGSourceSummary, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGStreamStage, RAGEvaluationCase, RAGEvaluationCaseDiff, RAGEvaluationHistory, RAGEvaluationHistoryStore, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationRunDiff, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalTraceSummaryRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonCandidateInput, RAGRetrievalComparisonEntry, RAGRetrievalComparisonHistoryStore, RAGRetrievalComparisonHistoryResponse, RAGRetrievalComparisonRequest, RAGRetrievalComparisonResponse, RAGRetrievalComparisonRun, RAGRetrievalComparisonSummary, RAGRetrievalTraceComparisonSummary, RAGRetrievalTraceComparisonSummaryDiff, RAGRetrievalTraceHistoryWindow, RAGRetrievalTraceTrend, RAGTraceSummaryListDelta, RAGTraceSummaryNumericDelta, RAGTraceSummaryListTrend, RAGTraceSummaryStageTrend, RAGTraceSummaryStageCountsDelta, RAGMutationResponse, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGOCRProvider, RAGOCRResult, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution, RAGChatPluginConfig } from '../../types/ai';
|
|
11
11
|
export { createConversationManager } from './conversationManager';
|
|
12
12
|
export { createMemoryStore } from './memoryStore';
|
|
13
13
|
export { generateId, parseAIMessage, serializeAIMessage } from './protocol';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AIServerMessage } from '../../types/ai';
|
|
2
2
|
export declare const generateId: () => `${string}-${string}-${string}-${string}-${string}`;
|
|
3
3
|
export declare const parseAIMessage: (raw: unknown) => import("..").AIClientMessage | null;
|
|
4
|
-
export declare const serializeAIMessage: (
|
|
4
|
+
export declare const serializeAIMessage: (message: AIServerMessage) => string;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { CreateRAGAccessControlOptions, RAGChatPluginConfig } from '../../../types/ai';
|
|
2
|
+
export declare const createRAGAccessControl: <TContext = unknown>(options: CreateRAGAccessControlOptions<TContext>) => Pick<RAGChatPluginConfig, "authorizeRAGAction" | "resolveRAGAccessScope">;
|
|
@@ -113,7 +113,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
113
113
|
query: unknown;
|
|
114
114
|
headers: unknown;
|
|
115
115
|
response: {
|
|
116
|
-
200: Response | RAGSearchTracePruneResponse;
|
|
116
|
+
200: Response | RAGSearchTracePruneResponse | RAGMutationResponse;
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
119
|
};
|
|
@@ -342,7 +342,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
342
342
|
query: unknown;
|
|
343
343
|
headers: unknown;
|
|
344
344
|
response: {
|
|
345
|
-
200: Response | RAGRetrievalLaneHandoffIncidentListResponse;
|
|
345
|
+
200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffIncidentListResponse;
|
|
346
346
|
};
|
|
347
347
|
};
|
|
348
348
|
};
|
|
@@ -364,7 +364,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
364
364
|
query: unknown;
|
|
365
365
|
headers: unknown;
|
|
366
366
|
response: {
|
|
367
|
-
200: Response | RAGRetrievalLaneHandoffIncidentListResponse;
|
|
367
|
+
200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffIncidentListResponse;
|
|
368
368
|
};
|
|
369
369
|
};
|
|
370
370
|
};
|
|
@@ -386,7 +386,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
386
386
|
query: unknown;
|
|
387
387
|
headers: unknown;
|
|
388
388
|
response: {
|
|
389
|
-
200: Response | RAGRetrievalLaneHandoffIncidentListResponse;
|
|
389
|
+
200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffIncidentListResponse;
|
|
390
390
|
};
|
|
391
391
|
};
|
|
392
392
|
};
|
|
@@ -407,7 +407,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
407
407
|
query: unknown;
|
|
408
408
|
headers: unknown;
|
|
409
409
|
response: {
|
|
410
|
-
200: Response | RAGRetrievalLaneHandoffDecisionResponse;
|
|
410
|
+
200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffDecisionResponse;
|
|
411
411
|
};
|
|
412
412
|
};
|
|
413
413
|
};
|
|
@@ -487,7 +487,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
487
487
|
query: unknown;
|
|
488
488
|
headers: unknown;
|
|
489
489
|
response: {
|
|
490
|
-
200: Response | RAGRetrievalIncidentRemediationDecisionListResponse;
|
|
490
|
+
200: Response | RAGMutationResponse | RAGRetrievalIncidentRemediationDecisionListResponse;
|
|
491
491
|
};
|
|
492
492
|
};
|
|
493
493
|
};
|
|
@@ -508,7 +508,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
508
508
|
query: unknown;
|
|
509
509
|
headers: unknown;
|
|
510
510
|
response: {
|
|
511
|
-
200: Response | RAGRetrievalIncidentRemediationExecutionResponse;
|
|
511
|
+
200: Response | RAGMutationResponse | RAGRetrievalIncidentRemediationExecutionResponse;
|
|
512
512
|
};
|
|
513
513
|
};
|
|
514
514
|
};
|
|
@@ -531,7 +531,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
531
531
|
query: unknown;
|
|
532
532
|
headers: unknown;
|
|
533
533
|
response: {
|
|
534
|
-
200: Response | RAGRetrievalIncidentRemediationBulkExecutionResponse;
|
|
534
|
+
200: Response | RAGMutationResponse | RAGRetrievalIncidentRemediationBulkExecutionResponse;
|
|
535
535
|
};
|
|
536
536
|
};
|
|
537
537
|
};
|
|
@@ -553,7 +553,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
553
553
|
query: unknown;
|
|
554
554
|
headers: unknown;
|
|
555
555
|
response: {
|
|
556
|
-
200: Response | RAGRetrievalReleaseIncidentListResponse;
|
|
556
|
+
200: Response | RAGMutationResponse | RAGRetrievalReleaseIncidentListResponse;
|
|
557
557
|
};
|
|
558
558
|
};
|
|
559
559
|
};
|
|
@@ -573,7 +573,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
573
573
|
query: unknown;
|
|
574
574
|
headers: unknown;
|
|
575
575
|
response: {
|
|
576
|
-
200: Response | RAGRetrievalReleaseIncidentListResponse;
|
|
576
|
+
200: Response | RAGMutationResponse | RAGRetrievalReleaseIncidentListResponse;
|
|
577
577
|
};
|
|
578
578
|
};
|
|
579
579
|
};
|
|
@@ -593,7 +593,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
593
593
|
query: unknown;
|
|
594
594
|
headers: unknown;
|
|
595
595
|
response: {
|
|
596
|
-
200: Response | RAGRetrievalReleaseIncidentListResponse;
|
|
596
|
+
200: Response | RAGMutationResponse | RAGRetrievalReleaseIncidentListResponse;
|
|
597
597
|
};
|
|
598
598
|
};
|
|
599
599
|
};
|
|
@@ -631,7 +631,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
631
631
|
query: unknown;
|
|
632
632
|
headers: unknown;
|
|
633
633
|
response: {
|
|
634
|
-
200: Response | RAGRetrievalReleaseDecisionListResponse;
|
|
634
|
+
200: Response | RAGMutationResponse | RAGRetrievalReleaseDecisionListResponse;
|
|
635
635
|
};
|
|
636
636
|
};
|
|
637
637
|
};
|
|
@@ -651,7 +651,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
651
651
|
query: unknown;
|
|
652
652
|
headers: unknown;
|
|
653
653
|
response: {
|
|
654
|
-
200: Response | RAGRetrievalReleaseDecisionListResponse;
|
|
654
|
+
200: Response | RAGMutationResponse | RAGRetrievalReleaseDecisionListResponse;
|
|
655
655
|
};
|
|
656
656
|
};
|
|
657
657
|
};
|
|
@@ -671,7 +671,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
671
671
|
query: unknown;
|
|
672
672
|
headers: unknown;
|
|
673
673
|
response: {
|
|
674
|
-
200: Response | RAGRetrievalBaselineResponse;
|
|
674
|
+
200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
|
|
675
675
|
};
|
|
676
676
|
};
|
|
677
677
|
};
|
|
@@ -691,7 +691,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
691
691
|
query: unknown;
|
|
692
692
|
headers: unknown;
|
|
693
693
|
response: {
|
|
694
|
-
200: Response | RAGRetrievalBaselineResponse;
|
|
694
|
+
200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
|
|
695
695
|
};
|
|
696
696
|
};
|
|
697
697
|
};
|
|
@@ -711,7 +711,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
711
711
|
query: unknown;
|
|
712
712
|
headers: unknown;
|
|
713
713
|
response: {
|
|
714
|
-
200: Response | RAGRetrievalBaselineResponse;
|
|
714
|
+
200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
|
|
715
715
|
};
|
|
716
716
|
};
|
|
717
717
|
};
|
|
@@ -731,7 +731,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
731
731
|
query: unknown;
|
|
732
732
|
headers: unknown;
|
|
733
733
|
response: {
|
|
734
|
-
200: Response | RAGRetrievalBaselineResponse;
|
|
734
|
+
200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
|
|
735
735
|
};
|
|
736
736
|
};
|
|
737
737
|
};
|
|
@@ -1096,7 +1096,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
1096
1096
|
query: unknown;
|
|
1097
1097
|
headers: unknown;
|
|
1098
1098
|
response: {
|
|
1099
|
-
200: Response | RAGSyncResponse;
|
|
1099
|
+
200: Response | RAGSyncResponse | RAGMutationResponse;
|
|
1100
1100
|
};
|
|
1101
1101
|
};
|
|
1102
1102
|
};
|
|
@@ -1113,7 +1113,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
1113
1113
|
query: unknown;
|
|
1114
1114
|
headers: unknown;
|
|
1115
1115
|
response: {
|
|
1116
|
-
200: Response | RAGSyncResponse;
|
|
1116
|
+
200: Response | RAGSyncResponse | RAGMutationResponse;
|
|
1117
1117
|
422: {
|
|
1118
1118
|
type: "validation";
|
|
1119
1119
|
on: string;
|
|
@@ -1137,7 +1137,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
1137
1137
|
query: unknown;
|
|
1138
1138
|
headers: unknown;
|
|
1139
1139
|
response: {
|
|
1140
|
-
200: Response | {
|
|
1140
|
+
200: Response | RAGMutationResponse | {
|
|
1141
1141
|
count?: number;
|
|
1142
1142
|
documentCount?: number;
|
|
1143
1143
|
ok: boolean;
|
|
@@ -1156,9 +1156,7 @@ export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
|
|
|
1156
1156
|
query: unknown;
|
|
1157
1157
|
headers: unknown;
|
|
1158
1158
|
response: {
|
|
1159
|
-
200:
|
|
1160
|
-
ok: boolean;
|
|
1161
|
-
};
|
|
1159
|
+
200: RAGMutationResponse;
|
|
1162
1160
|
};
|
|
1163
1161
|
};
|
|
1164
1162
|
};
|
|
@@ -4,15 +4,17 @@ export { createRAGEmbeddingProvider, resolveRAGEmbeddingProvider, validateRAGEmb
|
|
|
4
4
|
export { applyRAGReranking, createHeuristicRAGReranker, createRAGReranker, resolveRAGReranker } from './reranking';
|
|
5
5
|
export { applyRAGQueryTransform, createHeuristicRAGQueryTransform, createRAGQueryTransform, resolveRAGQueryTransform } from './queryTransforms';
|
|
6
6
|
export { createHeuristicRAGRetrievalStrategy } from './retrievalStrategies';
|
|
7
|
+
export { createRAGAccessControl } from './accessControl';
|
|
7
8
|
export { buildRAGLexicalHaystack, fuseRAGQueryResults, resolveRAGHybridSearchOptions, scoreRAGLexicalMatch } from './lexical';
|
|
8
9
|
export { alibabaEmbeddings, deepseekEmbeddings, geminiEmbeddings, googleEmbeddings, metaEmbeddings, mistralaiEmbeddings, moonshotEmbeddings, ollamaEmbeddings, openaiCompatibleEmbeddings, openaiEmbeddings, xaiEmbeddings } from './embeddingProviders';
|
|
9
10
|
export { anthropicOCR, geminiOCR, ollamaOCR, ollamaTranscriber, openaiCompatibleOCR, openaiCompatibleTranscriber, openaiOCR, openaiTranscriber } from './extractorProviders';
|
|
10
11
|
export { createRAGGmailEmailSyncClient, createRAGGraphEmailSyncClient, createRAGIMAPEmailSyncClient } from './emailProviders';
|
|
11
|
-
export { buildRAGUpsertInputFromDirectory, buildRAGUpsertInputFromDocuments, buildRAGUpsertInputFromUploads, createBuiltinArchiveExpander, createEmailExtractor, createEPUBExtractor, createLegacyDocumentExtractor, createRAGPDFOCRExtractor, createRAGArchiveExpander, createRAGArchiveFileExtractor, createOfficeDocumentExtractor, createPDFFileExtractor, createRAGFileExtractor, createRAGImageOCRExtractor, createRAGMediaFileExtractor, createRAGMediaTranscriber, createRAGOCRProvider, createTextFileExtractor, loadRAGDocumentFromURL, loadRAGDocumentUpload, loadRAGDocumentsFromUploads, buildRAGUpsertInputFromURLs, loadRAGDocumentFile, loadRAGDocumentsFromDirectory, loadRAGDocumentsFromURLs, prepareRAGDirectoryDocuments, prepareRAGDocument, prepareRAGDocumentFile, prepareRAGDocuments } from './ingestion';
|
|
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';
|
|
12
13
|
export { buildRAGContext } from './types';
|
|
13
14
|
export { buildRAGEvaluationLeaderboard, buildRAGEvaluationResponse, compareRAGRetrievalStrategies, compareRAGRerankers, buildRAGAnswerGroundingCaseDifficultyLeaderboard, buildRAGAnswerGroundingCaseDifficultyRunDiff, buildRAGAnswerGroundingEvaluationLeaderboard, buildRAGAnswerGroundingEvaluationResponse, buildRAGAnswerGroundingEvaluationRunDiff, buildRAGRetrievalComparisonDecisionSummary, buildRAGRetrievalReleaseVerdict, createRAGFileAnswerGroundingCaseDifficultyHistoryStore, createRAGFileAnswerGroundingEvaluationHistoryStore, createRAGFileEvaluationHistoryStore, createRAGFileRetrievalBaselineStore, createRAGFileRetrievalComparisonHistoryStore, createRAGFileRetrievalLaneHandoffDecisionStore, createRAGFileRetrievalLaneHandoffIncidentStore, createRAGFileRetrievalLaneHandoffIncidentHistoryStore, createRAGFileRetrievalIncidentRemediationDecisionStore, createRAGFileRetrievalIncidentRemediationExecutionHistoryStore, createRAGFileRetrievalLaneHandoffAutoCompletePolicyHistoryStore, createRAGFileRetrievalReleaseLanePolicyHistoryStore, createRAGFileRetrievalBaselineGatePolicyHistoryStore, createRAGFileRetrievalReleaseLaneEscalationPolicyHistoryStore, createRAGFileRetrievalReleaseDecisionStore, createRAGFileRetrievalReleaseIncidentStore, createRAGFileSearchTraceStore, createRAGFileSearchTracePruneHistoryStore, createRAGSQLiteSearchTraceStore, createRAGEvaluationSuite, evaluateRAGAnswerGrounding, evaluateRAGAnswerGroundingCase, evaluateRAGCollection, executeDryRunRAGEvaluation, loadRAGAnswerGroundingCaseDifficultyHistory, loadRAGAnswerGroundingEvaluationHistory, loadRAGEvaluationHistory, loadRAGRetrievalBaselines, loadRAGRetrievalComparisonHistory, loadRAGRetrievalLaneHandoffDecisions, loadRAGRetrievalLaneHandoffIncidents, loadRAGRetrievalLaneHandoffIncidentHistory, loadRAGRetrievalIncidentRemediationDecisions, loadRAGRetrievalIncidentRemediationExecutionHistory, loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory, loadRAGRetrievalReleaseLanePolicyHistory, loadRAGRetrievalBaselineGatePolicyHistory, loadRAGRetrievalReleaseLaneEscalationPolicyHistory, loadRAGRetrievalReleaseDecisions, loadRAGRetrievalReleaseIncidents, loadRAGSearchTraceGroupHistory, loadRAGSearchTraceHistory, loadRAGSearchTracePruneHistory, previewRAGSearchTraceStorePrune, persistRAGRetrievalBaseline, persistRAGRetrievalComparisonRun, persistRAGRetrievalLaneHandoffDecision, persistRAGRetrievalLaneHandoffIncident, persistRAGRetrievalLaneHandoffIncidentHistory, persistRAGRetrievalIncidentRemediationDecision, persistRAGRetrievalIncidentRemediationExecutionHistory, persistRAGRetrievalLaneHandoffAutoCompletePolicyHistory, persistRAGRetrievalReleaseLanePolicyHistory, persistRAGRetrievalBaselineGatePolicyHistory, persistRAGRetrievalReleaseLaneEscalationPolicyHistory, persistRAGRetrievalReleaseDecision, persistRAGRetrievalReleaseIncident, persistRAGSearchTracePruneRun, pruneRAGSearchTraceStore, summarizeRAGSearchTraceStore, buildRAGRetrievalTraceHistoryTrend, persistRAGAnswerGroundingCaseDifficultyRun, persistRAGAnswerGroundingEvaluationRun, persistRAGEvaluationSuiteRun, persistRAGSearchTraceRecord, runRAGEvaluationSuite, summarizeRAGEvaluationCase, summarizeRAGRerankerComparison, compareRAGRetrievalTraceSummaries, summarizeRAGRetrievalTraces, buildRAGEvaluationRunDiff, buildRAGSearchTraceDiff, buildRAGSearchTraceRecord } from './quality';
|
|
14
15
|
export { buildRAGAdminActionPresentation, buildRAGAdminActionPresentations, buildRAGAdminJobPresentation, buildRAGAdminJobPresentations, buildRAGAnswerGroundingCaseSnapshotPresentations, buildRAGAnswerGroundingHistoryPresentation, buildRAGAnswerGroundingHistoryRows, buildRAGCitations, buildRAGCitationReferenceMap, buildRAGChunkExcerpts, buildRAGChunkGraphNavigation, buildRAGChunkPreviewGraph, buildRAGChunkPreviewNavigation, buildRAGChunkGraph, buildRAGComparisonTraceDiffRows, buildRAGComparisonTraceSummaryRows, buildRAGCorpusHealthPresentation, buildRAGEvaluationCaseTracePresentations, buildRAGEvaluationHistoryPresentation, buildRAGEvaluationHistoryRows, buildRAGGroundedAnswer, buildRAGGroundedAnswerSectionSummaries, buildRAGGroundingOverviewPresentation, buildRAGGroundingProviderCaseComparisonPresentations, buildRAGGroundingProviderOverviewPresentation, buildRAGGroundingProviderPresentations, buildRAGGroundingReferences, buildRAGQualityOverviewPresentation, buildRAGReadinessPresentation, buildRAGSectionRetrievalDiagnostics, buildRAGRerankerComparisonOverviewPresentation, buildRAGRerankerComparisonPresentations, buildRAGRerankerOverviewPresentation, buildRAGRetrievalComparisonOverviewPresentation, buildRAGRetrievalComparisonPresentations, buildRAGRetrievalOverviewPresentation, buildRAGRetrievalTracePresentation, buildRAGSourceGroups, buildRAGSourceSummaries, buildRAGSyncOverviewPresentation, buildRAGSyncSourcePresentation, buildRAGSyncSourcePresentations } from './ui';
|
|
15
16
|
export { createRAGBunS3SyncClient, createRAGDirectorySyncSource, createRAGEmailSyncSource, createRAGFileSyncStateStore, createRAGStaticEmailSyncClient, createRAGStorageSyncSource, createRAGSyncManager, createRAGSyncScheduler, createRAGUrlSyncSource } from './sync';
|
|
17
|
+
export { createRAGFileJobStateStore } from './jobState';
|
|
16
18
|
export { createRAGCollection, ingestDocuments, ingestRAGDocuments, searchDocuments } from './collection';
|
|
17
19
|
export { createInMemoryRAGStore } from './adapters/inMemory';
|
|
18
20
|
export { createSQLiteRAGStore } from './adapters/sqlite';
|
|
@@ -24,4 +26,4 @@ export type { AnthropicOCRConfig, GeminiOCRConfig, OllamaOCRConfig, OllamaTransc
|
|
|
24
26
|
export type { GmailEmailSyncConfig, GraphEmailSyncConfig, IMAPEmailSyncConfig } from './emailProviders';
|
|
25
27
|
export type { NativeSQLiteRAGStoreOptions, SQLiteRAGStoreOptions } from './adapters/sqlite';
|
|
26
28
|
export type { AIHTMXRenderConfig, RAGAnswerWorkflowState, RAGBackendCapabilities, RAGCitation, RAGCitationReferenceMap, RAGGroundedAnswer, RAGGroundedAnswerPart, RAGGroundingReference, RAGChunkingOptions, RAGChunkingStrategy, RAGDocumentChunk, RAGDocumentChunkPreview, RAGArchiveEntry, RAGArchiveExpander, RAGArchiveExpansionResult, RAGExtractedFileDocument, RAGFileExtractionInput, RAGFileExtractor, RAGPDFOCRExtractorOptions, RAGDocumentFileInput, RAGDirectoryIngestInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGDocumentUrlIngestInput, RAGDocumentUrlInput, RAGEmailSyncAttachment, RAGEmailSyncClient, RAGEmailSyncListInput, RAGEmailSyncListResult, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncFile, RAGStorageSyncListInput, RAGStorageSyncListResult, RAGStorageSyncObject, RAGStorageSyncSourceOptions, RAGEmbeddingFunction, RAGEmbeddingInput, RAGEmbeddingProvider, RAGEmbeddingProviderLike, RAGBackendDescriptor, RAGCollection, RAGCollectionSearchParams, RAGContentFormat, RAGAnswerGroundingEvaluationCase, RAGAnswerGroundingEvaluationCaseResult, RAGAnswerGroundingEvaluationInput, RAGAnswerGroundingEvaluationResponse, RAGAnswerGroundingEvaluationSummary, RAGEvaluationCase, RAGEvaluationCaseResult, RAGEvaluationLeaderboardEntry, RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSummary, RAGEvaluationSuite, RAGEvaluationSuiteRun, RAGRetrievalCandidate, RAGRetrievalComparison, RAGRetrievalComparisonEntry, RAGRetrievalComparisonSummary, RAGHTMXConfig, RAGHTMXWorkflowRenderConfig, RAGIngestDocument, RAGIngestResponse, RAGIndexedDocument, RAGHybridFusionMode, RAGHybridRetrievalMode, RAGHybridSearchOptions, RAGMediaTranscriber, RAGMediaTranscriptSegment, RAGMediaTranscriptionResult, RAGMutationResponse, RAGLexicalQueryInput, RAGOCRProvider, RAGOCRResult, RAGQueryInput, RAGQueryResult, RAGQueryTransformInput, RAGQueryTransformProvider, RAGQueryTransformProviderLike, RAGQueryTransformResult, RAGQueryTransformer, RAGPreparedDocument, RAGReranker, RAGRerankerCandidate, RAGRerankerComparison, RAGRerankerComparisonEntry, RAGRerankerComparisonSummary, RAGRerankerInput, RAGRerankerProvider, RAGRerankerProviderLike, RAGSearchRequest, RAGSyncManager, RAGSyncSchedule, RAGSyncScheduler, RAGSyncResponse, RAGSyncRunOptions, RAGSyncStateStore, RAGSyncSourceContext, RAGSyncSourceDefinition, RAGSyncSourceRecord, RAGSyncSourceRunResult, RAGDirectorySyncSourceOptions, RAGUrlSyncSourceOptions, RAGSource, RAGSourceGroup, RAGSourceSummary, RAGSQLiteNativeDiagnostics, RAGStatusResponse, RAGUpsertInput, RAGVectorStore, RAGVectorStoreStatus, SQLiteVecResolution } from './types';
|
|
27
|
-
export type { RAGPostgresNativeDiagnostics, RAGRetrievalComparisonCandidateInput, RAGRetrievalComparisonHistoryResponse, RAGRetrievalComparisonHistoryStore, RAGRetrievalComparisonRequest, RAGRetrievalComparisonResponse, RAGRetrievalComparisonRun, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceHistoryResponse, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePruneResponse, RAGSearchTracePruneInput, RAGSearchTracePrunePreview, RAGSearchTracePruneResult, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneRun, RAGSearchTraceRetentionRuntime, RAGSearchTraceRetentionSchedule, RAGSearchTraceStats, RAGSearchTraceStatsResponse } from '../../../types/ai';
|
|
29
|
+
export type { RAGJobState, RAGJobStateStore, RAGPostgresNativeDiagnostics, RAGRetrievalComparisonCandidateInput, RAGRetrievalComparisonHistoryResponse, RAGRetrievalComparisonHistoryStore, RAGRetrievalComparisonRequest, RAGRetrievalComparisonResponse, RAGRetrievalComparisonRun, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceHistoryResponse, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePruneResponse, RAGSearchTracePruneInput, RAGSearchTracePrunePreview, RAGSearchTracePruneResult, RAGSearchTracePruneHistoryStore, RAGSearchTracePruneRun, RAGSearchTraceRetentionRuntime, RAGSearchTraceRetentionSchedule, RAGSearchTraceStats, RAGSearchTraceStatsResponse } from '../../../types/ai';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGChunkingOptions, RAGContentFormat, RAGArchiveExpander, RAGDirectoryIngestInput, RAGDocumentChunk, RAGDocumentFileInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGDocumentUrlInput, RAGDocumentUrlIngestInput, RAGFileExtractor, RAGIngestDocument, RAGMediaTranscriber, RAGPDFOCRExtractorOptions, RAGOCRProvider, RAGPreparedDocument } from '../../../types/ai';
|
|
1
|
+
import type { RAGChunkingOptions, RAGChunkingRegistryLike, RAGContentFormat, RAGArchiveExpander, RAGDirectoryIngestInput, RAGDocumentChunk, RAGDocumentFileInput, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUploadInput, RAGDocumentUrlInput, RAGDocumentUrlIngestInput, RAGFileExtractor, RAGFileExtractorRegistryLike, RAGIngestDocument, RAGMediaTranscriber, RAGPDFOCRExtractorOptions, RAGOCRProvider, RAGPreparedDocument } from '../../../types/ai';
|
|
2
2
|
export declare const createBuiltinArchiveExpander: () => RAGArchiveExpander;
|
|
3
3
|
export declare const createEmailExtractor: () => RAGFileExtractor;
|
|
4
4
|
export declare const createEPUBExtractor: () => RAGFileExtractor;
|
|
@@ -6,6 +6,8 @@ export declare const createLegacyDocumentExtractor: () => RAGFileExtractor;
|
|
|
6
6
|
export declare const createOfficeDocumentExtractor: () => RAGFileExtractor;
|
|
7
7
|
export declare const createRAGArchiveExpander: (expander: RAGArchiveExpander) => RAGArchiveExpander;
|
|
8
8
|
export declare const createRAGFileExtractor: (extractor: RAGFileExtractor) => RAGFileExtractor;
|
|
9
|
+
export declare const createRAGFileExtractorRegistry: (registry: RAGFileExtractorRegistryLike) => RAGFileExtractorRegistryLike;
|
|
10
|
+
export declare const createRAGChunkingRegistry: (registry: RAGChunkingRegistryLike) => RAGChunkingRegistryLike;
|
|
9
11
|
export declare const createRAGImageOCRExtractor: (provider: RAGOCRProvider) => RAGFileExtractor;
|
|
10
12
|
export declare const createRAGMediaFileExtractor: (transcriber: RAGMediaTranscriber) => RAGFileExtractor;
|
|
11
13
|
export declare const createRAGMediaTranscriber: (transcriber: RAGMediaTranscriber) => RAGMediaTranscriber;
|
|
@@ -16,7 +18,7 @@ export declare const createRAGArchiveFileExtractor: (expander: RAGArchiveExpande
|
|
|
16
18
|
entryExtractors?: RAGFileExtractor[];
|
|
17
19
|
}) => RAGFileExtractor;
|
|
18
20
|
export declare const createRAGPDFOCRExtractor: (options: RAGPDFOCRExtractorOptions) => RAGFileExtractor;
|
|
19
|
-
export declare const prepareRAGDocument: (document: RAGIngestDocument, defaultChunking?: RAGChunkingOptions) => RAGPreparedDocument;
|
|
21
|
+
export declare const prepareRAGDocument: (document: RAGIngestDocument, defaultChunking?: RAGChunkingOptions, chunkingRegistry?: RAGChunkingRegistryLike) => RAGPreparedDocument;
|
|
20
22
|
export declare const prepareRAGDocuments: (input: RAGDocumentIngestInput) => RAGPreparedDocument[];
|
|
21
23
|
export declare const buildRAGUpsertInputFromURLs: (input: RAGDocumentUrlIngestInput) => Promise<{
|
|
22
24
|
chunks: RAGDocumentChunk[];
|
|
@@ -25,11 +27,13 @@ export declare const loadRAGDocumentFile: (input: RAGDocumentFileInput) => Promi
|
|
|
25
27
|
export declare const loadRAGDocumentFromURL: (input: RAGDocumentUrlInput) => Promise<RAGIngestDocument>;
|
|
26
28
|
export declare const loadRAGDocumentsFromUploads: (input: RAGDocumentUploadIngestInput) => Promise<{
|
|
27
29
|
defaultChunking: RAGChunkingOptions | undefined;
|
|
30
|
+
chunkingRegistry: RAGChunkingRegistryLike | undefined;
|
|
28
31
|
documents: {
|
|
29
32
|
metadata: {
|
|
30
33
|
[x: string]: unknown;
|
|
31
34
|
};
|
|
32
35
|
text: string;
|
|
36
|
+
corpusKey?: string;
|
|
33
37
|
id?: string;
|
|
34
38
|
title?: string;
|
|
35
39
|
source?: string;
|
|
@@ -39,11 +43,13 @@ export declare const loadRAGDocumentsFromUploads: (input: RAGDocumentUploadInges
|
|
|
39
43
|
}>;
|
|
40
44
|
export declare const loadRAGDocumentsFromURLs: (input: RAGDocumentUrlIngestInput) => Promise<{
|
|
41
45
|
defaultChunking: RAGChunkingOptions | undefined;
|
|
46
|
+
chunkingRegistry: RAGChunkingRegistryLike | undefined;
|
|
42
47
|
documents: {
|
|
43
48
|
metadata: {
|
|
44
49
|
[x: string]: unknown;
|
|
45
50
|
};
|
|
46
51
|
text: string;
|
|
52
|
+
corpusKey?: string;
|
|
47
53
|
id?: string;
|
|
48
54
|
title?: string;
|
|
49
55
|
source?: string;
|
|
@@ -53,8 +59,9 @@ export declare const loadRAGDocumentsFromURLs: (input: RAGDocumentUrlIngestInput
|
|
|
53
59
|
}>;
|
|
54
60
|
export declare const loadRAGDocumentUpload: (input: RAGDocumentUploadInput & {
|
|
55
61
|
extractors?: RAGFileExtractor[];
|
|
62
|
+
extractorRegistry?: RAGFileExtractorRegistryLike;
|
|
56
63
|
}) => Promise<RAGIngestDocument>;
|
|
57
|
-
export declare const prepareRAGDocumentFile: (input: RAGDocumentFileInput, defaultChunking?: RAGChunkingOptions) => Promise<RAGPreparedDocument>;
|
|
64
|
+
export declare const prepareRAGDocumentFile: (input: RAGDocumentFileInput, defaultChunking?: RAGChunkingOptions, chunkingRegistry?: RAGChunkingRegistryLike) => Promise<RAGPreparedDocument>;
|
|
58
65
|
export declare const buildRAGUpsertInputFromDirectory: (input: RAGDirectoryIngestInput) => Promise<{
|
|
59
66
|
chunks: RAGDocumentChunk[];
|
|
60
67
|
}>;
|
|
@@ -66,11 +73,13 @@ export declare const buildRAGUpsertInputFromUploads: (input: RAGDocumentUploadIn
|
|
|
66
73
|
}>;
|
|
67
74
|
export declare const loadRAGDocumentsFromDirectory: (input: RAGDirectoryIngestInput) => Promise<{
|
|
68
75
|
defaultChunking: RAGChunkingOptions | undefined;
|
|
76
|
+
chunkingRegistry: RAGChunkingRegistryLike | undefined;
|
|
69
77
|
documents: {
|
|
70
78
|
metadata: {
|
|
71
79
|
[x: string]: unknown;
|
|
72
80
|
};
|
|
73
81
|
text: string;
|
|
82
|
+
corpusKey?: string;
|
|
74
83
|
id?: string;
|
|
75
84
|
title?: string;
|
|
76
85
|
source?: string;
|
|
@@ -22,6 +22,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
22
22
|
kind?: string | undefined;
|
|
23
23
|
id: string;
|
|
24
24
|
title: string;
|
|
25
|
+
corpusKey?: string | undefined;
|
|
25
26
|
format?: import("../..").RAGContentFormat | undefined;
|
|
26
27
|
chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
|
|
27
28
|
chunkSize?: number | undefined;
|
|
@@ -38,6 +39,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
38
39
|
normalizedText: string;
|
|
39
40
|
chunks: {
|
|
40
41
|
chunkId: string;
|
|
42
|
+
corpusKey?: string | undefined;
|
|
41
43
|
text: string;
|
|
42
44
|
title?: string | undefined;
|
|
43
45
|
source?: string | undefined;
|
|
@@ -79,6 +81,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
79
81
|
kind?: string | undefined;
|
|
80
82
|
id: string;
|
|
81
83
|
title: string;
|
|
84
|
+
corpusKey?: string | undefined;
|
|
82
85
|
format?: import("../..").RAGContentFormat | undefined;
|
|
83
86
|
chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
|
|
84
87
|
chunkSize?: number | undefined;
|
|
@@ -95,6 +98,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
95
98
|
normalizedText: string;
|
|
96
99
|
chunks: {
|
|
97
100
|
chunkId: string;
|
|
101
|
+
corpusKey?: string | undefined;
|
|
98
102
|
text: string;
|
|
99
103
|
title?: string | undefined;
|
|
100
104
|
source?: string | undefined;
|
|
@@ -146,6 +150,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
146
150
|
};
|
|
147
151
|
documents: {
|
|
148
152
|
documents: import("vue").Ref<{
|
|
153
|
+
corpusKey?: string | undefined;
|
|
149
154
|
id: string;
|
|
150
155
|
title: string;
|
|
151
156
|
source: string;
|
|
@@ -164,6 +169,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
164
169
|
provenanceLabel?: string | undefined;
|
|
165
170
|
} | undefined;
|
|
166
171
|
}[], import("../..").RAGIndexedDocument[] | {
|
|
172
|
+
corpusKey?: string | undefined;
|
|
167
173
|
id: string;
|
|
168
174
|
title: string;
|
|
169
175
|
source: string;
|
|
@@ -187,6 +193,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
187
193
|
lastResponse: import("vue").Ref<{
|
|
188
194
|
ok: true;
|
|
189
195
|
documents: {
|
|
196
|
+
corpusKey?: string | undefined;
|
|
190
197
|
id: string;
|
|
191
198
|
title: string;
|
|
192
199
|
source: string;
|
|
@@ -209,6 +216,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
209
216
|
} | null, import("../..").RAGDocumentsResponse | {
|
|
210
217
|
ok: true;
|
|
211
218
|
documents: {
|
|
219
|
+
corpusKey?: string | undefined;
|
|
212
220
|
id: string;
|
|
213
221
|
title: string;
|
|
214
222
|
source: string;
|
|
@@ -241,6 +249,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
241
249
|
cases: {
|
|
242
250
|
id: string;
|
|
243
251
|
query: string;
|
|
252
|
+
corpusKey?: string | undefined;
|
|
244
253
|
topK?: number | undefined;
|
|
245
254
|
model?: string | undefined;
|
|
246
255
|
scoreThreshold?: number | undefined;
|
|
@@ -284,6 +293,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
284
293
|
cases: {
|
|
285
294
|
id: string;
|
|
286
295
|
query: string;
|
|
296
|
+
corpusKey?: string | undefined;
|
|
287
297
|
topK?: number | undefined;
|
|
288
298
|
model?: string | undefined;
|
|
289
299
|
scoreThreshold?: number | undefined;
|
|
@@ -326,8 +336,10 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
326
336
|
} | null>;
|
|
327
337
|
lastResponse: import("vue").Ref<{
|
|
328
338
|
ok: true;
|
|
339
|
+
corpusKeys?: string[] | undefined;
|
|
329
340
|
cases: {
|
|
330
341
|
caseId: string;
|
|
342
|
+
corpusKey?: string | undefined;
|
|
331
343
|
query: string;
|
|
332
344
|
label?: string | undefined;
|
|
333
345
|
status: "pass" | "partial" | "fail";
|
|
@@ -361,8 +373,10 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
361
373
|
passingRate: number;
|
|
362
374
|
} | null, import("../..").RAGEvaluationResponse | {
|
|
363
375
|
ok: true;
|
|
376
|
+
corpusKeys?: string[] | undefined;
|
|
364
377
|
cases: {
|
|
365
378
|
caseId: string;
|
|
379
|
+
corpusKey?: string | undefined;
|
|
366
380
|
query: string;
|
|
367
381
|
label?: string | undefined;
|
|
368
382
|
status: "pass" | "partial" | "fail";
|
|
@@ -420,8 +434,10 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
420
434
|
elapsedMs: number;
|
|
421
435
|
response: {
|
|
422
436
|
ok: true;
|
|
437
|
+
corpusKeys?: string[] | undefined;
|
|
423
438
|
cases: {
|
|
424
439
|
caseId: string;
|
|
440
|
+
corpusKey?: string | undefined;
|
|
425
441
|
query: string;
|
|
426
442
|
label?: string | undefined;
|
|
427
443
|
status: "pass" | "partial" | "fail";
|
|
@@ -486,6 +502,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
486
502
|
} | undefined;
|
|
487
503
|
caseTraceSnapshots?: {
|
|
488
504
|
caseId: string;
|
|
505
|
+
corpusKey?: string | undefined;
|
|
489
506
|
label?: string | undefined;
|
|
490
507
|
query: string;
|
|
491
508
|
status: import("../..").RAGEvaluationCaseResult["status"];
|
|
@@ -573,8 +590,10 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
573
590
|
elapsedMs: number;
|
|
574
591
|
response: {
|
|
575
592
|
ok: true;
|
|
593
|
+
corpusKeys?: string[] | undefined;
|
|
576
594
|
cases: {
|
|
577
595
|
caseId: string;
|
|
596
|
+
corpusKey?: string | undefined;
|
|
578
597
|
query: string;
|
|
579
598
|
label?: string | undefined;
|
|
580
599
|
status: "pass" | "partial" | "fail";
|
|
@@ -639,6 +658,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
639
658
|
} | undefined;
|
|
640
659
|
caseTraceSnapshots?: {
|
|
641
660
|
caseId: string;
|
|
661
|
+
corpusKey?: string | undefined;
|
|
642
662
|
label?: string | undefined;
|
|
643
663
|
query: string;
|
|
644
664
|
status: import("../..").RAGEvaluationCaseResult["status"];
|
|
@@ -726,6 +746,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
726
746
|
cases: {
|
|
727
747
|
id: string;
|
|
728
748
|
query: string;
|
|
749
|
+
corpusKey?: string | undefined;
|
|
729
750
|
topK?: number | undefined;
|
|
730
751
|
model?: string | undefined;
|
|
731
752
|
scoreThreshold?: number | undefined;
|
|
@@ -775,6 +796,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
775
796
|
cases: {
|
|
776
797
|
id: string;
|
|
777
798
|
query: string;
|
|
799
|
+
corpusKey?: string | undefined;
|
|
778
800
|
topK?: number | undefined;
|
|
779
801
|
model?: string | undefined;
|
|
780
802
|
scoreThreshold?: number | undefined;
|
|
@@ -986,6 +1008,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
986
1008
|
elapsedMs: number;
|
|
987
1009
|
}> | undefined;
|
|
988
1010
|
document?: {
|
|
1011
|
+
corpusKey?: string | undefined;
|
|
989
1012
|
id: string;
|
|
990
1013
|
title: string;
|
|
991
1014
|
source: string;
|
|
@@ -1018,6 +1041,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1018
1041
|
elapsedMs: number;
|
|
1019
1042
|
}> | undefined;
|
|
1020
1043
|
document?: {
|
|
1044
|
+
corpusKey?: string | undefined;
|
|
1021
1045
|
id: string;
|
|
1022
1046
|
title: string;
|
|
1023
1047
|
source: string;
|
|
@@ -1381,6 +1405,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1381
1405
|
reset: () => void;
|
|
1382
1406
|
results: import("vue").Ref<{
|
|
1383
1407
|
chunkId: string;
|
|
1408
|
+
corpusKey?: string | undefined;
|
|
1384
1409
|
score: number;
|
|
1385
1410
|
text: string;
|
|
1386
1411
|
title?: string | undefined;
|
|
@@ -1408,6 +1433,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1408
1433
|
} | undefined;
|
|
1409
1434
|
}[], import("../..").RAGSource[] | {
|
|
1410
1435
|
chunkId: string;
|
|
1436
|
+
corpusKey?: string | undefined;
|
|
1411
1437
|
score: number;
|
|
1412
1438
|
text: string;
|
|
1413
1439
|
title?: string | undefined;
|
|
@@ -16,6 +16,7 @@ export declare const useRAGChunkPreview: (path: string) => {
|
|
|
16
16
|
kind?: string | undefined;
|
|
17
17
|
id: string;
|
|
18
18
|
title: string;
|
|
19
|
+
corpusKey?: string | undefined;
|
|
19
20
|
format?: import("../..").RAGContentFormat | undefined;
|
|
20
21
|
chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
|
|
21
22
|
chunkSize?: number | undefined;
|
|
@@ -32,6 +33,7 @@ export declare const useRAGChunkPreview: (path: string) => {
|
|
|
32
33
|
normalizedText: string;
|
|
33
34
|
chunks: {
|
|
34
35
|
chunkId: string;
|
|
36
|
+
corpusKey?: string | undefined;
|
|
35
37
|
text: string;
|
|
36
38
|
title?: string | undefined;
|
|
37
39
|
source?: string | undefined;
|
|
@@ -73,6 +75,7 @@ export declare const useRAGChunkPreview: (path: string) => {
|
|
|
73
75
|
kind?: string | undefined;
|
|
74
76
|
id: string;
|
|
75
77
|
title: string;
|
|
78
|
+
corpusKey?: string | undefined;
|
|
76
79
|
format?: import("../..").RAGContentFormat | undefined;
|
|
77
80
|
chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
|
|
78
81
|
chunkSize?: number | undefined;
|
|
@@ -89,6 +92,7 @@ export declare const useRAGChunkPreview: (path: string) => {
|
|
|
89
92
|
normalizedText: string;
|
|
90
93
|
chunks: {
|
|
91
94
|
chunkId: string;
|
|
95
|
+
corpusKey?: string | undefined;
|
|
92
96
|
text: string;
|
|
93
97
|
title?: string | undefined;
|
|
94
98
|
source?: string | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { RAGDocumentsResponse, RAGIndexedDocument } from '../../../types/ai';
|
|
2
2
|
export declare const useRAGDocuments: (path: string) => {
|
|
3
3
|
documents: import("vue").Ref<{
|
|
4
|
+
corpusKey?: string | undefined;
|
|
4
5
|
id: string;
|
|
5
6
|
title: string;
|
|
6
7
|
source: string;
|
|
@@ -19,6 +20,7 @@ export declare const useRAGDocuments: (path: string) => {
|
|
|
19
20
|
provenanceLabel?: string | undefined;
|
|
20
21
|
} | undefined;
|
|
21
22
|
}[], RAGIndexedDocument[] | {
|
|
23
|
+
corpusKey?: string | undefined;
|
|
22
24
|
id: string;
|
|
23
25
|
title: string;
|
|
24
26
|
source: string;
|
|
@@ -42,6 +44,7 @@ export declare const useRAGDocuments: (path: string) => {
|
|
|
42
44
|
lastResponse: import("vue").Ref<{
|
|
43
45
|
ok: true;
|
|
44
46
|
documents: {
|
|
47
|
+
corpusKey?: string | undefined;
|
|
45
48
|
id: string;
|
|
46
49
|
title: string;
|
|
47
50
|
source: string;
|
|
@@ -64,6 +67,7 @@ export declare const useRAGDocuments: (path: string) => {
|
|
|
64
67
|
} | null, RAGDocumentsResponse | {
|
|
65
68
|
ok: true;
|
|
66
69
|
documents: {
|
|
70
|
+
corpusKey?: string | undefined;
|
|
67
71
|
id: string;
|
|
68
72
|
title: string;
|
|
69
73
|
source: string;
|