@absolutejs/rag 0.0.2 → 0.0.3
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 +12 -49
- package/dist/ai/client/index.js.map +8 -8
- package/dist/ai/client/ui.js +12 -49
- package/dist/ai/client/ui.js.map +5 -5
- package/dist/ai/rag/index.js +34 -157
- package/dist/ai/rag/index.js.map +30 -30
- package/dist/ai/rag/quality.js +12 -49
- package/dist/ai/rag/quality.js.map +5 -5
- package/dist/ai/rag/ui.js +12 -49
- package/dist/ai/rag/ui.js.map +5 -5
- package/dist/angular/ai/index.js.map +8 -8
- package/dist/react/ai/index.js.map +22 -22
- package/dist/src/ai/client/createRAGAnswerWorkflow.d.ts +1 -1
- package/dist/src/ai/client/createRAGStream.d.ts +2 -2
- package/dist/src/ai/client/createRAGWorkflow.d.ts +3 -3
- package/dist/src/ai/client/index.d.ts +8 -8
- package/dist/src/ai/client/ragClient.d.ts +6 -6
- package/dist/src/ai/client/ui.d.ts +5 -5
- package/dist/src/ai/rag/accessControl.d.ts +1 -1
- package/dist/src/ai/rag/adapters/inMemory.d.ts +2 -2
- package/dist/src/ai/rag/adapters/postgres.d.ts +3 -3
- package/dist/src/ai/rag/adapters/sqlite.d.ts +4 -4
- package/dist/src/ai/rag/chat.d.ts +2 -2
- package/dist/src/ai/rag/collection.d.ts +1 -1
- package/dist/src/ai/rag/emailProviders.d.ts +1 -1
- package/dist/src/ai/rag/embedding.d.ts +1 -1
- package/dist/src/ai/rag/embeddingProviders.d.ts +1 -1
- package/dist/src/ai/rag/extractorProviders.d.ts +1 -1
- package/dist/src/ai/rag/grounding.d.ts +1 -1
- package/dist/src/ai/rag/htmxConfig.d.ts +1 -1
- package/dist/src/ai/rag/htmxWorkflowRenderers.d.ts +1 -1
- package/dist/src/ai/rag/index.d.ts +31 -31
- package/dist/src/ai/rag/ingestion.d.ts +1 -1
- package/dist/src/ai/rag/jobState.d.ts +1 -1
- package/dist/src/ai/rag/lexical.d.ts +2 -2
- package/dist/src/ai/rag/presentation.d.ts +9 -9
- package/dist/src/ai/rag/quality.d.ts +67 -67
- package/dist/src/ai/rag/queryTransforms.d.ts +2 -2
- package/dist/src/ai/rag/reranking.d.ts +2 -2
- package/dist/src/ai/rag/resolveAbsoluteSQLiteVec.d.ts +1 -1
- package/dist/src/ai/rag/retrievalStrategies.d.ts +1 -1
- package/dist/src/ai/rag/sync.d.ts +2 -2
- package/dist/src/ai/rag/types.d.ts +4 -4
- package/dist/src/ai/rag/ui.d.ts +4 -4
- package/dist/src/ai/rag/workflowState.d.ts +1 -1
- package/dist/src/angular/ai/ai-rag-stream.service.d.ts +1 -1
- package/dist/src/angular/ai/ai-rag-workflow.service.d.ts +1 -1
- package/dist/src/angular/ai/index.d.ts +3 -3
- package/dist/src/angular/ai/rag-client.service.d.ts +42 -42
- package/dist/src/react/ai/index.d.ts +18 -18
- package/dist/src/react/ai/useRAGChunkPreview.d.ts +1 -1
- package/dist/src/react/ai/useRAGCitations.d.ts +1 -1
- package/dist/src/react/ai/useRAGDocuments.d.ts +1 -1
- package/dist/src/react/ai/useRAGEvaluate.d.ts +1 -1
- package/dist/src/react/ai/useRAGGrounding.d.ts +1 -1
- package/dist/src/react/ai/useRAGIndexAdmin.d.ts +1 -1
- package/dist/src/react/ai/useRAGIngest.d.ts +1 -1
- package/dist/src/react/ai/useRAGOps.d.ts +1 -1
- package/dist/src/react/ai/useRAGSearch.d.ts +3 -3
- package/dist/src/react/ai/useRAGSources.d.ts +1 -1
- package/dist/src/react/ai/useRAGStatus.d.ts +1 -1
- package/dist/src/react/ai/useRAGStream.d.ts +1 -1
- package/dist/src/react/ai/useRAGStreamProgress.d.ts +2 -2
- package/dist/src/svelte/ai/createRAGChunkPreview.d.ts +1 -1
- package/dist/src/svelte/ai/createRAGCitations.d.ts +2 -2
- package/dist/src/svelte/ai/createRAGDocuments.d.ts +1 -1
- package/dist/src/svelte/ai/createRAGEvaluate.d.ts +1 -1
- package/dist/src/svelte/ai/createRAGGrounding.d.ts +2 -2
- package/dist/src/svelte/ai/createRAGIndexAdmin.d.ts +1 -1
- package/dist/src/svelte/ai/createRAGIngest.d.ts +1 -1
- package/dist/src/svelte/ai/createRAGOps.d.ts +1 -1
- package/dist/src/svelte/ai/createRAGSearch.d.ts +3 -3
- package/dist/src/svelte/ai/createRAGSources.d.ts +2 -2
- package/dist/src/svelte/ai/createRAGStatus.d.ts +1 -1
- package/dist/src/svelte/ai/createRAGStream.d.ts +1 -1
- package/dist/src/svelte/ai/createRAGStreamProgress.d.ts +2 -2
- package/dist/src/svelte/ai/index.d.ts +17 -17
- package/dist/src/vue/ai/index.d.ts +17 -17
- package/dist/src/vue/ai/useRAGChunkPreview.d.ts +1 -1
- package/dist/src/vue/ai/useRAGCitations.d.ts +2 -2
- package/dist/src/vue/ai/useRAGDocuments.d.ts +1 -1
- package/dist/src/vue/ai/useRAGEvaluate.d.ts +1 -1
- package/dist/src/vue/ai/useRAGGrounding.d.ts +2 -2
- package/dist/src/vue/ai/useRAGIndexAdmin.d.ts +1 -1
- package/dist/src/vue/ai/useRAGIngest.d.ts +1 -1
- package/dist/src/vue/ai/useRAGOps.d.ts +1 -1
- package/dist/src/vue/ai/useRAGSearch.d.ts +3 -3
- package/dist/src/vue/ai/useRAGSources.d.ts +2 -2
- package/dist/src/vue/ai/useRAGStatus.d.ts +1 -1
- package/dist/src/vue/ai/useRAGStream.d.ts +1 -1
- package/dist/src/vue/ai/useRAGStreamProgress.d.ts +2 -2
- package/dist/svelte/ai/index.js.map +20 -20
- package/dist/vue/ai/index.js.map +20 -20
- package/package.json +104 -80
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGEvaluationInput, RAGRetrievalBaselineResponse, RAGRetrievalLaneHandoffDecisionRequest, RAGRetrievalBaselinePromotionFromRunRequest, RAGRetrievalBaselinePromotionRequest, RAGRetrievalBaselineRevertRequest, RAGRetrievalReleaseDecisionActionRequest, RAGRetrievalComparisonRequest, RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGRetrievalIncidentRemediationDecisionRequest, RAGRetrievalIncidentRemediationBulkExecutionRequest, RAGRetrievalIncidentRemediationExecutionRequest, RAGSearchRequest, RAGSyncRunOptions } from
|
|
1
|
+
import type { RAGEvaluationInput, RAGRetrievalBaselineResponse, RAGRetrievalLaneHandoffDecisionRequest, RAGRetrievalBaselinePromotionFromRunRequest, RAGRetrievalBaselinePromotionRequest, RAGRetrievalBaselineRevertRequest, RAGRetrievalReleaseDecisionActionRequest, RAGRetrievalComparisonRequest, RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGRetrievalIncidentRemediationDecisionRequest, RAGRetrievalIncidentRemediationBulkExecutionRequest, RAGRetrievalIncidentRemediationExecutionRequest, RAGSearchRequest, RAGSyncRunOptions } from "@absolutejs/ai";
|
|
2
2
|
export declare class RAGClientService {
|
|
3
3
|
private clients;
|
|
4
4
|
private client;
|
|
@@ -22,15 +22,15 @@ export declare class RAGClientService {
|
|
|
22
22
|
groupKey?: string;
|
|
23
23
|
tag?: string;
|
|
24
24
|
limit?: number;
|
|
25
|
-
status?:
|
|
25
|
+
status?: "active" | "superseded";
|
|
26
26
|
}): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord[]>;
|
|
27
27
|
promoteRetrievalBaseline(path: string, input: RAGRetrievalBaselinePromotionRequest): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
|
|
28
28
|
promoteRetrievalBaselineDetailed(path: string, input: RAGRetrievalBaselinePromotionRequest): Promise<RAGRetrievalBaselineResponse>;
|
|
29
29
|
promoteRetrievalBaselineToLane(path: string, input: RAGRetrievalBaselinePromotionRequest & {
|
|
30
|
-
rolloutLabel:
|
|
30
|
+
rolloutLabel: "canary" | "stable" | "rollback_target";
|
|
31
31
|
}): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
|
|
32
32
|
promoteRetrievalBaselineToLaneDetailed(path: string, input: RAGRetrievalBaselinePromotionRequest & {
|
|
33
|
-
rolloutLabel:
|
|
33
|
+
rolloutLabel: "canary" | "stable" | "rollback_target";
|
|
34
34
|
}): Promise<RAGRetrievalBaselineResponse>;
|
|
35
35
|
promoteRetrievalBaselineFromRun(path: string, input: RAGRetrievalBaselinePromotionFromRunRequest): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
|
|
36
36
|
promoteRetrievalBaselineFromRunDetailed(path: string, input: RAGRetrievalBaselinePromotionFromRunRequest): Promise<RAGRetrievalBaselineResponse>;
|
|
@@ -38,99 +38,99 @@ export declare class RAGClientService {
|
|
|
38
38
|
retrievalBaselineDecisions(path: string, input?: {
|
|
39
39
|
groupKey?: string;
|
|
40
40
|
limit?: number;
|
|
41
|
-
kind?:
|
|
42
|
-
freshnessStatus?:
|
|
43
|
-
targetRolloutLabel?:
|
|
41
|
+
kind?: "approve" | "promote" | "reject" | "revert";
|
|
42
|
+
freshnessStatus?: "fresh" | "expired" | "not_applicable";
|
|
43
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
44
44
|
}): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDecisionRecord[]>;
|
|
45
45
|
retrievalReleaseGroupHistory(path: string, input: {
|
|
46
46
|
groupKey: string;
|
|
47
47
|
decisionLimit?: number;
|
|
48
48
|
baselineLimit?: number;
|
|
49
49
|
runLimit?: number;
|
|
50
|
-
targetRolloutLabel?:
|
|
50
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
51
51
|
}): Promise<import("@absolutejs/ai").RAGRetrievalReleaseGroupHistoryResponse>;
|
|
52
52
|
retrievalLaneHandoffs(path: string, input?: {
|
|
53
53
|
groupKey?: string;
|
|
54
|
-
sourceRolloutLabel?:
|
|
55
|
-
targetRolloutLabel?:
|
|
54
|
+
sourceRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
55
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
56
56
|
limit?: number;
|
|
57
57
|
}): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLaneHandoffSummary[]>;
|
|
58
58
|
retrievalLaneHandoffDecisions(path: string, input?: {
|
|
59
59
|
groupKey?: string;
|
|
60
|
-
sourceRolloutLabel?:
|
|
61
|
-
targetRolloutLabel?:
|
|
62
|
-
kind?:
|
|
60
|
+
sourceRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
61
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
62
|
+
kind?: "approve" | "reject" | "complete";
|
|
63
63
|
limit?: number;
|
|
64
64
|
}): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffDecisionRecord[]>;
|
|
65
65
|
retrievalLaneHandoffIncidents(path: string, input?: {
|
|
66
66
|
groupKey?: string;
|
|
67
67
|
limit?: number;
|
|
68
|
-
status?:
|
|
69
|
-
severity?:
|
|
70
|
-
targetRolloutLabel?:
|
|
68
|
+
status?: "open" | "resolved";
|
|
69
|
+
severity?: "warning" | "critical";
|
|
70
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
71
71
|
}): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentRecord[]>;
|
|
72
72
|
retrievalLaneHandoffIncidentHistory(path: string, input?: {
|
|
73
|
-
action?:
|
|
73
|
+
action?: "opened" | "acknowledged" | "unacknowledged" | "resolved";
|
|
74
74
|
groupKey?: string;
|
|
75
75
|
incidentId?: string;
|
|
76
76
|
limit?: number;
|
|
77
|
-
targetRolloutLabel?:
|
|
77
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
78
78
|
}): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentHistoryRecord[]>;
|
|
79
79
|
retrievalLaneHandoffAutoCompletePolicyHistory(path: string, input?: {
|
|
80
80
|
groupKey?: string;
|
|
81
81
|
limit?: number;
|
|
82
|
-
targetRolloutLabel?:
|
|
82
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
83
83
|
}): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord[]>;
|
|
84
84
|
retrievalReleaseLanePolicyHistory(path: string, input?: {
|
|
85
85
|
groupKey?: string;
|
|
86
86
|
limit?: number;
|
|
87
|
-
rolloutLabel?:
|
|
88
|
-
scope?:
|
|
87
|
+
rolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
88
|
+
scope?: "rollout_label" | "group_rollout_label";
|
|
89
89
|
}): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLanePolicyHistoryRecord[]>;
|
|
90
90
|
retrievalBaselineGatePolicyHistory(path: string, input?: {
|
|
91
91
|
groupKey?: string;
|
|
92
92
|
limit?: number;
|
|
93
|
-
rolloutLabel?:
|
|
94
|
-
scope?:
|
|
93
|
+
rolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
94
|
+
scope?: "rollout_label" | "group_rollout_label";
|
|
95
95
|
}): Promise<import("@absolutejs/ai").RAGRetrievalBaselineGatePolicyHistoryRecord[]>;
|
|
96
96
|
retrievalReleaseLaneEscalationPolicyHistory(path: string, input?: {
|
|
97
97
|
groupKey?: string;
|
|
98
98
|
limit?: number;
|
|
99
|
-
targetRolloutLabel?:
|
|
99
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
100
100
|
}): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord[]>;
|
|
101
101
|
retrievalReleaseIncidentPolicyHistory(path: string, input?: {
|
|
102
102
|
groupKey?: string;
|
|
103
103
|
limit?: number;
|
|
104
|
-
targetRolloutLabel?:
|
|
104
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
105
105
|
}): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord[]>;
|
|
106
106
|
decideRetrievalLaneHandoff(path: string, input: RAGRetrievalLaneHandoffDecisionRequest): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffDecisionRecord>;
|
|
107
107
|
decideRetrievalLaneHandoffDetailed(path: string, input: RAGRetrievalLaneHandoffDecisionRequest): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffDecisionResponse>;
|
|
108
108
|
retrievalReleaseIncidents(path: string, input?: {
|
|
109
109
|
groupKey?: string;
|
|
110
110
|
limit?: number;
|
|
111
|
-
status?:
|
|
112
|
-
severity?:
|
|
113
|
-
kind?:
|
|
111
|
+
status?: "open" | "resolved";
|
|
112
|
+
severity?: "warning" | "critical";
|
|
113
|
+
kind?: "approval_expired" | "baseline_regression" | "gate_failure" | "handoff_stale";
|
|
114
114
|
acknowledged?: boolean;
|
|
115
|
-
targetRolloutLabel?:
|
|
115
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
116
116
|
}): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentRecord[]>;
|
|
117
117
|
retrievalIncidentRemediationDecisions(path: string, input?: {
|
|
118
118
|
groupKey?: string;
|
|
119
119
|
incidentId?: string;
|
|
120
120
|
limit?: number;
|
|
121
|
-
remediationKind?:
|
|
122
|
-
status?:
|
|
123
|
-
targetRolloutLabel?:
|
|
121
|
+
remediationKind?: "renew_approval" | "record_approval" | "inspect_gate" | "rerun_comparison" | "restore_source_lane" | "review_readiness" | "monitor_lane";
|
|
122
|
+
status?: "planned" | "applied" | "dismissed";
|
|
123
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
124
124
|
}): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationDecisionRecord[]>;
|
|
125
125
|
retrievalIncidentRemediationExecutions(path: string, input?: {
|
|
126
126
|
groupKey?: string;
|
|
127
127
|
incidentId?: string;
|
|
128
128
|
limit?: number;
|
|
129
|
-
actionKind?: RAGRetrievalIncidentRemediationExecutionRequest[
|
|
130
|
-
code?:
|
|
129
|
+
actionKind?: RAGRetrievalIncidentRemediationExecutionRequest["action"]["kind"];
|
|
130
|
+
code?: "approval_recorded" | "incident_acknowledged" | "incident_resolved" | "release_status_loaded" | "release_drift_loaded" | "handoff_status_loaded" | "guardrail_blocked" | "idempotent_replay";
|
|
131
131
|
blockedByGuardrail?: boolean;
|
|
132
132
|
idempotentReplay?: boolean;
|
|
133
|
-
targetRolloutLabel?:
|
|
133
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
134
134
|
}): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationExecutionHistoryRecord[]>;
|
|
135
135
|
recordRetrievalIncidentRemediationDecision(path: string, input: RAGRetrievalIncidentRemediationDecisionRequest): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationDecisionRecord[]>;
|
|
136
136
|
executeRetrievalIncidentRemediation(path: string, input: RAGRetrievalIncidentRemediationExecutionRequest): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationExecutionResponse>;
|
|
@@ -181,14 +181,14 @@ export declare class RAGClientService {
|
|
|
181
181
|
groupKey?: string;
|
|
182
182
|
limit?: number;
|
|
183
183
|
tag?: string;
|
|
184
|
-
targetRolloutLabel?:
|
|
184
|
+
targetRolloutLabel?: "canary" | "stable" | "rollback_target";
|
|
185
185
|
approved?: boolean;
|
|
186
186
|
ready?: boolean;
|
|
187
187
|
blocked?: boolean;
|
|
188
|
-
reviewStatus?:
|
|
189
|
-
freshnessStatus?:
|
|
190
|
-
sortBy?:
|
|
191
|
-
sortDirection?:
|
|
188
|
+
reviewStatus?: "approved" | "blocked" | "needs_review" | "ready";
|
|
189
|
+
freshnessStatus?: "fresh" | "expired" | "not_applicable";
|
|
190
|
+
sortBy?: "approvalFreshness" | "finishedAt" | "gateSeverity" | "priority";
|
|
191
|
+
sortDirection?: "asc" | "desc";
|
|
192
192
|
}): Promise<import("@absolutejs/ai").RAGRetrievalPromotionCandidate[]>;
|
|
193
193
|
approveRetrievalCandidate(path: string, input: RAGRetrievalReleaseDecisionActionRequest): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDecisionRecord[]>;
|
|
194
194
|
rejectRetrievalCandidate(path: string, input: RAGRetrievalReleaseDecisionActionRequest): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDecisionRecord[]>;
|
|
@@ -223,14 +223,14 @@ export declare class RAGClientService {
|
|
|
223
223
|
}): Promise<import("@absolutejs/ai").RAGSearchTracePruneResponse>;
|
|
224
224
|
searchTracePruneHistory(path: string, input?: {
|
|
225
225
|
limit?: number;
|
|
226
|
-
trigger?:
|
|
226
|
+
trigger?: "manual" | "write" | "schedule";
|
|
227
227
|
}): Promise<import("@absolutejs/ai").RAGSearchTracePruneRun[]>;
|
|
228
228
|
syncSources(path: string): Promise<import("@absolutejs/ai").RAGSyncResponse>;
|
|
229
229
|
syncAllSources(path: string, options?: RAGSyncRunOptions): Promise<import("@absolutejs/ai").RAGSyncResponse>;
|
|
230
230
|
syncSource(path: string, id: string, options?: RAGSyncRunOptions): Promise<import("@absolutejs/ai").RAGSyncResponse>;
|
|
231
231
|
documents(path: string, kind?: string): Promise<import("@absolutejs/ai").RAGDocumentsResponse>;
|
|
232
232
|
documentChunks(path: string, id: string): Promise<import("@absolutejs/ai").RAGDocumentChunksResponse>;
|
|
233
|
-
createDocument(path: string, input: RAGDocumentIngestInput[
|
|
233
|
+
createDocument(path: string, input: RAGDocumentIngestInput["documents"][number]): Promise<import("@absolutejs/ai").RAGMutationResponse>;
|
|
234
234
|
deleteDocument(path: string, id: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
|
|
235
235
|
reseed(path: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
|
|
236
236
|
reset(path: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { useRAGChunkPreview } from
|
|
2
|
-
export { useRAG } from
|
|
3
|
-
export { useRAGCitations } from
|
|
4
|
-
export { useRAGDocuments } from
|
|
5
|
-
export { useRAGEvaluate } from
|
|
6
|
-
export { useRAGGrounding } from
|
|
7
|
-
export { useRAGIngest } from
|
|
8
|
-
export { useRAGIndexAdmin } from
|
|
9
|
-
export { useRAGOps } from
|
|
10
|
-
export { useRAGSearch } from
|
|
11
|
-
export { useRAGWorkflow } from
|
|
12
|
-
export type { UseRAGWorkflowResult } from
|
|
13
|
-
export { useRAGStream } from
|
|
14
|
-
export { useRAGStreamProgress } from
|
|
15
|
-
export type { UseRAGStreamResult } from
|
|
16
|
-
export type { UseRAGStreamProgressResult } from
|
|
17
|
-
export { useRAGSources } from
|
|
18
|
-
export { useRAGStatus } from
|
|
1
|
+
export { useRAGChunkPreview } from "./useRAGChunkPreview";
|
|
2
|
+
export { useRAG } from "./useRAG";
|
|
3
|
+
export { useRAGCitations } from "./useRAGCitations";
|
|
4
|
+
export { useRAGDocuments } from "./useRAGDocuments";
|
|
5
|
+
export { useRAGEvaluate } from "./useRAGEvaluate";
|
|
6
|
+
export { useRAGGrounding } from "./useRAGGrounding";
|
|
7
|
+
export { useRAGIngest } from "./useRAGIngest";
|
|
8
|
+
export { useRAGIndexAdmin } from "./useRAGIndexAdmin";
|
|
9
|
+
export { useRAGOps } from "./useRAGOps";
|
|
10
|
+
export { useRAGSearch } from "./useRAGSearch";
|
|
11
|
+
export { useRAGWorkflow } from "./useRAGWorkflow";
|
|
12
|
+
export type { UseRAGWorkflowResult } from "./useRAGWorkflow";
|
|
13
|
+
export { useRAGStream } from "./useRAGStream";
|
|
14
|
+
export { useRAGStreamProgress } from "./useRAGStreamProgress";
|
|
15
|
+
export type { UseRAGStreamResult } from "./useRAGStream";
|
|
16
|
+
export type { UseRAGStreamProgressResult } from "./useRAGStreamProgress";
|
|
17
|
+
export { useRAGSources } from "./useRAGSources";
|
|
18
|
+
export { useRAGStatus } from "./useRAGStatus";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGDocumentChunkPreview } from
|
|
1
|
+
import type { RAGDocumentChunkPreview } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGChunkPreview: (path: string) => {
|
|
3
3
|
activeChunkId: string | null;
|
|
4
4
|
activeSectionDiagnostic: import("@absolutejs/ai").RAGSectionRetrievalDiagnostic | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGSource } from
|
|
1
|
+
import type { RAGSource } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGCitations: (sources: RAGSource[]) => {
|
|
3
3
|
citationReferenceMap: import("@absolutejs/ai").RAGCitationReferenceMap;
|
|
4
4
|
citations: import("@absolutejs/ai").RAGCitation[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGDocumentsResponse, RAGIndexedDocument } from
|
|
1
|
+
import type { RAGDocumentsResponse, RAGIndexedDocument } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGDocuments: (path: string) => {
|
|
3
3
|
documents: RAGIndexedDocument[];
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSuite, RAGEvaluationSuiteRun } from
|
|
1
|
+
import type { RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSuite, RAGEvaluationSuiteRun } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGEvaluate: (path: string) => {
|
|
3
3
|
clearRuns: () => void;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGSource } from
|
|
1
|
+
import type { RAGSource } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGGrounding: (content: string, sources: RAGSource[]) => {
|
|
3
3
|
coverage: "grounded" | "partial" | "ungrounded";
|
|
4
4
|
groundedAnswer: import("@absolutejs/ai").RAGGroundedAnswer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGBackendsResponse, RAGContentFormat, RAGMutationResponse, RAGSyncResponse, RAGSyncRunOptions } from
|
|
1
|
+
import type { RAGBackendsResponse, RAGContentFormat, RAGMutationResponse, RAGSyncResponse, RAGSyncRunOptions } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGIndexAdmin: (path: string) => {
|
|
3
3
|
backends: RAGBackendsResponse | null;
|
|
4
4
|
analyzeBackend: () => Promise<RAGMutationResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGIngestResponse } from
|
|
1
|
+
import type { RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGIngestResponse } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGIngest: (path: string) => {
|
|
3
3
|
clearIndex: () => Promise<void>;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGAdminActionRecord, RAGAdminJobRecord, RAGAdminCapabilities, RAGBackendCapabilities, RAGBackendMaintenanceSummary, RAGCorpusHealth, RAGDocumentSummary, RAGExtractorReadiness, RAGIngestJobRecord, RAGOperationsResponse, RAGSyncSourceRecord, RAGVectorStoreStatus } from
|
|
1
|
+
import type { RAGAdminActionRecord, RAGAdminJobRecord, RAGAdminCapabilities, RAGBackendCapabilities, RAGBackendMaintenanceSummary, RAGCorpusHealth, RAGDocumentSummary, RAGExtractorReadiness, RAGIngestJobRecord, RAGOperationsResponse, RAGSyncSourceRecord, RAGVectorStoreStatus } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGOps: (path: string, autoLoad?: boolean) => {
|
|
3
3
|
admin: RAGAdminCapabilities | undefined;
|
|
4
4
|
adminActions: RAGAdminActionRecord[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { RAGSearchRequest, RAGSource } from
|
|
2
|
-
import { type RAGDetailedSearchResponse } from
|
|
3
|
-
type SearchRequest = Omit<RAGSearchRequest,
|
|
1
|
+
import type { RAGSearchRequest, RAGSource } from "@absolutejs/ai";
|
|
2
|
+
import { type RAGDetailedSearchResponse } from "../../ai/client/ragClient";
|
|
3
|
+
type SearchRequest = Omit<RAGSearchRequest, "includeTrace">;
|
|
4
4
|
export declare const useRAGSearch: (path: string) => {
|
|
5
5
|
error: string | null;
|
|
6
6
|
hasSearched: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AIMessage } from
|
|
1
|
+
import type { AIMessage } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGSources: (messages: AIMessage[]) => {
|
|
3
3
|
citationReferenceMap: import("@absolutejs/ai").RAGCitationReferenceMap;
|
|
4
4
|
chunkGraph: import("@absolutejs/ai").RAGChunkGraph;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGBackendCapabilities, RAGVectorStoreStatus } from
|
|
1
|
+
import type { RAGBackendCapabilities, RAGVectorStoreStatus } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGStatus: (path: string, autoLoad?: boolean) => {
|
|
3
3
|
capabilities: RAGBackendCapabilities | undefined;
|
|
4
4
|
error: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AIAttachment } from
|
|
1
|
+
import type { AIAttachment } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGStream: (path?: string, conversationId?: string) => {
|
|
3
3
|
citationReferenceMap: import("@absolutejs/ai").RAGCitationReferenceMap;
|
|
4
4
|
citations: import("@absolutejs/ai").RAGCitation[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AIMessage } from
|
|
2
|
-
import { type RAGStreamProgress } from
|
|
1
|
+
import type { AIMessage } from "@absolutejs/ai";
|
|
2
|
+
import { type RAGStreamProgress } from "../../ai/rag/workflowState";
|
|
3
3
|
export declare const useRAGStreamProgress: (params: {
|
|
4
4
|
error: string | null;
|
|
5
5
|
isStreaming: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGDocumentChunkPreview } from
|
|
1
|
+
import type { RAGDocumentChunkPreview } from "@absolutejs/ai";
|
|
2
2
|
export declare const createRAGChunkPreview: (path: string) => {
|
|
3
3
|
activeChunkId: import("svelte/store").Writable<string | null>;
|
|
4
4
|
activeSectionDiagnostic: import("svelte/store").Readable<import("@absolutejs/ai").RAGSectionRetrievalDiagnostic | null>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Readable } from
|
|
2
|
-
import type { RAGSource } from
|
|
1
|
+
import { type Readable } from "svelte/store";
|
|
2
|
+
import type { RAGSource } from "@absolutejs/ai";
|
|
3
3
|
export declare const createRAGCitations: (sources: Readable<RAGSource[]>) => {
|
|
4
4
|
citationReferenceMap: Readable<import("@absolutejs/ai").RAGCitationReferenceMap>;
|
|
5
5
|
citations: Readable<import("@absolutejs/ai").RAGCitation[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGDocumentsResponse, RAGIndexedDocument } from
|
|
1
|
+
import type { RAGDocumentsResponse, RAGIndexedDocument } from "@absolutejs/ai";
|
|
2
2
|
export declare const createRAGDocuments: (path: string) => {
|
|
3
3
|
documents: import("svelte/store").Writable<RAGIndexedDocument[]>;
|
|
4
4
|
error: import("svelte/store").Writable<string | null>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSuite, RAGEvaluationSuiteRun } from
|
|
1
|
+
import type { RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSuite, RAGEvaluationSuiteRun } from "@absolutejs/ai";
|
|
2
2
|
export declare const createRAGEvaluate: (path: string) => {
|
|
3
3
|
clearRuns: () => void;
|
|
4
4
|
error: import("svelte/store").Writable<string | null>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Readable } from
|
|
2
|
-
import type { RAGSource } from
|
|
1
|
+
import { type Readable } from "svelte/store";
|
|
2
|
+
import type { RAGSource } from "@absolutejs/ai";
|
|
3
3
|
export declare const createRAGGrounding: (content: Readable<string>, sources: Readable<RAGSource[]>) => {
|
|
4
4
|
coverage: Readable<"grounded" | "partial" | "ungrounded">;
|
|
5
5
|
groundedAnswer: Readable<import("@absolutejs/ai").RAGGroundedAnswer>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGBackendsResponse, RAGChunkingStrategy, RAGContentFormat, RAGMutationResponse, RAGSyncResponse, RAGSyncRunOptions } from
|
|
1
|
+
import type { RAGBackendsResponse, RAGChunkingStrategy, RAGContentFormat, RAGMutationResponse, RAGSyncResponse, RAGSyncRunOptions } from "@absolutejs/ai";
|
|
2
2
|
export declare const createRAGIndexAdmin: (path: string) => {
|
|
3
3
|
backends: import("svelte/store").Writable<RAGBackendsResponse | null>;
|
|
4
4
|
analyzeBackend: () => Promise<RAGMutationResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGIngestResponse } from
|
|
1
|
+
import type { RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGIngestResponse } from "@absolutejs/ai";
|
|
2
2
|
export declare const createRAGIngest: (path: string) => {
|
|
3
3
|
clearIndex: () => Promise<{
|
|
4
4
|
ok: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGAdminActionRecord, RAGAdminJobRecord, RAGAdminCapabilities, RAGBackendCapabilities, RAGBackendMaintenanceSummary, RAGCorpusHealth, RAGDocumentSummary, RAGExtractorReadiness, RAGIngestJobRecord, RAGOperationsResponse, RAGSyncSourceRecord, RAGVectorStoreStatus } from
|
|
1
|
+
import type { RAGAdminActionRecord, RAGAdminJobRecord, RAGAdminCapabilities, RAGBackendCapabilities, RAGBackendMaintenanceSummary, RAGCorpusHealth, RAGDocumentSummary, RAGExtractorReadiness, RAGIngestJobRecord, RAGOperationsResponse, RAGSyncSourceRecord, RAGVectorStoreStatus } from "@absolutejs/ai";
|
|
2
2
|
export declare const createRAGOps: (path: string, autoLoad?: boolean) => {
|
|
3
3
|
admin: import("svelte/store").Writable<RAGAdminCapabilities | undefined>;
|
|
4
4
|
adminActions: import("svelte/store").Writable<RAGAdminActionRecord[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { RAGSearchRequest, RAGSource } from
|
|
2
|
-
import { type RAGDetailedSearchResponse } from
|
|
3
|
-
type SearchRequest = Omit<RAGSearchRequest,
|
|
1
|
+
import type { RAGSearchRequest, RAGSource } from "@absolutejs/ai";
|
|
2
|
+
import { type RAGDetailedSearchResponse } from "../../ai/client/ragClient";
|
|
3
|
+
type SearchRequest = Omit<RAGSearchRequest, "includeTrace">;
|
|
4
4
|
export declare const createRAGSearch: (path: string) => {
|
|
5
5
|
error: import("svelte/store").Writable<string | null>;
|
|
6
6
|
hasSearched: import("svelte/store").Writable<boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Readable } from
|
|
2
|
-
import type { AIMessage } from
|
|
1
|
+
import { type Readable } from "svelte/store";
|
|
2
|
+
import type { AIMessage } from "@absolutejs/ai";
|
|
3
3
|
export declare const createRAGSources: (messages: Readable<AIMessage[]>) => {
|
|
4
4
|
citationReferenceMap: Readable<import("@absolutejs/ai").RAGCitationReferenceMap>;
|
|
5
5
|
chunkGraph: Readable<import("@absolutejs/ai").RAGChunkGraph>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGBackendCapabilities, RAGVectorStoreStatus } from
|
|
1
|
+
import type { RAGBackendCapabilities, RAGVectorStoreStatus } from "@absolutejs/ai";
|
|
2
2
|
export declare const createRAGStatus: (path: string, autoLoad?: boolean) => {
|
|
3
3
|
capabilities: import("svelte/store").Writable<RAGBackendCapabilities | undefined>;
|
|
4
4
|
error: import("svelte/store").Writable<string | null>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AIAttachment } from
|
|
1
|
+
import type { AIAttachment } from "@absolutejs/ai";
|
|
2
2
|
export declare const createRAGStream: (path: string, conversationId?: string) => {
|
|
3
3
|
citations: import("svelte/store").Readable<import("@absolutejs/ai").RAGCitation[]>;
|
|
4
4
|
groundedAnswer: import("svelte/store").Readable<import("@absolutejs/ai").RAGGroundedAnswer>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Readable } from
|
|
2
|
-
import type { AIMessage } from
|
|
1
|
+
import { type Readable } from "svelte/store";
|
|
2
|
+
import type { AIMessage } from "@absolutejs/ai";
|
|
3
3
|
export declare const createRAGStreamProgress: (params: {
|
|
4
4
|
error: Readable<string | null>;
|
|
5
5
|
isStreaming: Readable<boolean>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { createRAG } from
|
|
2
|
-
export { createRAGChunkPreview } from
|
|
3
|
-
export { createRAGCitations } from
|
|
4
|
-
export { createRAGDocuments } from
|
|
5
|
-
export { createRAGEvaluate } from
|
|
6
|
-
export { createRAGGrounding } from
|
|
7
|
-
export { createRAGIngest } from
|
|
8
|
-
export { createRAGIndexAdmin } from
|
|
9
|
-
export { createRAGOps } from
|
|
10
|
-
export { createRAGSearch } from
|
|
11
|
-
export { createRAGSources } from
|
|
12
|
-
export { createRAGStatus } from
|
|
13
|
-
export { createRAGWorkflow } from
|
|
14
|
-
export { createRAGStream } from
|
|
15
|
-
export { createRAGStreamProgress } from
|
|
16
|
-
export type { CreateRAGWorkflowResult } from
|
|
17
|
-
export type { CreateRAGStreamResult } from
|
|
1
|
+
export { createRAG } from "./createRAG";
|
|
2
|
+
export { createRAGChunkPreview } from "./createRAGChunkPreview";
|
|
3
|
+
export { createRAGCitations } from "./createRAGCitations";
|
|
4
|
+
export { createRAGDocuments } from "./createRAGDocuments";
|
|
5
|
+
export { createRAGEvaluate } from "./createRAGEvaluate";
|
|
6
|
+
export { createRAGGrounding } from "./createRAGGrounding";
|
|
7
|
+
export { createRAGIngest } from "./createRAGIngest";
|
|
8
|
+
export { createRAGIndexAdmin } from "./createRAGIndexAdmin";
|
|
9
|
+
export { createRAGOps } from "./createRAGOps";
|
|
10
|
+
export { createRAGSearch } from "./createRAGSearch";
|
|
11
|
+
export { createRAGSources } from "./createRAGSources";
|
|
12
|
+
export { createRAGStatus } from "./createRAGStatus";
|
|
13
|
+
export { createRAGWorkflow } from "./createRAGWorkflow";
|
|
14
|
+
export { createRAGStream } from "./createRAGStream";
|
|
15
|
+
export { createRAGStreamProgress } from "./createRAGStreamProgress";
|
|
16
|
+
export type { CreateRAGWorkflowResult } from "./createRAGWorkflow";
|
|
17
|
+
export type { CreateRAGStreamResult } from "./createRAGStream";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { useRAGChunkPreview } from
|
|
2
|
-
export { useRAG } from
|
|
3
|
-
export { useRAGCitations } from
|
|
4
|
-
export { useRAGDocuments } from
|
|
5
|
-
export { useRAGEvaluate } from
|
|
6
|
-
export { useRAGGrounding } from
|
|
7
|
-
export { useRAGIngest } from
|
|
8
|
-
export { useRAGIndexAdmin } from
|
|
9
|
-
export { useRAGOps } from
|
|
10
|
-
export { useRAGSearch } from
|
|
11
|
-
export { useRAGWorkflow } from
|
|
12
|
-
export type { UseRAGWorkflowResult } from
|
|
13
|
-
export { useRAGStream } from
|
|
14
|
-
export { useRAGStreamProgress } from
|
|
15
|
-
export type { UseRAGStreamResult } from
|
|
16
|
-
export { useRAGSources } from
|
|
17
|
-
export { useRAGStatus } from
|
|
1
|
+
export { useRAGChunkPreview } from "./useRAGChunkPreview";
|
|
2
|
+
export { useRAG } from "./useRAG";
|
|
3
|
+
export { useRAGCitations } from "./useRAGCitations";
|
|
4
|
+
export { useRAGDocuments } from "./useRAGDocuments";
|
|
5
|
+
export { useRAGEvaluate } from "./useRAGEvaluate";
|
|
6
|
+
export { useRAGGrounding } from "./useRAGGrounding";
|
|
7
|
+
export { useRAGIngest } from "./useRAGIngest";
|
|
8
|
+
export { useRAGIndexAdmin } from "./useRAGIndexAdmin";
|
|
9
|
+
export { useRAGOps } from "./useRAGOps";
|
|
10
|
+
export { useRAGSearch } from "./useRAGSearch";
|
|
11
|
+
export { useRAGWorkflow } from "./useRAGWorkflow";
|
|
12
|
+
export type { UseRAGWorkflowResult } from "./useRAGWorkflow";
|
|
13
|
+
export { useRAGStream } from "./useRAGStream";
|
|
14
|
+
export { useRAGStreamProgress } from "./useRAGStreamProgress";
|
|
15
|
+
export type { UseRAGStreamResult } from "./useRAGStream";
|
|
16
|
+
export { useRAGSources } from "./useRAGSources";
|
|
17
|
+
export { useRAGStatus } from "./useRAGStatus";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGDocumentChunkPreview } from
|
|
1
|
+
import type { RAGDocumentChunkPreview } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGChunkPreview: (path: string) => {
|
|
3
3
|
activeChunkId: import("vue").Ref<string | null, string | null>;
|
|
4
4
|
activeSectionDiagnostic: import("vue").ComputedRef<import("@absolutejs/ai").RAGSectionRetrievalDiagnostic | null>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Ref } from
|
|
2
|
-
import type { RAGSource } from
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { RAGSource } from "@absolutejs/ai";
|
|
3
3
|
export declare const useRAGCitations: (sources: Ref<RAGSource[]>) => {
|
|
4
4
|
citationReferenceMap: import("vue").ComputedRef<import("@absolutejs/ai").RAGCitationReferenceMap>;
|
|
5
5
|
citations: import("vue").ComputedRef<import("@absolutejs/ai").RAGCitation[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGDocumentsResponse, RAGIndexedDocument } from
|
|
1
|
+
import type { RAGDocumentsResponse, RAGIndexedDocument } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGDocuments: (path: string) => {
|
|
3
3
|
documents: import("vue").Ref<{
|
|
4
4
|
corpusKey?: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSuite, RAGEvaluationSuiteRun } from
|
|
1
|
+
import type { RAGEvaluationInput, RAGEvaluationResponse, RAGEvaluationSuite, RAGEvaluationSuiteRun } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGEvaluate: (path: string) => {
|
|
3
3
|
clearRuns: () => void;
|
|
4
4
|
error: import("vue").Ref<string | null, string | null>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Ref } from
|
|
2
|
-
import type { RAGSource } from
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { RAGSource } from "@absolutejs/ai";
|
|
3
3
|
export declare const useRAGGrounding: (content: Ref<string>, sources: Ref<RAGSource[]>) => {
|
|
4
4
|
coverage: import("vue").ComputedRef<"grounded" | "partial" | "ungrounded">;
|
|
5
5
|
groundedAnswer: import("vue").ComputedRef<import("@absolutejs/ai").RAGGroundedAnswer>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGBackendsResponse, RAGContentFormat, RAGChunkingStrategy, RAGMutationResponse, RAGSyncResponse, RAGSyncRunOptions } from
|
|
1
|
+
import type { RAGBackendsResponse, RAGContentFormat, RAGChunkingStrategy, RAGMutationResponse, RAGSyncResponse, RAGSyncRunOptions } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGIndexAdmin: (path: string) => {
|
|
3
3
|
backends: import("vue").Ref<{
|
|
4
4
|
ok: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGIngestResponse } from
|
|
1
|
+
import type { RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGIngestResponse } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGIngest: (path: string) => {
|
|
3
3
|
clearIndex: () => Promise<{
|
|
4
4
|
ok: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RAGAdminActionRecord, RAGAdminJobRecord, RAGAdminCapabilities, RAGBackendCapabilities, RAGBackendMaintenanceSummary, RAGCorpusHealth, RAGDocumentSummary, RAGExtractorReadiness, RAGIngestJobRecord, RAGOperationsResponse, RAGSyncSourceRecord, RAGVectorStoreStatus } from
|
|
1
|
+
import type { RAGAdminActionRecord, RAGAdminJobRecord, RAGAdminCapabilities, RAGBackendCapabilities, RAGBackendMaintenanceSummary, RAGCorpusHealth, RAGDocumentSummary, RAGExtractorReadiness, RAGIngestJobRecord, RAGOperationsResponse, RAGSyncSourceRecord, RAGVectorStoreStatus } from "@absolutejs/ai";
|
|
2
2
|
export declare const useRAGOps: (path: string, autoLoad?: boolean) => {
|
|
3
3
|
admin: import("vue").Ref<RAGAdminCapabilities | undefined, RAGAdminCapabilities | undefined>;
|
|
4
4
|
adminActions: import("vue").Ref<{
|