@absolutejs/rag 0.0.25 → 0.0.27
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/adapter-kit/index.js +6 -5
- package/dist/adapter-kit/index.js.map +14 -14
- package/dist/angular/index.js.map +6 -6
- package/dist/client/index.js.map +6 -6
- package/dist/client/ui.js.map +4 -4
- package/dist/index.js +6 -5
- package/dist/index.js.map +29 -29
- package/dist/presentation/ui.js.map +6 -6
- package/dist/quality/quality.js.map +4 -4
- package/dist/react/index.js.map +14 -14
- package/dist/src/adapter-kit/index.d.ts +1 -1
- package/dist/src/adapters/inMemory.d.ts +1 -1
- package/dist/src/adapters/sync.d.ts +1 -1
- package/dist/src/angular/ai-rag-stream.service.d.ts +9 -9
- package/dist/src/angular/ai-rag-workflow.service.d.ts +10 -10
- package/dist/src/angular/rag-client.service.d.ts +68 -68
- package/dist/src/chat/chat.d.ts +2 -1800
- package/dist/src/client/createRAGAnswerWorkflow.d.ts +10 -9
- package/dist/src/client/ragClient.d.ts +41 -40
- package/dist/src/client/ui.d.ts +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/ingestion/ingestion.d.ts +1 -1
- package/dist/src/internal/accessControl.d.ts +1 -1
- package/dist/src/internal/jobState.d.ts +1 -1
- package/dist/src/presentation/htmxCitationFragments.d.ts +1 -1
- package/dist/src/presentation/htmxConfig.d.ts +1 -1
- package/dist/src/presentation/htmxRenderers.d.ts +2 -1
- package/dist/src/presentation/htmxWorkflowRenderers.d.ts +1 -1
- package/dist/src/presentation/presentation.d.ts +5 -4
- package/dist/src/providers/contactProviders.d.ts +1 -1
- package/dist/src/providers/emailProviders.d.ts +1 -1
- package/dist/src/providers/embeddingProviders.d.ts +1 -1
- package/dist/src/providers/extractorProviders.d.ts +1 -1
- package/dist/src/providers/rerankerProviders.d.ts +1 -1
- package/dist/src/providers/socialProviders.d.ts +1 -1
- package/dist/src/quality/quality.d.ts +2 -1
- package/dist/src/react/useRAG.d.ts +117 -117
- package/dist/src/react/useRAGChunkPreview.d.ts +5 -5
- package/dist/src/react/useRAGCitations.d.ts +4 -4
- package/dist/src/react/useRAGDocuments.d.ts +1 -1
- package/dist/src/react/useRAGEvaluate.d.ts +4 -4
- package/dist/src/react/useRAGGrounding.d.ts +3 -3
- package/dist/src/react/useRAGIndexAdmin.d.ts +5 -5
- package/dist/src/react/useRAGIngest.d.ts +1 -1
- package/dist/src/react/useRAGOps.d.ts +1 -1
- package/dist/src/react/useRAGSearch.d.ts +2 -1
- package/dist/src/react/useRAGSources.d.ts +6 -6
- package/dist/src/react/useRAGStatus.d.ts +2 -2
- package/dist/src/react/useRAGStream.d.ts +11 -11
- package/dist/src/react/useRAGWorkflow.d.ts +12 -12
- package/dist/src/retrieval/collection.d.ts +1 -1
- package/dist/src/retrieval/context.d.ts +1 -1
- package/dist/src/retrieval/embedding.d.ts +1 -1
- package/dist/src/retrieval/grounding.d.ts +2 -1
- package/dist/src/retrieval/lexical.d.ts +2 -1
- package/dist/src/retrieval/queryTransforms.d.ts +1 -1
- package/dist/src/retrieval/reranking.d.ts +1 -1
- package/dist/src/retrieval/retrievalStrategies.d.ts +1 -1
- package/dist/src/svelte/createRAG.d.ts +109 -109
- package/dist/src/svelte/createRAGChunkPreview.d.ts +5 -5
- package/dist/src/svelte/createRAGCitations.d.ts +4 -4
- package/dist/src/svelte/createRAGDocuments.d.ts +1 -1
- package/dist/src/svelte/createRAGEvaluate.d.ts +4 -4
- package/dist/src/svelte/createRAGGrounding.d.ts +3 -3
- package/dist/src/svelte/createRAGIndexAdmin.d.ts +5 -5
- package/dist/src/svelte/createRAGIngest.d.ts +1 -1
- package/dist/src/svelte/createRAGOps.d.ts +1 -1
- package/dist/src/svelte/createRAGSearch.d.ts +2 -1
- package/dist/src/svelte/createRAGSources.d.ts +6 -6
- package/dist/src/svelte/createRAGStatus.d.ts +2 -2
- package/dist/src/svelte/createRAGStream.d.ts +8 -8
- package/dist/src/svelte/createRAGWorkflow.d.ts +9 -9
- package/dist/src/sync/sync.d.ts +2 -2
- package/dist/src/vue/useRAG.d.ts +257 -257
- package/dist/src/vue/useRAGChunkPreview.d.ts +25 -25
- package/dist/src/vue/useRAGCitations.d.ts +4 -4
- package/dist/src/vue/useRAGDocuments.d.ts +9 -9
- package/dist/src/vue/useRAGEvaluate.d.ts +50 -50
- package/dist/src/vue/useRAGGrounding.d.ts +3 -3
- package/dist/src/vue/useRAGIndexAdmin.d.ts +35 -35
- package/dist/src/vue/useRAGIngest.d.ts +1 -1
- package/dist/src/vue/useRAGOps.d.ts +9 -9
- package/dist/src/vue/useRAGSearch.d.ts +30 -29
- package/dist/src/vue/useRAGSources.d.ts +6 -6
- package/dist/src/vue/useRAGStatus.d.ts +2 -2
- package/dist/src/vue/useRAGStream.d.ts +10 -10
- package/dist/src/vue/useRAGWorkflow.d.ts +11 -11
- package/dist/svelte/index.js.map +13 -13
- package/dist/types/adapters.d.ts +1 -1
- package/dist/types/client.d.ts +2 -1
- package/dist/types/core.d.ts +1 -1
- package/dist/types/engine.d.ts +4325 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/presentation.d.ts +2 -1
- package/dist/types/retrieval.d.ts +1 -1
- package/dist/vue/index.js.map +13 -13
- package/package.json +6 -2
package/dist/src/vue/useRAG.d.ts
CHANGED
|
@@ -7,33 +7,33 @@ export type UseRAGOptions = {
|
|
|
7
7
|
export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
8
8
|
chunkPreview: {
|
|
9
9
|
activeChunkId: import("vue").Ref<string | null, string | null>;
|
|
10
|
-
activeSectionDiagnostic: import("vue").ComputedRef<import("
|
|
10
|
+
activeSectionDiagnostic: import("vue").ComputedRef<import("..").RAGSectionRetrievalDiagnostic | null>;
|
|
11
11
|
clear: () => void;
|
|
12
|
-
chunkGraph: import("vue").ComputedRef<import("
|
|
12
|
+
chunkGraph: import("vue").ComputedRef<import("..").RAGChunkGraph | null>;
|
|
13
13
|
error: import("vue").Ref<string | null, string | null>;
|
|
14
14
|
inspect: (id: string) => Promise<{
|
|
15
15
|
ok: true;
|
|
16
|
-
} & import("
|
|
16
|
+
} & import("..").RAGDocumentChunkPreview>;
|
|
17
17
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
18
|
-
navigation: import("vue").ComputedRef<import("
|
|
18
|
+
navigation: import("vue").ComputedRef<import("..").RAGChunkGraphNavigation | null>;
|
|
19
19
|
preview: import("vue").Ref<{
|
|
20
20
|
document: {
|
|
21
|
-
|
|
22
|
-
title: string;
|
|
21
|
+
corpusKey?: string | undefined;
|
|
23
22
|
id: string;
|
|
23
|
+
title: string;
|
|
24
|
+
source: string;
|
|
25
|
+
format?: import("..").RAGContentFormat | undefined;
|
|
24
26
|
kind?: string | undefined;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
chunkStrategy?: import("..").RAGChunkingStrategy | undefined;
|
|
28
|
+
chunkSize?: number | undefined;
|
|
27
29
|
chunkCount?: number | undefined;
|
|
30
|
+
createdAt?: number | undefined;
|
|
31
|
+
updatedAt?: number | undefined;
|
|
28
32
|
labels?: {
|
|
29
33
|
contextLabel?: string | undefined;
|
|
30
34
|
locatorLabel?: string | undefined;
|
|
31
35
|
provenanceLabel?: string | undefined;
|
|
32
36
|
} | undefined;
|
|
33
|
-
createdAt?: number | undefined;
|
|
34
|
-
chunkStrategy?: import("@absolutejs/ai").RAGChunkingStrategy | undefined;
|
|
35
|
-
chunkSize?: number | undefined;
|
|
36
|
-
updatedAt?: number | undefined;
|
|
37
37
|
metadata?: Record<string, unknown> | undefined;
|
|
38
38
|
};
|
|
39
39
|
normalizedText: string;
|
|
@@ -78,28 +78,28 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
78
78
|
sectionExcerpt: string;
|
|
79
79
|
} | undefined;
|
|
80
80
|
excerptSelection?: {
|
|
81
|
-
mode: import("
|
|
82
|
-
reason: import("
|
|
81
|
+
mode: import("..").RAGExcerptMode;
|
|
82
|
+
reason: import("..").RAGExcerptPromotionReason;
|
|
83
83
|
} | undefined;
|
|
84
84
|
}[];
|
|
85
|
-
} | null, import("
|
|
85
|
+
} | null, import("..").RAGDocumentChunkPreview | {
|
|
86
86
|
document: {
|
|
87
|
-
|
|
88
|
-
title: string;
|
|
87
|
+
corpusKey?: string | undefined;
|
|
89
88
|
id: string;
|
|
89
|
+
title: string;
|
|
90
|
+
source: string;
|
|
91
|
+
format?: import("..").RAGContentFormat | undefined;
|
|
90
92
|
kind?: string | undefined;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
+
chunkStrategy?: import("..").RAGChunkingStrategy | undefined;
|
|
94
|
+
chunkSize?: number | undefined;
|
|
93
95
|
chunkCount?: number | undefined;
|
|
96
|
+
createdAt?: number | undefined;
|
|
97
|
+
updatedAt?: number | undefined;
|
|
94
98
|
labels?: {
|
|
95
99
|
contextLabel?: string | undefined;
|
|
96
100
|
locatorLabel?: string | undefined;
|
|
97
101
|
provenanceLabel?: string | undefined;
|
|
98
102
|
} | undefined;
|
|
99
|
-
createdAt?: number | undefined;
|
|
100
|
-
chunkStrategy?: import("@absolutejs/ai").RAGChunkingStrategy | undefined;
|
|
101
|
-
chunkSize?: number | undefined;
|
|
102
|
-
updatedAt?: number | undefined;
|
|
103
103
|
metadata?: Record<string, unknown> | undefined;
|
|
104
104
|
};
|
|
105
105
|
normalizedText: string;
|
|
@@ -144,23 +144,23 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
144
144
|
sectionExcerpt: string;
|
|
145
145
|
} | undefined;
|
|
146
146
|
excerptSelection?: {
|
|
147
|
-
mode: import("
|
|
148
|
-
reason: import("
|
|
147
|
+
mode: import("..").RAGExcerptMode;
|
|
148
|
+
reason: import("..").RAGExcerptPromotionReason;
|
|
149
149
|
} | undefined;
|
|
150
150
|
}[];
|
|
151
151
|
} | null>;
|
|
152
|
-
sectionDiagnostics: import("vue").ComputedRef<import("
|
|
152
|
+
sectionDiagnostics: import("vue").ComputedRef<import("..").RAGSectionRetrievalDiagnostic[]>;
|
|
153
153
|
selectChildSection: (sectionId: string) => void;
|
|
154
154
|
selectChunk: (id: string | null) => void;
|
|
155
155
|
selectParentSection: () => void;
|
|
156
156
|
selectSiblingSection: (sectionId: string) => void;
|
|
157
157
|
};
|
|
158
158
|
citations: {
|
|
159
|
-
citationReferenceMap: import("vue").ComputedRef<import("
|
|
160
|
-
citations: import("vue").ComputedRef<import("
|
|
159
|
+
citationReferenceMap: import("vue").ComputedRef<import("..").RAGCitationReferenceMap>;
|
|
160
|
+
citations: import("vue").ComputedRef<import("..").RAGCitation[]>;
|
|
161
161
|
hasCitations: import("vue").ComputedRef<boolean>;
|
|
162
|
-
sourceGroups: import("vue").ComputedRef<import("
|
|
163
|
-
sourceSummaries: import("vue").ComputedRef<import("
|
|
162
|
+
sourceGroups: import("vue").ComputedRef<import("..").RAGSourceGroup[]>;
|
|
163
|
+
sourceSummaries: import("vue").ComputedRef<import("..").RAGSourceSummary[]>;
|
|
164
164
|
};
|
|
165
165
|
documents: {
|
|
166
166
|
documents: import("vue").Ref<{
|
|
@@ -170,8 +170,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
170
170
|
source: string;
|
|
171
171
|
text?: string | undefined;
|
|
172
172
|
kind?: string | undefined;
|
|
173
|
-
format?: import("
|
|
174
|
-
chunkStrategy?: import("
|
|
173
|
+
format?: import("..").RAGContentFormat | undefined;
|
|
174
|
+
chunkStrategy?: import("..").RAGChunkingStrategy | undefined;
|
|
175
175
|
chunkSize?: number | undefined;
|
|
176
176
|
chunkCount?: number | undefined;
|
|
177
177
|
createdAt?: number | undefined;
|
|
@@ -182,15 +182,15 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
182
182
|
locatorLabel?: string | undefined;
|
|
183
183
|
provenanceLabel?: string | undefined;
|
|
184
184
|
} | undefined;
|
|
185
|
-
}[], import("
|
|
185
|
+
}[], import("..").RAGIndexedDocument[] | {
|
|
186
186
|
corpusKey?: string | undefined;
|
|
187
187
|
id: string;
|
|
188
188
|
title: string;
|
|
189
189
|
source: string;
|
|
190
190
|
text?: string | undefined;
|
|
191
191
|
kind?: string | undefined;
|
|
192
|
-
format?: import("
|
|
193
|
-
chunkStrategy?: import("
|
|
192
|
+
format?: import("..").RAGContentFormat | undefined;
|
|
193
|
+
chunkStrategy?: import("..").RAGChunkingStrategy | undefined;
|
|
194
194
|
chunkSize?: number | undefined;
|
|
195
195
|
chunkCount?: number | undefined;
|
|
196
196
|
createdAt?: number | undefined;
|
|
@@ -213,8 +213,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
213
213
|
source: string;
|
|
214
214
|
text?: string | undefined;
|
|
215
215
|
kind?: string | undefined;
|
|
216
|
-
format?: import("
|
|
217
|
-
chunkStrategy?: import("
|
|
216
|
+
format?: import("..").RAGContentFormat | undefined;
|
|
217
|
+
chunkStrategy?: import("..").RAGChunkingStrategy | undefined;
|
|
218
218
|
chunkSize?: number | undefined;
|
|
219
219
|
chunkCount?: number | undefined;
|
|
220
220
|
createdAt?: number | undefined;
|
|
@@ -227,7 +227,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
227
227
|
} | undefined;
|
|
228
228
|
}[];
|
|
229
229
|
lastSeedMsByMode?: Record<string, number> | undefined;
|
|
230
|
-
} | null, import("
|
|
230
|
+
} | null, import("..").RAGDocumentsResponse | {
|
|
231
231
|
ok: true;
|
|
232
232
|
documents: {
|
|
233
233
|
corpusKey?: string | undefined;
|
|
@@ -236,8 +236,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
236
236
|
source: string;
|
|
237
237
|
text?: string | undefined;
|
|
238
238
|
kind?: string | undefined;
|
|
239
|
-
format?: import("
|
|
240
|
-
chunkStrategy?: import("
|
|
239
|
+
format?: import("..").RAGContentFormat | undefined;
|
|
240
|
+
chunkStrategy?: import("..").RAGChunkingStrategy | undefined;
|
|
241
241
|
chunkSize?: number | undefined;
|
|
242
242
|
chunkCount?: number | undefined;
|
|
243
243
|
createdAt?: number | undefined;
|
|
@@ -251,13 +251,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
251
251
|
}[];
|
|
252
252
|
lastSeedMsByMode?: Record<string, number> | undefined;
|
|
253
253
|
} | null>;
|
|
254
|
-
load: (kind?: string) => Promise<import("
|
|
254
|
+
load: (kind?: string) => Promise<import("..").RAGDocumentsResponse>;
|
|
255
255
|
reset: () => void;
|
|
256
256
|
};
|
|
257
257
|
evaluate: {
|
|
258
258
|
clearRuns: () => void;
|
|
259
259
|
error: import("vue").Ref<string | null, string | null>;
|
|
260
|
-
evaluate: (input: import("
|
|
260
|
+
evaluate: (input: import("..").RAGEvaluationInput) => Promise<import("..").RAGEvaluationResponse>;
|
|
261
261
|
isEvaluating: import("vue").Ref<boolean, boolean>;
|
|
262
262
|
lastRequest: import("vue").Ref<{
|
|
263
263
|
cases: {
|
|
@@ -275,11 +275,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
275
275
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
276
276
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
277
277
|
mmrLambda?: number | undefined;
|
|
278
|
-
fusion?: import("
|
|
278
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
279
279
|
fusionConstant?: number | undefined;
|
|
280
280
|
lexicalWeight?: number | undefined;
|
|
281
281
|
vectorWeight?: number | undefined;
|
|
282
|
-
nativeQueryProfile?: import("
|
|
282
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
283
283
|
nativeCandidateLimit?: number | undefined;
|
|
284
284
|
nativeMaxBackfills?: number | undefined;
|
|
285
285
|
nativeMinResults?: number | undefined;
|
|
@@ -306,18 +306,18 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
306
306
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
307
307
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
308
308
|
mmrLambda?: number | undefined;
|
|
309
|
-
fusion?: import("
|
|
309
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
310
310
|
fusionConstant?: number | undefined;
|
|
311
311
|
lexicalWeight?: number | undefined;
|
|
312
312
|
vectorWeight?: number | undefined;
|
|
313
|
-
nativeQueryProfile?: import("
|
|
313
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
314
314
|
nativeCandidateLimit?: number | undefined;
|
|
315
315
|
nativeMaxBackfills?: number | undefined;
|
|
316
316
|
nativeMinResults?: number | undefined;
|
|
317
317
|
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
318
318
|
} | undefined;
|
|
319
319
|
dryRun?: boolean | undefined;
|
|
320
|
-
} | null, import("
|
|
320
|
+
} | null, import("..").RAGEvaluationInput | {
|
|
321
321
|
cases: {
|
|
322
322
|
id: string;
|
|
323
323
|
query: string;
|
|
@@ -333,11 +333,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
333
333
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
334
334
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
335
335
|
mmrLambda?: number | undefined;
|
|
336
|
-
fusion?: import("
|
|
336
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
337
337
|
fusionConstant?: number | undefined;
|
|
338
338
|
lexicalWeight?: number | undefined;
|
|
339
339
|
vectorWeight?: number | undefined;
|
|
340
|
-
nativeQueryProfile?: import("
|
|
340
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
341
341
|
nativeCandidateLimit?: number | undefined;
|
|
342
342
|
nativeMaxBackfills?: number | undefined;
|
|
343
343
|
nativeMinResults?: number | undefined;
|
|
@@ -364,11 +364,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
364
364
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
365
365
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
366
366
|
mmrLambda?: number | undefined;
|
|
367
|
-
fusion?: import("
|
|
367
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
368
368
|
fusionConstant?: number | undefined;
|
|
369
369
|
lexicalWeight?: number | undefined;
|
|
370
370
|
vectorWeight?: number | undefined;
|
|
371
|
-
nativeQueryProfile?: import("
|
|
371
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
372
372
|
nativeCandidateLimit?: number | undefined;
|
|
373
373
|
nativeMaxBackfills?: number | undefined;
|
|
374
374
|
nativeMinResults?: number | undefined;
|
|
@@ -414,7 +414,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
414
414
|
elapsedMs: number;
|
|
415
415
|
totalCases: number;
|
|
416
416
|
passingRate: number;
|
|
417
|
-
} | null, import("
|
|
417
|
+
} | null, import("..").RAGEvaluationResponse | {
|
|
418
418
|
ok: true;
|
|
419
419
|
corpusKeys?: string[] | undefined;
|
|
420
420
|
cases: {
|
|
@@ -453,22 +453,22 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
453
453
|
totalCases: number;
|
|
454
454
|
passingRate: number;
|
|
455
455
|
} | null>;
|
|
456
|
-
leaderboard: import("vue").ComputedRef<import("
|
|
456
|
+
leaderboard: import("vue").ComputedRef<import("..").RAGEvaluationLeaderboardEntry[]>;
|
|
457
457
|
removeSuite: (id: string) => void;
|
|
458
458
|
reset: () => void;
|
|
459
|
-
runSuite: (suite: import("
|
|
460
|
-
caseTraceSnapshots: import("
|
|
459
|
+
runSuite: (suite: import("..").RAGEvaluationSuite, overrides?: Partial<import("..").RAGEvaluationInput>) => Promise<{
|
|
460
|
+
caseTraceSnapshots: import("..").RAGEvaluationCaseTraceSnapshot[] | undefined;
|
|
461
461
|
elapsedMs: number;
|
|
462
462
|
finishedAt: number;
|
|
463
463
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
464
464
|
label: string;
|
|
465
465
|
metadata: Record<string, unknown> | undefined;
|
|
466
|
-
response: import("
|
|
466
|
+
response: import("..").RAGEvaluationResponse;
|
|
467
467
|
startedAt: number;
|
|
468
468
|
suiteId: string;
|
|
469
|
-
traceSummary: import("
|
|
469
|
+
traceSummary: import("..").RAGRetrievalTraceComparisonSummary | undefined;
|
|
470
470
|
}>;
|
|
471
|
-
saveSuite: (suite: import("
|
|
471
|
+
saveSuite: (suite: import("..").RAGEvaluationSuite) => import("..").RAGEvaluationSuite;
|
|
472
472
|
suiteRuns: import("vue").Ref<{
|
|
473
473
|
id: string;
|
|
474
474
|
suiteId: string;
|
|
@@ -542,13 +542,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
542
542
|
averageCandidateTopK: number;
|
|
543
543
|
averageLexicalTopK: number;
|
|
544
544
|
stageCounts: {
|
|
545
|
-
fusion?: number | undefined;
|
|
546
545
|
input?: number | undefined;
|
|
547
|
-
embed?: number | undefined;
|
|
548
546
|
query_transform?: number | undefined;
|
|
549
547
|
routing?: number | undefined;
|
|
548
|
+
embed?: number | undefined;
|
|
550
549
|
vector_search?: number | undefined;
|
|
551
550
|
lexical_search?: number | undefined;
|
|
551
|
+
fusion?: number | undefined;
|
|
552
552
|
rerank?: number | undefined;
|
|
553
553
|
diversity?: number | undefined;
|
|
554
554
|
source_balance?: number | undefined;
|
|
@@ -562,7 +562,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
562
562
|
corpusKey?: string | undefined;
|
|
563
563
|
label?: string | undefined;
|
|
564
564
|
query: string;
|
|
565
|
-
status: import("
|
|
565
|
+
status: import("..").RAGEvaluationCaseResult["status"];
|
|
566
566
|
inputFilter?: Record<string, unknown> | undefined;
|
|
567
567
|
previousInputFilter?: Record<string, unknown> | undefined;
|
|
568
568
|
inputRetrieval?: import("@absolutejs/ai").RAGHybridRetrievalMode | {
|
|
@@ -572,11 +572,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
572
572
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
573
573
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
574
574
|
mmrLambda?: number | undefined;
|
|
575
|
-
fusion?: import("
|
|
575
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
576
576
|
fusionConstant?: number | undefined;
|
|
577
577
|
lexicalWeight?: number | undefined;
|
|
578
578
|
vectorWeight?: number | undefined;
|
|
579
|
-
nativeQueryProfile?: import("
|
|
579
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
580
580
|
nativeCandidateLimit?: number | undefined;
|
|
581
581
|
nativeMaxBackfills?: number | undefined;
|
|
582
582
|
nativeMinResults?: number | undefined;
|
|
@@ -589,11 +589,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
589
589
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
590
590
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
591
591
|
mmrLambda?: number | undefined;
|
|
592
|
-
fusion?: import("
|
|
592
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
593
593
|
fusionConstant?: number | undefined;
|
|
594
594
|
lexicalWeight?: number | undefined;
|
|
595
595
|
vectorWeight?: number | undefined;
|
|
596
|
-
nativeQueryProfile?: import("
|
|
596
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
597
597
|
nativeCandidateLimit?: number | undefined;
|
|
598
598
|
nativeMaxBackfills?: number | undefined;
|
|
599
599
|
nativeMinResults?: number | undefined;
|
|
@@ -649,8 +649,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
649
649
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
650
650
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
651
651
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
652
|
-
sqliteQueryPlannerProfileUsed?: import("
|
|
653
|
-
previousSqliteQueryPlannerProfileUsed?: import("
|
|
652
|
+
sqliteQueryPlannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
653
|
+
previousSqliteQueryPlannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
654
654
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
655
655
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
656
656
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -703,8 +703,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
703
703
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
704
704
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
705
705
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
706
|
-
postgresQueryPlannerProfileUsed?: import("
|
|
707
|
-
previousPostgresQueryPlannerProfileUsed?: import("
|
|
706
|
+
postgresQueryPlannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
707
|
+
previousPostgresQueryPlannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
708
708
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
709
709
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
710
710
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -764,13 +764,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
764
764
|
sourceAwareUnitScopeLabel?: string | undefined;
|
|
765
765
|
previousSourceAwareUnitScopeLabel?: string | undefined;
|
|
766
766
|
stageCounts: {
|
|
767
|
-
fusion?: number | undefined;
|
|
768
767
|
input?: number | undefined;
|
|
769
|
-
embed?: number | undefined;
|
|
770
768
|
query_transform?: number | undefined;
|
|
771
769
|
routing?: number | undefined;
|
|
770
|
+
embed?: number | undefined;
|
|
772
771
|
vector_search?: number | undefined;
|
|
773
772
|
lexical_search?: number | undefined;
|
|
773
|
+
fusion?: number | undefined;
|
|
774
774
|
rerank?: number | undefined;
|
|
775
775
|
diversity?: number | undefined;
|
|
776
776
|
source_balance?: number | undefined;
|
|
@@ -779,13 +779,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
779
779
|
finalize?: number | undefined;
|
|
780
780
|
};
|
|
781
781
|
previousStageCounts: {
|
|
782
|
-
fusion?: number | undefined;
|
|
783
782
|
input?: number | undefined;
|
|
784
|
-
embed?: number | undefined;
|
|
785
783
|
query_transform?: number | undefined;
|
|
786
784
|
routing?: number | undefined;
|
|
785
|
+
embed?: number | undefined;
|
|
787
786
|
vector_search?: number | undefined;
|
|
788
787
|
lexical_search?: number | undefined;
|
|
788
|
+
fusion?: number | undefined;
|
|
789
789
|
rerank?: number | undefined;
|
|
790
790
|
diversity?: number | undefined;
|
|
791
791
|
source_balance?: number | undefined;
|
|
@@ -796,7 +796,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
796
796
|
traceChange: "new" | "changed" | "unchanged";
|
|
797
797
|
}[] | undefined;
|
|
798
798
|
metadata?: Record<string, unknown> | undefined;
|
|
799
|
-
}[], import("
|
|
799
|
+
}[], import("..").RAGEvaluationSuiteRun[] | {
|
|
800
800
|
id: string;
|
|
801
801
|
suiteId: string;
|
|
802
802
|
label: string;
|
|
@@ -869,13 +869,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
869
869
|
averageCandidateTopK: number;
|
|
870
870
|
averageLexicalTopK: number;
|
|
871
871
|
stageCounts: {
|
|
872
|
-
fusion?: number | undefined;
|
|
873
872
|
input?: number | undefined;
|
|
874
|
-
embed?: number | undefined;
|
|
875
873
|
query_transform?: number | undefined;
|
|
876
874
|
routing?: number | undefined;
|
|
875
|
+
embed?: number | undefined;
|
|
877
876
|
vector_search?: number | undefined;
|
|
878
877
|
lexical_search?: number | undefined;
|
|
878
|
+
fusion?: number | undefined;
|
|
879
879
|
rerank?: number | undefined;
|
|
880
880
|
diversity?: number | undefined;
|
|
881
881
|
source_balance?: number | undefined;
|
|
@@ -889,7 +889,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
889
889
|
corpusKey?: string | undefined;
|
|
890
890
|
label?: string | undefined;
|
|
891
891
|
query: string;
|
|
892
|
-
status: import("
|
|
892
|
+
status: import("..").RAGEvaluationCaseResult["status"];
|
|
893
893
|
inputFilter?: Record<string, unknown> | undefined;
|
|
894
894
|
previousInputFilter?: Record<string, unknown> | undefined;
|
|
895
895
|
inputRetrieval?: import("@absolutejs/ai").RAGHybridRetrievalMode | {
|
|
@@ -899,11 +899,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
899
899
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
900
900
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
901
901
|
mmrLambda?: number | undefined;
|
|
902
|
-
fusion?: import("
|
|
902
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
903
903
|
fusionConstant?: number | undefined;
|
|
904
904
|
lexicalWeight?: number | undefined;
|
|
905
905
|
vectorWeight?: number | undefined;
|
|
906
|
-
nativeQueryProfile?: import("
|
|
906
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
907
907
|
nativeCandidateLimit?: number | undefined;
|
|
908
908
|
nativeMaxBackfills?: number | undefined;
|
|
909
909
|
nativeMinResults?: number | undefined;
|
|
@@ -916,11 +916,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
916
916
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
917
917
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
918
918
|
mmrLambda?: number | undefined;
|
|
919
|
-
fusion?: import("
|
|
919
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
920
920
|
fusionConstant?: number | undefined;
|
|
921
921
|
lexicalWeight?: number | undefined;
|
|
922
922
|
vectorWeight?: number | undefined;
|
|
923
|
-
nativeQueryProfile?: import("
|
|
923
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
924
924
|
nativeCandidateLimit?: number | undefined;
|
|
925
925
|
nativeMaxBackfills?: number | undefined;
|
|
926
926
|
nativeMinResults?: number | undefined;
|
|
@@ -976,8 +976,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
976
976
|
previousSqliteQueryJsRemainderClauseCount?: number | undefined;
|
|
977
977
|
sqliteQueryMultiplierUsed?: number | undefined;
|
|
978
978
|
previousSqliteQueryMultiplierUsed?: number | undefined;
|
|
979
|
-
sqliteQueryPlannerProfileUsed?: import("
|
|
980
|
-
previousSqliteQueryPlannerProfileUsed?: import("
|
|
979
|
+
sqliteQueryPlannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
980
|
+
previousSqliteQueryPlannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
981
981
|
sqliteQueryCandidateLimitUsed?: number | undefined;
|
|
982
982
|
previousSqliteQueryCandidateLimitUsed?: number | undefined;
|
|
983
983
|
sqliteQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -1030,8 +1030,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1030
1030
|
previousPostgresQueryJsRemainderClauseCount?: number | undefined;
|
|
1031
1031
|
postgresQueryMultiplierUsed?: number | undefined;
|
|
1032
1032
|
previousPostgresQueryMultiplierUsed?: number | undefined;
|
|
1033
|
-
postgresQueryPlannerProfileUsed?: import("
|
|
1034
|
-
previousPostgresQueryPlannerProfileUsed?: import("
|
|
1033
|
+
postgresQueryPlannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1034
|
+
previousPostgresQueryPlannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1035
1035
|
postgresQueryCandidateLimitUsed?: number | undefined;
|
|
1036
1036
|
previousPostgresQueryCandidateLimitUsed?: number | undefined;
|
|
1037
1037
|
postgresQueryMaxBackfillsUsed?: number | undefined;
|
|
@@ -1091,13 +1091,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1091
1091
|
sourceAwareUnitScopeLabel?: string | undefined;
|
|
1092
1092
|
previousSourceAwareUnitScopeLabel?: string | undefined;
|
|
1093
1093
|
stageCounts: {
|
|
1094
|
-
fusion?: number | undefined;
|
|
1095
1094
|
input?: number | undefined;
|
|
1096
|
-
embed?: number | undefined;
|
|
1097
1095
|
query_transform?: number | undefined;
|
|
1098
1096
|
routing?: number | undefined;
|
|
1097
|
+
embed?: number | undefined;
|
|
1099
1098
|
vector_search?: number | undefined;
|
|
1100
1099
|
lexical_search?: number | undefined;
|
|
1100
|
+
fusion?: number | undefined;
|
|
1101
1101
|
rerank?: number | undefined;
|
|
1102
1102
|
diversity?: number | undefined;
|
|
1103
1103
|
source_balance?: number | undefined;
|
|
@@ -1106,13 +1106,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1106
1106
|
finalize?: number | undefined;
|
|
1107
1107
|
};
|
|
1108
1108
|
previousStageCounts: {
|
|
1109
|
-
fusion?: number | undefined;
|
|
1110
1109
|
input?: number | undefined;
|
|
1111
|
-
embed?: number | undefined;
|
|
1112
1110
|
query_transform?: number | undefined;
|
|
1113
1111
|
routing?: number | undefined;
|
|
1112
|
+
embed?: number | undefined;
|
|
1114
1113
|
vector_search?: number | undefined;
|
|
1115
1114
|
lexical_search?: number | undefined;
|
|
1115
|
+
fusion?: number | undefined;
|
|
1116
1116
|
rerank?: number | undefined;
|
|
1117
1117
|
diversity?: number | undefined;
|
|
1118
1118
|
source_balance?: number | undefined;
|
|
@@ -1144,11 +1144,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1144
1144
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
1145
1145
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
1146
1146
|
mmrLambda?: number | undefined;
|
|
1147
|
-
fusion?: import("
|
|
1147
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
1148
1148
|
fusionConstant?: number | undefined;
|
|
1149
1149
|
lexicalWeight?: number | undefined;
|
|
1150
1150
|
vectorWeight?: number | undefined;
|
|
1151
|
-
nativeQueryProfile?: import("
|
|
1151
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
1152
1152
|
nativeCandidateLimit?: number | undefined;
|
|
1153
1153
|
nativeMaxBackfills?: number | undefined;
|
|
1154
1154
|
nativeMinResults?: number | undefined;
|
|
@@ -1175,11 +1175,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1175
1175
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
1176
1176
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
1177
1177
|
mmrLambda?: number | undefined;
|
|
1178
|
-
fusion?: import("
|
|
1178
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
1179
1179
|
fusionConstant?: number | undefined;
|
|
1180
1180
|
lexicalWeight?: number | undefined;
|
|
1181
1181
|
vectorWeight?: number | undefined;
|
|
1182
|
-
nativeQueryProfile?: import("
|
|
1182
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
1183
1183
|
nativeCandidateLimit?: number | undefined;
|
|
1184
1184
|
nativeMaxBackfills?: number | undefined;
|
|
1185
1185
|
nativeMinResults?: number | undefined;
|
|
@@ -1188,7 +1188,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1188
1188
|
dryRun?: boolean | undefined;
|
|
1189
1189
|
};
|
|
1190
1190
|
metadata?: Record<string, unknown> | undefined;
|
|
1191
|
-
}[], import("
|
|
1191
|
+
}[], import("..").RAGEvaluationSuite[] | {
|
|
1192
1192
|
id: string;
|
|
1193
1193
|
label?: string | undefined;
|
|
1194
1194
|
description?: string | undefined;
|
|
@@ -1208,11 +1208,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1208
1208
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
1209
1209
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
1210
1210
|
mmrLambda?: number | undefined;
|
|
1211
|
-
fusion?: import("
|
|
1211
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
1212
1212
|
fusionConstant?: number | undefined;
|
|
1213
1213
|
lexicalWeight?: number | undefined;
|
|
1214
1214
|
vectorWeight?: number | undefined;
|
|
1215
|
-
nativeQueryProfile?: import("
|
|
1215
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
1216
1216
|
nativeCandidateLimit?: number | undefined;
|
|
1217
1217
|
nativeMaxBackfills?: number | undefined;
|
|
1218
1218
|
nativeMinResults?: number | undefined;
|
|
@@ -1239,11 +1239,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1239
1239
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
1240
1240
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
1241
1241
|
mmrLambda?: number | undefined;
|
|
1242
|
-
fusion?: import("
|
|
1242
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
1243
1243
|
fusionConstant?: number | undefined;
|
|
1244
1244
|
lexicalWeight?: number | undefined;
|
|
1245
1245
|
vectorWeight?: number | undefined;
|
|
1246
|
-
nativeQueryProfile?: import("
|
|
1246
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
1247
1247
|
nativeCandidateLimit?: number | undefined;
|
|
1248
1248
|
nativeMaxBackfills?: number | undefined;
|
|
1249
1249
|
nativeMinResults?: number | undefined;
|
|
@@ -1255,11 +1255,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1255
1255
|
}[]>;
|
|
1256
1256
|
};
|
|
1257
1257
|
grounding: {
|
|
1258
|
-
coverage: import("vue").ComputedRef<"
|
|
1259
|
-
groundedAnswer: import("vue").ComputedRef<import("
|
|
1258
|
+
coverage: import("vue").ComputedRef<"grounded" | "partial" | "ungrounded">;
|
|
1259
|
+
groundedAnswer: import("vue").ComputedRef<import("..").RAGGroundedAnswer>;
|
|
1260
1260
|
hasCitations: import("vue").ComputedRef<boolean>;
|
|
1261
1261
|
hasGrounding: import("vue").ComputedRef<boolean>;
|
|
1262
|
-
references: import("vue").ComputedRef<import("
|
|
1262
|
+
references: import("vue").ComputedRef<import("..").RAGGroundingReference[]>;
|
|
1263
1263
|
ungroundedReferenceNumbers: import("vue").ComputedRef<number[]>;
|
|
1264
1264
|
};
|
|
1265
1265
|
index: {
|
|
@@ -1297,8 +1297,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1297
1297
|
lastHealthCheckAt?: number | undefined;
|
|
1298
1298
|
lastAnalyzeAt?: number | undefined;
|
|
1299
1299
|
resolution?: {
|
|
1300
|
-
status: import("
|
|
1301
|
-
source: import("
|
|
1300
|
+
status: import("..").SQLiteVecResolutionStatus;
|
|
1301
|
+
source: import("..").SQLiteVecResolutionSource;
|
|
1302
1302
|
platformKey: string;
|
|
1303
1303
|
packageName?: string | undefined;
|
|
1304
1304
|
packageVersion?: string | undefined;
|
|
@@ -1319,7 +1319,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1319
1319
|
pushdownClauseCount: number;
|
|
1320
1320
|
totalFilterClauseCount: number;
|
|
1321
1321
|
jsRemainderClauseCount: number;
|
|
1322
|
-
plannerProfileUsed?: import("
|
|
1322
|
+
plannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1323
1323
|
queryMultiplierUsed?: number | undefined;
|
|
1324
1324
|
candidateLimitUsed?: number | undefined;
|
|
1325
1325
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1390,7 +1390,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1390
1390
|
pushdownClauseCount: number;
|
|
1391
1391
|
totalFilterClauseCount: number;
|
|
1392
1392
|
jsRemainderClauseCount: number;
|
|
1393
|
-
plannerProfileUsed?: import("
|
|
1393
|
+
plannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1394
1394
|
queryMultiplierUsed?: number | undefined;
|
|
1395
1395
|
candidateLimitUsed?: number | undefined;
|
|
1396
1396
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1423,7 +1423,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1423
1423
|
streamingIngestStatus: boolean;
|
|
1424
1424
|
} | undefined;
|
|
1425
1425
|
}[];
|
|
1426
|
-
} | null, import("
|
|
1426
|
+
} | null, import("..").RAGBackendsResponse | {
|
|
1427
1427
|
ok: true;
|
|
1428
1428
|
defaultMode?: string | undefined;
|
|
1429
1429
|
activeModeCookie?: string | undefined;
|
|
@@ -1457,8 +1457,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1457
1457
|
lastHealthCheckAt?: number | undefined;
|
|
1458
1458
|
lastAnalyzeAt?: number | undefined;
|
|
1459
1459
|
resolution?: {
|
|
1460
|
-
status: import("
|
|
1461
|
-
source: import("
|
|
1460
|
+
status: import("..").SQLiteVecResolutionStatus;
|
|
1461
|
+
source: import("..").SQLiteVecResolutionSource;
|
|
1462
1462
|
platformKey: string;
|
|
1463
1463
|
packageName?: string | undefined;
|
|
1464
1464
|
packageVersion?: string | undefined;
|
|
@@ -1479,7 +1479,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1479
1479
|
pushdownClauseCount: number;
|
|
1480
1480
|
totalFilterClauseCount: number;
|
|
1481
1481
|
jsRemainderClauseCount: number;
|
|
1482
|
-
plannerProfileUsed?: import("
|
|
1482
|
+
plannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1483
1483
|
queryMultiplierUsed?: number | undefined;
|
|
1484
1484
|
candidateLimitUsed?: number | undefined;
|
|
1485
1485
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1550,7 +1550,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1550
1550
|
pushdownClauseCount: number;
|
|
1551
1551
|
totalFilterClauseCount: number;
|
|
1552
1552
|
jsRemainderClauseCount: number;
|
|
1553
|
-
plannerProfileUsed?: import("
|
|
1553
|
+
plannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1554
1554
|
queryMultiplierUsed?: number | undefined;
|
|
1555
1555
|
candidateLimitUsed?: number | undefined;
|
|
1556
1556
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1584,7 +1584,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1584
1584
|
} | undefined;
|
|
1585
1585
|
}[];
|
|
1586
1586
|
} | null>;
|
|
1587
|
-
analyzeBackend: () => Promise<import("
|
|
1587
|
+
analyzeBackend: () => Promise<import("..").RAGMutationResponse>;
|
|
1588
1588
|
clearIndex: () => Promise<{
|
|
1589
1589
|
ok: boolean;
|
|
1590
1590
|
}>;
|
|
@@ -1593,16 +1593,16 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1593
1593
|
title?: string;
|
|
1594
1594
|
source?: string;
|
|
1595
1595
|
text: string;
|
|
1596
|
-
format?: import("
|
|
1596
|
+
format?: import("..").RAGContentFormat;
|
|
1597
1597
|
metadata?: Record<string, unknown>;
|
|
1598
1598
|
chunking?: {
|
|
1599
1599
|
maxChunkLength?: number;
|
|
1600
1600
|
chunkOverlap?: number;
|
|
1601
1601
|
minChunkLength?: number;
|
|
1602
|
-
strategy?: import("
|
|
1602
|
+
strategy?: import("..").RAGChunkingStrategy;
|
|
1603
1603
|
};
|
|
1604
|
-
}) => Promise<import("
|
|
1605
|
-
deleteDocument: (id: string) => Promise<import("
|
|
1604
|
+
}) => Promise<import("..").RAGMutationResponse>;
|
|
1605
|
+
deleteDocument: (id: string) => Promise<import("..").RAGMutationResponse>;
|
|
1606
1606
|
error: import("vue").Ref<string | null, string | null>;
|
|
1607
1607
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
1608
1608
|
lastMutation: import("vue").Ref<{
|
|
@@ -1614,7 +1614,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1614
1614
|
status?: string | undefined;
|
|
1615
1615
|
documents?: number | undefined;
|
|
1616
1616
|
maintenance?: {
|
|
1617
|
-
backend: Exclude<import("
|
|
1617
|
+
backend: Exclude<import("..").RAGVectorStoreStatus["backend"], "in_memory">;
|
|
1618
1618
|
activeJobs: {
|
|
1619
1619
|
action: "analyze_backend" | "rebuild_native_index";
|
|
1620
1620
|
startedAt: number;
|
|
@@ -1622,7 +1622,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1622
1622
|
}[];
|
|
1623
1623
|
recentActions: {
|
|
1624
1624
|
action: "analyze_backend" | "rebuild_native_index";
|
|
1625
|
-
status: import("
|
|
1625
|
+
status: import("..").RAGAdminActionRecord["status"];
|
|
1626
1626
|
finishedAt?: number | undefined;
|
|
1627
1627
|
target?: string | undefined;
|
|
1628
1628
|
error?: string | undefined;
|
|
@@ -1657,8 +1657,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1657
1657
|
lastHealthCheckAt?: number | undefined;
|
|
1658
1658
|
lastAnalyzeAt?: number | undefined;
|
|
1659
1659
|
resolution?: {
|
|
1660
|
-
status: import("
|
|
1661
|
-
source: import("
|
|
1660
|
+
status: import("..").SQLiteVecResolutionStatus;
|
|
1661
|
+
source: import("..").SQLiteVecResolutionSource;
|
|
1662
1662
|
platformKey: string;
|
|
1663
1663
|
packageName?: string | undefined;
|
|
1664
1664
|
packageVersion?: string | undefined;
|
|
@@ -1679,7 +1679,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1679
1679
|
pushdownClauseCount: number;
|
|
1680
1680
|
totalFilterClauseCount: number;
|
|
1681
1681
|
jsRemainderClauseCount: number;
|
|
1682
|
-
plannerProfileUsed?: import("
|
|
1682
|
+
plannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1683
1683
|
queryMultiplierUsed?: number | undefined;
|
|
1684
1684
|
candidateLimitUsed?: number | undefined;
|
|
1685
1685
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1750,7 +1750,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1750
1750
|
pushdownClauseCount: number;
|
|
1751
1751
|
totalFilterClauseCount: number;
|
|
1752
1752
|
jsRemainderClauseCount: number;
|
|
1753
|
-
plannerProfileUsed?: import("
|
|
1753
|
+
plannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1754
1754
|
queryMultiplierUsed?: number | undefined;
|
|
1755
1755
|
candidateLimitUsed?: number | undefined;
|
|
1756
1756
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1805,7 +1805,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1805
1805
|
adminJobs?: {
|
|
1806
1806
|
id: string;
|
|
1807
1807
|
action: "analyze_backend" | "rebuild_native_index" | "clear_index" | "create_document" | "delete_document" | "promote_retrieval_baseline" | "revert_retrieval_baseline" | "prune_search_traces" | "reindex_document" | "reindex_source" | "sync_all_sources" | "sync_source" | "reseed" | "reset";
|
|
1808
|
-
status: import("
|
|
1808
|
+
status: import("..").RAGAdminJobStatus;
|
|
1809
1809
|
startedAt: number;
|
|
1810
1810
|
finishedAt?: number | undefined;
|
|
1811
1811
|
elapsedMs?: number | undefined;
|
|
@@ -1824,8 +1824,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1824
1824
|
source: string;
|
|
1825
1825
|
text?: string | undefined;
|
|
1826
1826
|
kind?: string | undefined;
|
|
1827
|
-
format?: import("
|
|
1828
|
-
chunkStrategy?: import("
|
|
1827
|
+
format?: import("..").RAGContentFormat | undefined;
|
|
1828
|
+
chunkStrategy?: import("..").RAGChunkingStrategy | undefined;
|
|
1829
1829
|
chunkSize?: number | undefined;
|
|
1830
1830
|
chunkCount?: number | undefined;
|
|
1831
1831
|
createdAt?: number | undefined;
|
|
@@ -1837,7 +1837,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1837
1837
|
provenanceLabel?: string | undefined;
|
|
1838
1838
|
} | undefined;
|
|
1839
1839
|
} | undefined;
|
|
1840
|
-
} | null, import("
|
|
1840
|
+
} | null, import("..").RAGMutationResponse | {
|
|
1841
1841
|
ok: boolean;
|
|
1842
1842
|
error?: string | undefined;
|
|
1843
1843
|
deleted?: string | undefined;
|
|
@@ -1846,7 +1846,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1846
1846
|
status?: string | undefined;
|
|
1847
1847
|
documents?: number | undefined;
|
|
1848
1848
|
maintenance?: {
|
|
1849
|
-
backend: Exclude<import("
|
|
1849
|
+
backend: Exclude<import("..").RAGVectorStoreStatus["backend"], "in_memory">;
|
|
1850
1850
|
activeJobs: {
|
|
1851
1851
|
action: "analyze_backend" | "rebuild_native_index";
|
|
1852
1852
|
startedAt: number;
|
|
@@ -1854,7 +1854,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1854
1854
|
}[];
|
|
1855
1855
|
recentActions: {
|
|
1856
1856
|
action: "analyze_backend" | "rebuild_native_index";
|
|
1857
|
-
status: import("
|
|
1857
|
+
status: import("..").RAGAdminActionRecord["status"];
|
|
1858
1858
|
finishedAt?: number | undefined;
|
|
1859
1859
|
target?: string | undefined;
|
|
1860
1860
|
error?: string | undefined;
|
|
@@ -1889,8 +1889,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1889
1889
|
lastHealthCheckAt?: number | undefined;
|
|
1890
1890
|
lastAnalyzeAt?: number | undefined;
|
|
1891
1891
|
resolution?: {
|
|
1892
|
-
status: import("
|
|
1893
|
-
source: import("
|
|
1892
|
+
status: import("..").SQLiteVecResolutionStatus;
|
|
1893
|
+
source: import("..").SQLiteVecResolutionSource;
|
|
1894
1894
|
platformKey: string;
|
|
1895
1895
|
packageName?: string | undefined;
|
|
1896
1896
|
packageVersion?: string | undefined;
|
|
@@ -1911,7 +1911,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1911
1911
|
pushdownClauseCount: number;
|
|
1912
1912
|
totalFilterClauseCount: number;
|
|
1913
1913
|
jsRemainderClauseCount: number;
|
|
1914
|
-
plannerProfileUsed?: import("
|
|
1914
|
+
plannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1915
1915
|
queryMultiplierUsed?: number | undefined;
|
|
1916
1916
|
candidateLimitUsed?: number | undefined;
|
|
1917
1917
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -1982,7 +1982,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
1982
1982
|
pushdownClauseCount: number;
|
|
1983
1983
|
totalFilterClauseCount: number;
|
|
1984
1984
|
jsRemainderClauseCount: number;
|
|
1985
|
-
plannerProfileUsed?: import("
|
|
1985
|
+
plannerProfileUsed?: import("..").RAGNativeQueryProfile | undefined;
|
|
1986
1986
|
queryMultiplierUsed?: number | undefined;
|
|
1987
1987
|
candidateLimitUsed?: number | undefined;
|
|
1988
1988
|
maxBackfillsUsed?: number | undefined;
|
|
@@ -2037,7 +2037,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2037
2037
|
adminJobs?: {
|
|
2038
2038
|
id: string;
|
|
2039
2039
|
action: "analyze_backend" | "rebuild_native_index" | "clear_index" | "create_document" | "delete_document" | "promote_retrieval_baseline" | "revert_retrieval_baseline" | "prune_search_traces" | "reindex_document" | "reindex_source" | "sync_all_sources" | "sync_source" | "reseed" | "reset";
|
|
2040
|
-
status: import("
|
|
2040
|
+
status: import("..").RAGAdminJobStatus;
|
|
2041
2041
|
startedAt: number;
|
|
2042
2042
|
finishedAt?: number | undefined;
|
|
2043
2043
|
elapsedMs?: number | undefined;
|
|
@@ -2056,8 +2056,8 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2056
2056
|
source: string;
|
|
2057
2057
|
text?: string | undefined;
|
|
2058
2058
|
kind?: string | undefined;
|
|
2059
|
-
format?: import("
|
|
2060
|
-
chunkStrategy?: import("
|
|
2059
|
+
format?: import("..").RAGContentFormat | undefined;
|
|
2060
|
+
chunkStrategy?: import("..").RAGChunkingStrategy | undefined;
|
|
2061
2061
|
chunkSize?: number | undefined;
|
|
2062
2062
|
chunkCount?: number | undefined;
|
|
2063
2063
|
createdAt?: number | undefined;
|
|
@@ -2070,32 +2070,32 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2070
2070
|
} | undefined;
|
|
2071
2071
|
} | undefined;
|
|
2072
2072
|
} | null>;
|
|
2073
|
-
loadBackends: () => Promise<import("
|
|
2074
|
-
loadSyncSources: () => Promise<import("
|
|
2075
|
-
rebuildNativeIndex: () => Promise<import("
|
|
2076
|
-
reindexDocument: (id: string) => Promise<import("
|
|
2077
|
-
reindexSource: (source: string) => Promise<import("
|
|
2078
|
-
reseed: () => Promise<import("
|
|
2079
|
-
reset: () => Promise<import("
|
|
2073
|
+
loadBackends: () => Promise<import("..").RAGBackendsResponse>;
|
|
2074
|
+
loadSyncSources: () => Promise<import("..").RAGSyncResponse>;
|
|
2075
|
+
rebuildNativeIndex: () => Promise<import("..").RAGMutationResponse>;
|
|
2076
|
+
reindexDocument: (id: string) => Promise<import("..").RAGMutationResponse>;
|
|
2077
|
+
reindexSource: (source: string) => Promise<import("..").RAGMutationResponse>;
|
|
2078
|
+
reseed: () => Promise<import("..").RAGMutationResponse>;
|
|
2079
|
+
reset: () => Promise<import("..").RAGMutationResponse>;
|
|
2080
2080
|
resetState: () => void;
|
|
2081
|
-
syncAllSources: (options?: import("
|
|
2081
|
+
syncAllSources: (options?: import("..").RAGSyncRunOptions) => Promise<{
|
|
2082
2082
|
ok: true;
|
|
2083
|
-
source: import("
|
|
2083
|
+
source: import("..").RAGSyncSourceRecord;
|
|
2084
2084
|
partial?: boolean;
|
|
2085
2085
|
} | {
|
|
2086
2086
|
ok: true;
|
|
2087
|
-
sources: import("
|
|
2087
|
+
sources: import("..").RAGSyncSourceRecord[];
|
|
2088
2088
|
partial?: boolean;
|
|
2089
2089
|
failedSourceIds?: string[];
|
|
2090
2090
|
errorsBySource?: Record<string, string>;
|
|
2091
2091
|
}>;
|
|
2092
|
-
syncSource: (id: string, options?: import("
|
|
2092
|
+
syncSource: (id: string, options?: import("..").RAGSyncRunOptions) => Promise<{
|
|
2093
2093
|
ok: true;
|
|
2094
|
-
source: import("
|
|
2094
|
+
source: import("..").RAGSyncSourceRecord;
|
|
2095
2095
|
partial?: boolean;
|
|
2096
2096
|
} | {
|
|
2097
2097
|
ok: true;
|
|
2098
|
-
sources: import("
|
|
2098
|
+
sources: import("..").RAGSyncSourceRecord[];
|
|
2099
2099
|
partial?: boolean;
|
|
2100
2100
|
failedSourceIds?: string[];
|
|
2101
2101
|
errorsBySource?: Record<string, string>;
|
|
@@ -2106,7 +2106,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2106
2106
|
id: string;
|
|
2107
2107
|
label: string;
|
|
2108
2108
|
kind: "directory" | "url" | "storage" | "email" | "connector" | "custom";
|
|
2109
|
-
status: import("
|
|
2109
|
+
status: import("..").RAGSyncSourceStatus;
|
|
2110
2110
|
description?: string | undefined;
|
|
2111
2111
|
target?: string | undefined;
|
|
2112
2112
|
lastStartedAt?: number | undefined;
|
|
@@ -2152,7 +2152,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2152
2152
|
diagnostics?: {
|
|
2153
2153
|
summary: string;
|
|
2154
2154
|
entries: {
|
|
2155
|
-
code: import("
|
|
2155
|
+
code: import("..").RAGSyncSourceDiagnosticCode;
|
|
2156
2156
|
severity: "info" | "warning" | "error";
|
|
2157
2157
|
summary: string;
|
|
2158
2158
|
}[];
|
|
@@ -2179,7 +2179,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2179
2179
|
id: string;
|
|
2180
2180
|
label: string;
|
|
2181
2181
|
kind: "directory" | "url" | "storage" | "email" | "connector" | "custom";
|
|
2182
|
-
status: import("
|
|
2182
|
+
status: import("..").RAGSyncSourceStatus;
|
|
2183
2183
|
description?: string | undefined;
|
|
2184
2184
|
target?: string | undefined;
|
|
2185
2185
|
lastStartedAt?: number | undefined;
|
|
@@ -2225,7 +2225,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2225
2225
|
diagnostics?: {
|
|
2226
2226
|
summary: string;
|
|
2227
2227
|
entries: {
|
|
2228
|
-
code: import("
|
|
2228
|
+
code: import("..").RAGSyncSourceDiagnosticCode;
|
|
2229
2229
|
severity: "info" | "warning" | "error";
|
|
2230
2230
|
summary: string;
|
|
2231
2231
|
}[];
|
|
@@ -2251,13 +2251,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2251
2251
|
} | {
|
|
2252
2252
|
ok: false;
|
|
2253
2253
|
error: string;
|
|
2254
|
-
} | null, import("
|
|
2254
|
+
} | null, import("..").RAGSyncResponse | {
|
|
2255
2255
|
ok: true;
|
|
2256
2256
|
source: {
|
|
2257
2257
|
id: string;
|
|
2258
2258
|
label: string;
|
|
2259
2259
|
kind: "directory" | "url" | "storage" | "email" | "connector" | "custom";
|
|
2260
|
-
status: import("
|
|
2260
|
+
status: import("..").RAGSyncSourceStatus;
|
|
2261
2261
|
description?: string | undefined;
|
|
2262
2262
|
target?: string | undefined;
|
|
2263
2263
|
lastStartedAt?: number | undefined;
|
|
@@ -2303,7 +2303,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2303
2303
|
diagnostics?: {
|
|
2304
2304
|
summary: string;
|
|
2305
2305
|
entries: {
|
|
2306
|
-
code: import("
|
|
2306
|
+
code: import("..").RAGSyncSourceDiagnosticCode;
|
|
2307
2307
|
severity: "info" | "warning" | "error";
|
|
2308
2308
|
summary: string;
|
|
2309
2309
|
}[];
|
|
@@ -2330,7 +2330,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2330
2330
|
id: string;
|
|
2331
2331
|
label: string;
|
|
2332
2332
|
kind: "directory" | "url" | "storage" | "email" | "connector" | "custom";
|
|
2333
|
-
status: import("
|
|
2333
|
+
status: import("..").RAGSyncSourceStatus;
|
|
2334
2334
|
description?: string | undefined;
|
|
2335
2335
|
target?: string | undefined;
|
|
2336
2336
|
lastStartedAt?: number | undefined;
|
|
@@ -2376,7 +2376,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2376
2376
|
diagnostics?: {
|
|
2377
2377
|
summary: string;
|
|
2378
2378
|
entries: {
|
|
2379
|
-
code: import("
|
|
2379
|
+
code: import("..").RAGSyncSourceDiagnosticCode;
|
|
2380
2380
|
severity: "info" | "warning" | "error";
|
|
2381
2381
|
summary: string;
|
|
2382
2382
|
}[];
|
|
@@ -2409,11 +2409,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2409
2409
|
ok: boolean;
|
|
2410
2410
|
}>;
|
|
2411
2411
|
error: import("vue").Ref<string | null, string | null>;
|
|
2412
|
-
ingest: (chunks: import("
|
|
2413
|
-
ingestChunks: (chunks: import("
|
|
2414
|
-
ingestDocuments: (input: import("
|
|
2415
|
-
ingestUploads: (input: import("
|
|
2416
|
-
ingestUrls: (input: import("
|
|
2412
|
+
ingest: (chunks: import("..").RAGDocumentChunk[]) => Promise<import("..").RAGIngestResponse>;
|
|
2413
|
+
ingestChunks: (chunks: import("..").RAGDocumentChunk[]) => Promise<import("..").RAGIngestResponse>;
|
|
2414
|
+
ingestDocuments: (input: import("..").RAGDocumentIngestInput) => Promise<import("..").RAGIngestResponse>;
|
|
2415
|
+
ingestUploads: (input: import("..").RAGDocumentUploadIngestInput) => Promise<import("..").RAGIngestResponse>;
|
|
2416
|
+
ingestUrls: (input: import("..").RAGDocumentUrlIngestInput) => Promise<import("..").RAGIngestResponse>;
|
|
2417
2417
|
isIngesting: import("vue").Ref<boolean, boolean>;
|
|
2418
2418
|
lastDocumentCount: import("vue").Ref<number | null, number | null>;
|
|
2419
2419
|
lastIngestCount: import("vue").Ref<number | null, number | null>;
|
|
@@ -2422,7 +2422,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2422
2422
|
count?: number | undefined;
|
|
2423
2423
|
documentCount?: number | undefined;
|
|
2424
2424
|
error?: string | undefined;
|
|
2425
|
-
} | null, import("
|
|
2425
|
+
} | null, import("..").RAGIngestResponse | {
|
|
2426
2426
|
ok: boolean;
|
|
2427
2427
|
count?: number | undefined;
|
|
2428
2428
|
documentCount?: number | undefined;
|
|
@@ -2431,7 +2431,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2431
2431
|
reset: () => void;
|
|
2432
2432
|
};
|
|
2433
2433
|
ops: {
|
|
2434
|
-
admin: import("vue").Ref<import("
|
|
2434
|
+
admin: import("vue").Ref<import("..").RAGAdminCapabilities | undefined, import("..").RAGAdminCapabilities | undefined>;
|
|
2435
2435
|
adminActions: import("vue").Ref<{
|
|
2436
2436
|
id: string;
|
|
2437
2437
|
action: "analyze_backend" | "rebuild_native_index" | "clear_index" | "create_document" | "delete_document" | "promote_retrieval_baseline" | "revert_retrieval_baseline" | "prune_search_traces" | "reindex_document" | "reindex_source" | "sync_all_sources" | "sync_source" | "reseed" | "reset";
|
|
@@ -2442,7 +2442,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2442
2442
|
documentId?: string | undefined;
|
|
2443
2443
|
target?: string | undefined;
|
|
2444
2444
|
error?: string | undefined;
|
|
2445
|
-
}[], import("
|
|
2445
|
+
}[], import("..").RAGAdminActionRecord[] | {
|
|
2446
2446
|
id: string;
|
|
2447
2447
|
action: "analyze_backend" | "rebuild_native_index" | "clear_index" | "create_document" | "delete_document" | "promote_retrieval_baseline" | "revert_retrieval_baseline" | "prune_search_traces" | "reindex_document" | "reindex_source" | "sync_all_sources" | "sync_source" | "reseed" | "reset";
|
|
2448
2448
|
status: "completed" | "failed";
|
|
@@ -2456,29 +2456,29 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2456
2456
|
adminJobs: import("vue").Ref<{
|
|
2457
2457
|
id: string;
|
|
2458
2458
|
action: "analyze_backend" | "rebuild_native_index" | "clear_index" | "create_document" | "delete_document" | "promote_retrieval_baseline" | "revert_retrieval_baseline" | "prune_search_traces" | "reindex_document" | "reindex_source" | "sync_all_sources" | "sync_source" | "reseed" | "reset";
|
|
2459
|
-
status: import("
|
|
2459
|
+
status: import("..").RAGAdminJobStatus;
|
|
2460
2460
|
startedAt: number;
|
|
2461
2461
|
finishedAt?: number | undefined;
|
|
2462
2462
|
elapsedMs?: number | undefined;
|
|
2463
2463
|
target?: string | undefined;
|
|
2464
2464
|
error?: string | undefined;
|
|
2465
|
-
}[], import("
|
|
2465
|
+
}[], import("..").RAGAdminJobRecord[] | {
|
|
2466
2466
|
id: string;
|
|
2467
2467
|
action: "analyze_backend" | "rebuild_native_index" | "clear_index" | "create_document" | "delete_document" | "promote_retrieval_baseline" | "revert_retrieval_baseline" | "prune_search_traces" | "reindex_document" | "reindex_source" | "sync_all_sources" | "sync_source" | "reseed" | "reset";
|
|
2468
|
-
status: import("
|
|
2468
|
+
status: import("..").RAGAdminJobStatus;
|
|
2469
2469
|
startedAt: number;
|
|
2470
2470
|
finishedAt?: number | undefined;
|
|
2471
2471
|
elapsedMs?: number | undefined;
|
|
2472
2472
|
target?: string | undefined;
|
|
2473
2473
|
error?: string | undefined;
|
|
2474
2474
|
}[]>;
|
|
2475
|
-
capabilities: import("vue").Ref<import("
|
|
2476
|
-
documents: import("vue").Ref<import("
|
|
2475
|
+
capabilities: import("vue").Ref<import("..").RAGBackendCapabilities | undefined, import("..").RAGBackendCapabilities | undefined>;
|
|
2476
|
+
documents: import("vue").Ref<import("..").RAGDocumentSummary | undefined, import("..").RAGDocumentSummary | undefined>;
|
|
2477
2477
|
error: import("vue").Ref<string | null, string | null>;
|
|
2478
|
-
health: import("vue").Ref<import("
|
|
2478
|
+
health: import("vue").Ref<import("..").RAGCorpusHealth | undefined, import("..").RAGCorpusHealth | undefined>;
|
|
2479
2479
|
ingestJobs: import("vue").Ref<{
|
|
2480
2480
|
id: string;
|
|
2481
|
-
status: import("
|
|
2481
|
+
status: import("..").RAGIngestJobStatus;
|
|
2482
2482
|
startedAt: number;
|
|
2483
2483
|
finishedAt?: number | undefined;
|
|
2484
2484
|
elapsedMs?: number | undefined;
|
|
@@ -2488,9 +2488,9 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2488
2488
|
documentCount?: number | undefined;
|
|
2489
2489
|
error?: string | undefined;
|
|
2490
2490
|
extractorNames?: string[] | undefined;
|
|
2491
|
-
}[], import("
|
|
2491
|
+
}[], import("..").RAGIngestJobRecord[] | {
|
|
2492
2492
|
id: string;
|
|
2493
|
-
status: import("
|
|
2493
|
+
status: import("..").RAGIngestJobStatus;
|
|
2494
2494
|
startedAt: number;
|
|
2495
2495
|
finishedAt?: number | undefined;
|
|
2496
2496
|
elapsedMs?: number | undefined;
|
|
@@ -2502,17 +2502,17 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2502
2502
|
extractorNames?: string[] | undefined;
|
|
2503
2503
|
}[]>;
|
|
2504
2504
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
2505
|
-
maintenance: import("vue").Ref<import("
|
|
2506
|
-
operations: import("vue").Ref<import("
|
|
2507
|
-
readiness: import("vue").Ref<import("
|
|
2508
|
-
refresh: () => Promise<import("
|
|
2505
|
+
maintenance: import("vue").Ref<import("..").RAGBackendMaintenanceSummary | undefined, import("..").RAGBackendMaintenanceSummary | undefined>;
|
|
2506
|
+
operations: import("vue").Ref<import("..").RAGOperationsResponse | undefined, import("..").RAGOperationsResponse | undefined>;
|
|
2507
|
+
readiness: import("vue").Ref<import("..").RAGExtractorReadiness | undefined, import("..").RAGExtractorReadiness | undefined>;
|
|
2508
|
+
refresh: () => Promise<import("..").RAGOperationsResponse>;
|
|
2509
2509
|
reset: () => void;
|
|
2510
|
-
status: import("vue").Ref<import("
|
|
2510
|
+
status: import("vue").Ref<import("..").RAGVectorStoreStatus | undefined, import("..").RAGVectorStoreStatus | undefined>;
|
|
2511
2511
|
syncSources: import("vue").Ref<{
|
|
2512
2512
|
id: string;
|
|
2513
2513
|
label: string;
|
|
2514
2514
|
kind: "directory" | "url" | "storage" | "email" | "connector" | "custom";
|
|
2515
|
-
status: import("
|
|
2515
|
+
status: import("..").RAGSyncSourceStatus;
|
|
2516
2516
|
description?: string | undefined;
|
|
2517
2517
|
target?: string | undefined;
|
|
2518
2518
|
lastStartedAt?: number | undefined;
|
|
@@ -2558,7 +2558,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2558
2558
|
diagnostics?: {
|
|
2559
2559
|
summary: string;
|
|
2560
2560
|
entries: {
|
|
2561
|
-
code: import("
|
|
2561
|
+
code: import("..").RAGSyncSourceDiagnosticCode;
|
|
2562
2562
|
severity: "info" | "warning" | "error";
|
|
2563
2563
|
summary: string;
|
|
2564
2564
|
}[];
|
|
@@ -2577,11 +2577,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2577
2577
|
} | undefined;
|
|
2578
2578
|
} | undefined;
|
|
2579
2579
|
metadata?: Record<string, unknown> | undefined;
|
|
2580
|
-
}[], import("
|
|
2580
|
+
}[], import("..").RAGSyncSourceRecord[] | {
|
|
2581
2581
|
id: string;
|
|
2582
2582
|
label: string;
|
|
2583
2583
|
kind: "directory" | "url" | "storage" | "email" | "connector" | "custom";
|
|
2584
|
-
status: import("
|
|
2584
|
+
status: import("..").RAGSyncSourceStatus;
|
|
2585
2585
|
description?: string | undefined;
|
|
2586
2586
|
target?: string | undefined;
|
|
2587
2587
|
lastStartedAt?: number | undefined;
|
|
@@ -2627,7 +2627,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2627
2627
|
diagnostics?: {
|
|
2628
2628
|
summary: string;
|
|
2629
2629
|
entries: {
|
|
2630
|
-
code: import("
|
|
2630
|
+
code: import("..").RAGSyncSourceDiagnosticCode;
|
|
2631
2631
|
severity: "info" | "warning" | "error";
|
|
2632
2632
|
summary: string;
|
|
2633
2633
|
}[];
|
|
@@ -2654,20 +2654,26 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2654
2654
|
isSearching: import("vue").Ref<boolean, boolean>;
|
|
2655
2655
|
lastRequest: import("vue").Ref<{
|
|
2656
2656
|
query: string;
|
|
2657
|
-
|
|
2657
|
+
topK?: number | undefined;
|
|
2658
|
+
candidateTopK?: number | undefined;
|
|
2659
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
2660
|
+
nativeQueryMultiplier?: number | undefined;
|
|
2658
2661
|
nativeCandidateLimit?: number | undefined;
|
|
2659
2662
|
nativeMaxBackfills?: number | undefined;
|
|
2660
2663
|
nativeMinResults?: number | undefined;
|
|
2661
2664
|
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
2662
2665
|
filter?: Record<string, unknown> | undefined;
|
|
2663
|
-
|
|
2664
|
-
|
|
2666
|
+
scoreThreshold?: number | undefined;
|
|
2667
|
+
queryTransform?: import("..").RAGQueryTransformer | {
|
|
2668
|
+
transform: import("..").RAGQueryTransformer;
|
|
2665
2669
|
defaultModel?: string | undefined;
|
|
2666
2670
|
providerName?: string | undefined;
|
|
2667
2671
|
} | undefined;
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2672
|
+
retrievalStrategy?: import("..").RAGRetrievalStrategySelector | {
|
|
2673
|
+
select: import("..").RAGRetrievalStrategySelector;
|
|
2674
|
+
providerName?: string | undefined;
|
|
2675
|
+
defaultLabel?: string | undefined;
|
|
2676
|
+
} | undefined;
|
|
2671
2677
|
retrieval?: import("@absolutejs/ai").RAGHybridRetrievalMode | {
|
|
2672
2678
|
mode?: import("@absolutejs/ai").RAGHybridRetrievalMode | undefined;
|
|
2673
2679
|
lexicalTopK?: number | undefined;
|
|
@@ -2675,43 +2681,43 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2675
2681
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
2676
2682
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
2677
2683
|
mmrLambda?: number | undefined;
|
|
2678
|
-
fusion?: import("
|
|
2684
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
2679
2685
|
fusionConstant?: number | undefined;
|
|
2680
2686
|
lexicalWeight?: number | undefined;
|
|
2681
2687
|
vectorWeight?: number | undefined;
|
|
2682
|
-
nativeQueryProfile?: import("
|
|
2688
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
2683
2689
|
nativeCandidateLimit?: number | undefined;
|
|
2684
2690
|
nativeMaxBackfills?: number | undefined;
|
|
2685
2691
|
nativeMinResults?: number | undefined;
|
|
2686
2692
|
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
2687
2693
|
} | undefined;
|
|
2688
2694
|
model?: string | undefined;
|
|
2689
|
-
nativeQueryMultiplier?: number | undefined;
|
|
2690
|
-
retrievalStrategy?: import("@absolutejs/ai").RAGRetrievalStrategySelector | {
|
|
2691
|
-
select: import("@absolutejs/ai").RAGRetrievalStrategySelector;
|
|
2692
|
-
providerName?: string | undefined;
|
|
2693
|
-
defaultLabel?: string | undefined;
|
|
2694
|
-
} | undefined;
|
|
2695
2695
|
includeTrace?: boolean | undefined;
|
|
2696
2696
|
persistTrace?: boolean | undefined;
|
|
2697
2697
|
traceGroupKey?: string | undefined;
|
|
2698
2698
|
traceTags?: string[] | undefined;
|
|
2699
|
-
} | null, import("
|
|
2699
|
+
} | null, import("..").RAGSearchRequest | {
|
|
2700
2700
|
query: string;
|
|
2701
|
-
|
|
2701
|
+
topK?: number | undefined;
|
|
2702
|
+
candidateTopK?: number | undefined;
|
|
2703
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
2704
|
+
nativeQueryMultiplier?: number | undefined;
|
|
2702
2705
|
nativeCandidateLimit?: number | undefined;
|
|
2703
2706
|
nativeMaxBackfills?: number | undefined;
|
|
2704
2707
|
nativeMinResults?: number | undefined;
|
|
2705
2708
|
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
2706
2709
|
filter?: Record<string, unknown> | undefined;
|
|
2707
|
-
|
|
2708
|
-
|
|
2710
|
+
scoreThreshold?: number | undefined;
|
|
2711
|
+
queryTransform?: import("..").RAGQueryTransformer | {
|
|
2712
|
+
transform: import("..").RAGQueryTransformer;
|
|
2709
2713
|
defaultModel?: string | undefined;
|
|
2710
2714
|
providerName?: string | undefined;
|
|
2711
2715
|
} | undefined;
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2716
|
+
retrievalStrategy?: import("..").RAGRetrievalStrategySelector | {
|
|
2717
|
+
select: import("..").RAGRetrievalStrategySelector;
|
|
2718
|
+
providerName?: string | undefined;
|
|
2719
|
+
defaultLabel?: string | undefined;
|
|
2720
|
+
} | undefined;
|
|
2715
2721
|
retrieval?: import("@absolutejs/ai").RAGHybridRetrievalMode | {
|
|
2716
2722
|
mode?: import("@absolutejs/ai").RAGHybridRetrievalMode | undefined;
|
|
2717
2723
|
lexicalTopK?: number | undefined;
|
|
@@ -2719,23 +2725,17 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2719
2725
|
sourceBalanceStrategy?: import("@absolutejs/ai").RAGSourceBalanceStrategy | undefined;
|
|
2720
2726
|
diversityStrategy?: import("@absolutejs/ai").RAGDiversityStrategy | undefined;
|
|
2721
2727
|
mmrLambda?: number | undefined;
|
|
2722
|
-
fusion?: import("
|
|
2728
|
+
fusion?: import("..").RAGHybridFusionMode | undefined;
|
|
2723
2729
|
fusionConstant?: number | undefined;
|
|
2724
2730
|
lexicalWeight?: number | undefined;
|
|
2725
2731
|
vectorWeight?: number | undefined;
|
|
2726
|
-
nativeQueryProfile?: import("
|
|
2732
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
2727
2733
|
nativeCandidateLimit?: number | undefined;
|
|
2728
2734
|
nativeMaxBackfills?: number | undefined;
|
|
2729
2735
|
nativeMinResults?: number | undefined;
|
|
2730
2736
|
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
2731
2737
|
} | undefined;
|
|
2732
2738
|
model?: string | undefined;
|
|
2733
|
-
nativeQueryMultiplier?: number | undefined;
|
|
2734
|
-
retrievalStrategy?: import("@absolutejs/ai").RAGRetrievalStrategySelector | {
|
|
2735
|
-
select: import("@absolutejs/ai").RAGRetrievalStrategySelector;
|
|
2736
|
-
providerName?: string | undefined;
|
|
2737
|
-
defaultLabel?: string | undefined;
|
|
2738
|
-
} | undefined;
|
|
2739
2739
|
includeTrace?: boolean | undefined;
|
|
2740
2740
|
persistTrace?: boolean | undefined;
|
|
2741
2741
|
traceGroupKey?: string | undefined;
|
|
@@ -2801,72 +2801,72 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2801
2801
|
}[]>;
|
|
2802
2802
|
search: (input: {
|
|
2803
2803
|
query: string;
|
|
2804
|
-
|
|
2804
|
+
topK?: number | undefined;
|
|
2805
|
+
candidateTopK?: number | undefined;
|
|
2806
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
2807
|
+
nativeQueryMultiplier?: number | undefined;
|
|
2805
2808
|
nativeCandidateLimit?: number | undefined;
|
|
2806
2809
|
nativeMaxBackfills?: number | undefined;
|
|
2807
2810
|
nativeMinResults?: number | undefined;
|
|
2808
2811
|
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
2809
2812
|
filter?: Record<string, unknown> | undefined;
|
|
2810
|
-
queryTransform?: import("@absolutejs/ai").RAGQueryTransformProviderLike | undefined;
|
|
2811
|
-
candidateTopK?: number | undefined;
|
|
2812
|
-
topK?: number | undefined;
|
|
2813
2813
|
scoreThreshold?: number | undefined;
|
|
2814
|
-
|
|
2814
|
+
queryTransform?: import("..").RAGQueryTransformProviderLike | undefined;
|
|
2815
|
+
retrievalStrategy?: import("..").RAGRetrievalStrategyProviderLike | undefined;
|
|
2816
|
+
retrieval?: (import("..").RAGHybridSearchOptions | import("@absolutejs/ai").RAGHybridRetrievalMode) | undefined;
|
|
2815
2817
|
model?: string | undefined;
|
|
2816
|
-
nativeQueryMultiplier?: number | undefined;
|
|
2817
2818
|
persistTrace?: boolean | undefined;
|
|
2818
2819
|
traceGroupKey?: string | undefined;
|
|
2819
2820
|
traceTags?: string[] | undefined;
|
|
2820
|
-
retrievalStrategy?: import("@absolutejs/ai").RAGRetrievalStrategyProviderLike | undefined;
|
|
2821
2821
|
}) => Promise<import("@absolutejs/ai").RAGSource[]>;
|
|
2822
2822
|
searchWithTrace: (input: {
|
|
2823
2823
|
query: string;
|
|
2824
|
-
|
|
2824
|
+
topK?: number | undefined;
|
|
2825
|
+
candidateTopK?: number | undefined;
|
|
2826
|
+
nativeQueryProfile?: import("..").RAGNativeQueryProfile | undefined;
|
|
2827
|
+
nativeQueryMultiplier?: number | undefined;
|
|
2825
2828
|
nativeCandidateLimit?: number | undefined;
|
|
2826
2829
|
nativeMaxBackfills?: number | undefined;
|
|
2827
2830
|
nativeMinResults?: number | undefined;
|
|
2828
2831
|
nativeFillPolicy?: "strict_topk" | "satisfy_min_results" | undefined;
|
|
2829
2832
|
filter?: Record<string, unknown> | undefined;
|
|
2830
|
-
queryTransform?: import("@absolutejs/ai").RAGQueryTransformProviderLike | undefined;
|
|
2831
|
-
candidateTopK?: number | undefined;
|
|
2832
|
-
topK?: number | undefined;
|
|
2833
2833
|
scoreThreshold?: number | undefined;
|
|
2834
|
-
|
|
2834
|
+
queryTransform?: import("..").RAGQueryTransformProviderLike | undefined;
|
|
2835
|
+
retrievalStrategy?: import("..").RAGRetrievalStrategyProviderLike | undefined;
|
|
2836
|
+
retrieval?: (import("..").RAGHybridSearchOptions | import("@absolutejs/ai").RAGHybridRetrievalMode) | undefined;
|
|
2835
2837
|
model?: string | undefined;
|
|
2836
|
-
nativeQueryMultiplier?: number | undefined;
|
|
2837
2838
|
persistTrace?: boolean | undefined;
|
|
2838
2839
|
traceGroupKey?: string | undefined;
|
|
2839
2840
|
traceTags?: string[] | undefined;
|
|
2840
|
-
retrievalStrategy?: import("@absolutejs/ai").RAGRetrievalStrategyProviderLike | undefined;
|
|
2841
2841
|
}) => Promise<import("../client").RAGDetailedSearchResponse>;
|
|
2842
2842
|
trace: import("vue").Ref<import("@absolutejs/ai").RAGRetrievalTrace | undefined, import("@absolutejs/ai").RAGRetrievalTrace | undefined>;
|
|
2843
2843
|
};
|
|
2844
2844
|
sources: {
|
|
2845
|
-
citationReferenceMap: import("vue").ComputedRef<import("
|
|
2846
|
-
chunkGraph: import("vue").ComputedRef<import("
|
|
2845
|
+
citationReferenceMap: import("vue").ComputedRef<import("..").RAGCitationReferenceMap>;
|
|
2846
|
+
chunkGraph: import("vue").ComputedRef<import("..").RAGChunkGraph>;
|
|
2847
2847
|
hasSources: import("vue").ComputedRef<boolean>;
|
|
2848
2848
|
latestAssistantMessage: import("vue").ComputedRef<import("@absolutejs/ai").AIMessage | undefined>;
|
|
2849
|
-
navigationForChunk: (chunkId?: string | null) => import("
|
|
2850
|
-
sectionDiagnostics: import("vue").ComputedRef<import("
|
|
2851
|
-
sourceGroups: import("vue").ComputedRef<import("
|
|
2849
|
+
navigationForChunk: (chunkId?: string | null) => import("..").RAGChunkGraphNavigation;
|
|
2850
|
+
sectionDiagnostics: import("vue").ComputedRef<import("..").RAGSectionRetrievalDiagnostic[]>;
|
|
2851
|
+
sourceGroups: import("vue").ComputedRef<import("..").RAGSourceGroup[]>;
|
|
2852
2852
|
sources: import("vue").ComputedRef<import("@absolutejs/ai").RAGSource[]>;
|
|
2853
|
-
sourceSummaries: import("vue").ComputedRef<import("
|
|
2853
|
+
sourceSummaries: import("vue").ComputedRef<import("..").RAGSourceSummary[]>;
|
|
2854
2854
|
};
|
|
2855
2855
|
status: {
|
|
2856
|
-
capabilities: import("vue").Ref<import("
|
|
2856
|
+
capabilities: import("vue").Ref<import("..").RAGBackendCapabilities | undefined, import("..").RAGBackendCapabilities | undefined>;
|
|
2857
2857
|
error: import("vue").Ref<string | null, string | null>;
|
|
2858
2858
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
2859
|
-
refresh: () => Promise<import("
|
|
2859
|
+
refresh: () => Promise<import("..").RAGStatusResponse>;
|
|
2860
2860
|
reset: () => void;
|
|
2861
|
-
status: import("vue").Ref<import("
|
|
2861
|
+
status: import("vue").Ref<import("..").RAGVectorStoreStatus | undefined, import("..").RAGVectorStoreStatus | undefined>;
|
|
2862
2862
|
};
|
|
2863
2863
|
stream: {
|
|
2864
|
-
state: import("vue").ComputedRef<import("
|
|
2865
|
-
citationReferenceMap: import("vue").ComputedRef<import("
|
|
2866
|
-
citations: import("vue").ComputedRef<import("
|
|
2867
|
-
coverage: import("vue").ComputedRef<"
|
|
2868
|
-
groundedAnswer: import("vue").ComputedRef<import("
|
|
2869
|
-
groundingReferences: import("vue").ComputedRef<import("
|
|
2864
|
+
state: import("vue").ComputedRef<import("..").RAGAnswerWorkflowState>;
|
|
2865
|
+
citationReferenceMap: import("vue").ComputedRef<import("..").RAGCitationReferenceMap>;
|
|
2866
|
+
citations: import("vue").ComputedRef<import("..").RAGCitation[]>;
|
|
2867
|
+
coverage: import("vue").ComputedRef<"grounded" | "partial" | "ungrounded">;
|
|
2868
|
+
groundedAnswer: import("vue").ComputedRef<import("..").RAGGroundedAnswer>;
|
|
2869
|
+
groundingReferences: import("vue").ComputedRef<import("..").RAGGroundingReference[]>;
|
|
2870
2870
|
hasGrounding: import("vue").ComputedRef<boolean>;
|
|
2871
2871
|
hasRetrieved: import("vue").ComputedRef<boolean>;
|
|
2872
2872
|
hasSources: import("vue").ComputedRef<boolean>;
|
|
@@ -2879,13 +2879,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2879
2879
|
latestAssistantMessage: import("vue").ComputedRef<import("@absolutejs/ai").AIMessage | undefined>;
|
|
2880
2880
|
progress: import("vue").ComputedRef<import("../presentation/presentation").RAGStreamProgress>;
|
|
2881
2881
|
query: (content: string, attachments?: import("@absolutejs/ai").AIAttachment[]) => void;
|
|
2882
|
-
retrieval: import("vue").ComputedRef<import("
|
|
2883
|
-
sourceGroups: import("vue").ComputedRef<import("
|
|
2884
|
-
sourceSummaries: import("vue").ComputedRef<import("
|
|
2882
|
+
retrieval: import("vue").ComputedRef<import("..").RAGRetrievedState | null>;
|
|
2883
|
+
sourceGroups: import("vue").ComputedRef<import("..").RAGSourceGroup[]>;
|
|
2884
|
+
sourceSummaries: import("vue").ComputedRef<import("..").RAGSourceSummary[]>;
|
|
2885
2885
|
sources: import("vue").ComputedRef<import("@absolutejs/ai").RAGSource[]>;
|
|
2886
|
-
stage: import("vue").ComputedRef<import("
|
|
2886
|
+
stage: import("vue").ComputedRef<import("..").RAGStreamStage>;
|
|
2887
2887
|
ungroundedReferenceNumbers: import("vue").ComputedRef<number[]>;
|
|
2888
|
-
workflow: import("vue").ComputedRef<import("
|
|
2888
|
+
workflow: import("vue").ComputedRef<import("..").RAGAnswerWorkflowState>;
|
|
2889
2889
|
branch: (messageId: string, content: string) => void;
|
|
2890
2890
|
cancel: () => void;
|
|
2891
2891
|
destroy: () => void;
|
|
@@ -2895,12 +2895,12 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2895
2895
|
send: (content: string, attachments?: import("@absolutejs/ai").AIAttachment[]) => void;
|
|
2896
2896
|
};
|
|
2897
2897
|
workflow: {
|
|
2898
|
-
state: import("vue").ComputedRef<import("
|
|
2899
|
-
citationReferenceMap: import("vue").ComputedRef<import("
|
|
2900
|
-
citations: import("vue").ComputedRef<import("
|
|
2901
|
-
coverage: import("vue").ComputedRef<"
|
|
2902
|
-
groundedAnswer: import("vue").ComputedRef<import("
|
|
2903
|
-
groundingReferences: import("vue").ComputedRef<import("
|
|
2898
|
+
state: import("vue").ComputedRef<import("..").RAGAnswerWorkflowState>;
|
|
2899
|
+
citationReferenceMap: import("vue").ComputedRef<import("..").RAGCitationReferenceMap>;
|
|
2900
|
+
citations: import("vue").ComputedRef<import("..").RAGCitation[]>;
|
|
2901
|
+
coverage: import("vue").ComputedRef<"grounded" | "partial" | "ungrounded">;
|
|
2902
|
+
groundedAnswer: import("vue").ComputedRef<import("..").RAGGroundedAnswer>;
|
|
2903
|
+
groundingReferences: import("vue").ComputedRef<import("..").RAGGroundingReference[]>;
|
|
2904
2904
|
hasGrounding: import("vue").ComputedRef<boolean>;
|
|
2905
2905
|
hasRetrieved: import("vue").ComputedRef<boolean>;
|
|
2906
2906
|
hasSources: import("vue").ComputedRef<boolean>;
|
|
@@ -2913,13 +2913,13 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
|
|
|
2913
2913
|
latestAssistantMessage: import("vue").ComputedRef<import("@absolutejs/ai").AIMessage | undefined>;
|
|
2914
2914
|
progress: import("vue").ComputedRef<import("../presentation/presentation").RAGStreamProgress>;
|
|
2915
2915
|
query: (content: string, attachments?: import("@absolutejs/ai").AIAttachment[]) => void;
|
|
2916
|
-
retrieval: import("vue").ComputedRef<import("
|
|
2917
|
-
sourceGroups: import("vue").ComputedRef<import("
|
|
2918
|
-
sourceSummaries: import("vue").ComputedRef<import("
|
|
2916
|
+
retrieval: import("vue").ComputedRef<import("..").RAGRetrievedState | null>;
|
|
2917
|
+
sourceGroups: import("vue").ComputedRef<import("..").RAGSourceGroup[]>;
|
|
2918
|
+
sourceSummaries: import("vue").ComputedRef<import("..").RAGSourceSummary[]>;
|
|
2919
2919
|
sources: import("vue").ComputedRef<import("@absolutejs/ai").RAGSource[]>;
|
|
2920
|
-
stage: import("vue").ComputedRef<import("
|
|
2920
|
+
stage: import("vue").ComputedRef<import("..").RAGStreamStage>;
|
|
2921
2921
|
ungroundedReferenceNumbers: import("vue").ComputedRef<number[]>;
|
|
2922
|
-
workflow: import("vue").ComputedRef<import("
|
|
2922
|
+
workflow: import("vue").ComputedRef<import("..").RAGAnswerWorkflowState>;
|
|
2923
2923
|
branch: (messageId: string, content: string) => void;
|
|
2924
2924
|
cancel: () => void;
|
|
2925
2925
|
destroy: () => void;
|