@absolutejs/absolute 0.19.0-beta.614 → 0.19.0-beta.616

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/ai/client/index.js +92 -43
  2. package/dist/ai/client/index.js.map +7 -7
  3. package/dist/ai/client/ui.js +37 -1
  4. package/dist/ai/client/ui.js.map +3 -3
  5. package/dist/ai/index.js +1271 -237
  6. package/dist/ai/index.js.map +17 -14
  7. package/dist/ai/rag/quality.js +16 -3
  8. package/dist/ai/rag/quality.js.map +4 -4
  9. package/dist/ai/rag/ui.js +37 -1
  10. package/dist/ai/rag/ui.js.map +3 -3
  11. package/dist/ai-client/angular/ai/index.js +51 -40
  12. package/dist/ai-client/react/ai/index.js +53 -42
  13. package/dist/ai-client/vue/ai/index.js +51 -40
  14. package/dist/angular/ai/index.js +78 -42
  15. package/dist/angular/ai/index.js.map +6 -6
  16. package/dist/angular/index.js +2 -2
  17. package/dist/angular/index.js.map +1 -1
  18. package/dist/angular/server.js +2 -2
  19. package/dist/angular/server.js.map +1 -1
  20. package/dist/build.js +2 -2
  21. package/dist/build.js.map +1 -1
  22. package/dist/index.js +2 -2
  23. package/dist/index.js.map +1 -1
  24. package/dist/react/ai/index.js +96 -47
  25. package/dist/react/ai/index.js.map +9 -9
  26. package/dist/src/ai/client/actions.d.ts +1 -1
  27. package/dist/src/ai/index.d.ts +2 -2
  28. package/dist/src/ai/protocol.d.ts +1 -1
  29. package/dist/src/ai/rag/accessControl.d.ts +2 -0
  30. package/dist/src/ai/rag/chat.d.ts +21 -23
  31. package/dist/src/ai/rag/collection.d.ts +2 -1
  32. package/dist/src/ai/rag/index.d.ts +5 -2
  33. package/dist/src/ai/rag/ingestion.d.ts +12 -3
  34. package/dist/src/ai/rag/jobState.d.ts +2 -0
  35. package/dist/src/ai/rag/retrievalStrategies.d.ts +6 -0
  36. package/dist/src/react/ai/useRAG.d.ts +2 -0
  37. package/dist/src/svelte/ai/createRAG.d.ts +2 -0
  38. package/dist/src/vue/ai/useRAG.d.ts +44 -0
  39. package/dist/src/vue/ai/useRAGChunkPreview.d.ts +4 -0
  40. package/dist/src/vue/ai/useRAGDocuments.d.ts +4 -0
  41. package/dist/src/vue/ai/useRAGEvaluate.d.ts +20 -0
  42. package/dist/src/vue/ai/useRAGIndexAdmin.d.ts +2 -0
  43. package/dist/src/vue/ai/useRAGSearch.d.ts +12 -0
  44. package/dist/svelte/ai/index.js +92 -43
  45. package/dist/svelte/ai/index.js.map +7 -7
  46. package/dist/types/ai.d.ts +199 -1
  47. package/dist/vue/ai/index.js +92 -43
  48. package/dist/vue/ai/index.js.map +7 -7
  49. package/package.json +7 -7
@@ -22,6 +22,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
22
22
  kind?: string | undefined;
23
23
  id: string;
24
24
  title: string;
25
+ corpusKey?: string | undefined;
25
26
  format?: import("../..").RAGContentFormat | undefined;
26
27
  chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
27
28
  chunkSize?: number | undefined;
@@ -38,6 +39,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
38
39
  normalizedText: string;
39
40
  chunks: {
40
41
  chunkId: string;
42
+ corpusKey?: string | undefined;
41
43
  text: string;
42
44
  title?: string | undefined;
43
45
  source?: string | undefined;
@@ -79,6 +81,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
79
81
  kind?: string | undefined;
80
82
  id: string;
81
83
  title: string;
84
+ corpusKey?: string | undefined;
82
85
  format?: import("../..").RAGContentFormat | undefined;
83
86
  chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
84
87
  chunkSize?: number | undefined;
@@ -95,6 +98,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
95
98
  normalizedText: string;
96
99
  chunks: {
97
100
  chunkId: string;
101
+ corpusKey?: string | undefined;
98
102
  text: string;
99
103
  title?: string | undefined;
100
104
  source?: string | undefined;
@@ -146,6 +150,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
146
150
  };
147
151
  documents: {
148
152
  documents: import("vue").Ref<{
153
+ corpusKey?: string | undefined;
149
154
  id: string;
150
155
  title: string;
151
156
  source: string;
@@ -164,6 +169,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
164
169
  provenanceLabel?: string | undefined;
165
170
  } | undefined;
166
171
  }[], import("../..").RAGIndexedDocument[] | {
172
+ corpusKey?: string | undefined;
167
173
  id: string;
168
174
  title: string;
169
175
  source: string;
@@ -187,6 +193,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
187
193
  lastResponse: import("vue").Ref<{
188
194
  ok: true;
189
195
  documents: {
196
+ corpusKey?: string | undefined;
190
197
  id: string;
191
198
  title: string;
192
199
  source: string;
@@ -209,6 +216,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
209
216
  } | null, import("../..").RAGDocumentsResponse | {
210
217
  ok: true;
211
218
  documents: {
219
+ corpusKey?: string | undefined;
212
220
  id: string;
213
221
  title: string;
214
222
  source: string;
@@ -241,6 +249,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
241
249
  cases: {
242
250
  id: string;
243
251
  query: string;
252
+ corpusKey?: string | undefined;
244
253
  topK?: number | undefined;
245
254
  model?: string | undefined;
246
255
  scoreThreshold?: number | undefined;
@@ -284,6 +293,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
284
293
  cases: {
285
294
  id: string;
286
295
  query: string;
296
+ corpusKey?: string | undefined;
287
297
  topK?: number | undefined;
288
298
  model?: string | undefined;
289
299
  scoreThreshold?: number | undefined;
@@ -326,8 +336,10 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
326
336
  } | null>;
327
337
  lastResponse: import("vue").Ref<{
328
338
  ok: true;
339
+ corpusKeys?: string[] | undefined;
329
340
  cases: {
330
341
  caseId: string;
342
+ corpusKey?: string | undefined;
331
343
  query: string;
332
344
  label?: string | undefined;
333
345
  status: "pass" | "partial" | "fail";
@@ -361,8 +373,10 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
361
373
  passingRate: number;
362
374
  } | null, import("../..").RAGEvaluationResponse | {
363
375
  ok: true;
376
+ corpusKeys?: string[] | undefined;
364
377
  cases: {
365
378
  caseId: string;
379
+ corpusKey?: string | undefined;
366
380
  query: string;
367
381
  label?: string | undefined;
368
382
  status: "pass" | "partial" | "fail";
@@ -420,8 +434,10 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
420
434
  elapsedMs: number;
421
435
  response: {
422
436
  ok: true;
437
+ corpusKeys?: string[] | undefined;
423
438
  cases: {
424
439
  caseId: string;
440
+ corpusKey?: string | undefined;
425
441
  query: string;
426
442
  label?: string | undefined;
427
443
  status: "pass" | "partial" | "fail";
@@ -473,6 +489,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
473
489
  input?: number | undefined;
474
490
  embed?: number | undefined;
475
491
  query_transform?: number | undefined;
492
+ routing?: number | undefined;
476
493
  vector_search?: number | undefined;
477
494
  lexical_search?: number | undefined;
478
495
  fusion?: number | undefined;
@@ -485,6 +502,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
485
502
  } | undefined;
486
503
  caseTraceSnapshots?: {
487
504
  caseId: string;
505
+ corpusKey?: string | undefined;
488
506
  label?: string | undefined;
489
507
  query: string;
490
508
  status: import("../..").RAGEvaluationCaseResult["status"];
@@ -536,6 +554,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
536
554
  input?: number | undefined;
537
555
  embed?: number | undefined;
538
556
  query_transform?: number | undefined;
557
+ routing?: number | undefined;
539
558
  vector_search?: number | undefined;
540
559
  lexical_search?: number | undefined;
541
560
  fusion?: number | undefined;
@@ -549,6 +568,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
549
568
  input?: number | undefined;
550
569
  embed?: number | undefined;
551
570
  query_transform?: number | undefined;
571
+ routing?: number | undefined;
552
572
  vector_search?: number | undefined;
553
573
  lexical_search?: number | undefined;
554
574
  fusion?: number | undefined;
@@ -570,8 +590,10 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
570
590
  elapsedMs: number;
571
591
  response: {
572
592
  ok: true;
593
+ corpusKeys?: string[] | undefined;
573
594
  cases: {
574
595
  caseId: string;
596
+ corpusKey?: string | undefined;
575
597
  query: string;
576
598
  label?: string | undefined;
577
599
  status: "pass" | "partial" | "fail";
@@ -623,6 +645,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
623
645
  input?: number | undefined;
624
646
  embed?: number | undefined;
625
647
  query_transform?: number | undefined;
648
+ routing?: number | undefined;
626
649
  vector_search?: number | undefined;
627
650
  lexical_search?: number | undefined;
628
651
  fusion?: number | undefined;
@@ -635,6 +658,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
635
658
  } | undefined;
636
659
  caseTraceSnapshots?: {
637
660
  caseId: string;
661
+ corpusKey?: string | undefined;
638
662
  label?: string | undefined;
639
663
  query: string;
640
664
  status: import("../..").RAGEvaluationCaseResult["status"];
@@ -686,6 +710,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
686
710
  input?: number | undefined;
687
711
  embed?: number | undefined;
688
712
  query_transform?: number | undefined;
713
+ routing?: number | undefined;
689
714
  vector_search?: number | undefined;
690
715
  lexical_search?: number | undefined;
691
716
  fusion?: number | undefined;
@@ -699,6 +724,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
699
724
  input?: number | undefined;
700
725
  embed?: number | undefined;
701
726
  query_transform?: number | undefined;
727
+ routing?: number | undefined;
702
728
  vector_search?: number | undefined;
703
729
  lexical_search?: number | undefined;
704
730
  fusion?: number | undefined;
@@ -720,6 +746,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
720
746
  cases: {
721
747
  id: string;
722
748
  query: string;
749
+ corpusKey?: string | undefined;
723
750
  topK?: number | undefined;
724
751
  model?: string | undefined;
725
752
  scoreThreshold?: number | undefined;
@@ -769,6 +796,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
769
796
  cases: {
770
797
  id: string;
771
798
  query: string;
799
+ corpusKey?: string | undefined;
772
800
  topK?: number | undefined;
773
801
  model?: string | undefined;
774
802
  scoreThreshold?: number | undefined;
@@ -980,6 +1008,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
980
1008
  elapsedMs: number;
981
1009
  }> | undefined;
982
1010
  document?: {
1011
+ corpusKey?: string | undefined;
983
1012
  id: string;
984
1013
  title: string;
985
1014
  source: string;
@@ -1012,6 +1041,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1012
1041
  elapsedMs: number;
1013
1042
  }> | undefined;
1014
1043
  document?: {
1044
+ corpusKey?: string | undefined;
1015
1045
  id: string;
1016
1046
  title: string;
1017
1047
  source: string;
@@ -1316,6 +1346,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1316
1346
  defaultModel?: string | undefined;
1317
1347
  providerName?: string | undefined;
1318
1348
  } | undefined;
1349
+ retrievalStrategy?: import("../..").RAGRetrievalStrategySelector | {
1350
+ select: import("../..").RAGRetrievalStrategySelector;
1351
+ providerName?: string | undefined;
1352
+ defaultLabel?: string | undefined;
1353
+ } | undefined;
1319
1354
  retrieval?: import("../..").RAGHybridRetrievalMode | {
1320
1355
  mode?: import("../..").RAGHybridRetrievalMode | undefined;
1321
1356
  lexicalTopK?: number | undefined;
@@ -1344,6 +1379,11 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1344
1379
  defaultModel?: string | undefined;
1345
1380
  providerName?: string | undefined;
1346
1381
  } | undefined;
1382
+ retrievalStrategy?: import("../..").RAGRetrievalStrategySelector | {
1383
+ select: import("../..").RAGRetrievalStrategySelector;
1384
+ providerName?: string | undefined;
1385
+ defaultLabel?: string | undefined;
1386
+ } | undefined;
1347
1387
  retrieval?: import("../..").RAGHybridRetrievalMode | {
1348
1388
  mode?: import("../..").RAGHybridRetrievalMode | undefined;
1349
1389
  lexicalTopK?: number | undefined;
@@ -1365,6 +1405,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1365
1405
  reset: () => void;
1366
1406
  results: import("vue").Ref<{
1367
1407
  chunkId: string;
1408
+ corpusKey?: string | undefined;
1368
1409
  score: number;
1369
1410
  text: string;
1370
1411
  title?: string | undefined;
@@ -1392,6 +1433,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1392
1433
  } | undefined;
1393
1434
  }[], import("../..").RAGSource[] | {
1394
1435
  chunkId: string;
1436
+ corpusKey?: string | undefined;
1395
1437
  score: number;
1396
1438
  text: string;
1397
1439
  title?: string | undefined;
@@ -1425,6 +1467,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1425
1467
  candidateTopK?: number | undefined;
1426
1468
  scoreThreshold?: number | undefined;
1427
1469
  queryTransform?: import("../..").RAGQueryTransformProviderLike | undefined;
1470
+ retrievalStrategy?: import("../..").RAGRetrievalStrategyProviderLike | undefined;
1428
1471
  retrieval?: (import("../..").RAGHybridSearchOptions | import("../..").RAGHybridRetrievalMode) | undefined;
1429
1472
  model?: string | undefined;
1430
1473
  persistTrace?: boolean | undefined;
@@ -1438,6 +1481,7 @@ export declare const useRAG: (path: string, options?: UseRAGOptions) => {
1438
1481
  candidateTopK?: number | undefined;
1439
1482
  scoreThreshold?: number | undefined;
1440
1483
  queryTransform?: import("../..").RAGQueryTransformProviderLike | undefined;
1484
+ retrievalStrategy?: import("../..").RAGRetrievalStrategyProviderLike | undefined;
1441
1485
  retrieval?: (import("../..").RAGHybridSearchOptions | import("../..").RAGHybridRetrievalMode) | undefined;
1442
1486
  model?: string | undefined;
1443
1487
  persistTrace?: boolean | undefined;
@@ -16,6 +16,7 @@ export declare const useRAGChunkPreview: (path: string) => {
16
16
  kind?: string | undefined;
17
17
  id: string;
18
18
  title: string;
19
+ corpusKey?: string | undefined;
19
20
  format?: import("../..").RAGContentFormat | undefined;
20
21
  chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
21
22
  chunkSize?: number | undefined;
@@ -32,6 +33,7 @@ export declare const useRAGChunkPreview: (path: string) => {
32
33
  normalizedText: string;
33
34
  chunks: {
34
35
  chunkId: string;
36
+ corpusKey?: string | undefined;
35
37
  text: string;
36
38
  title?: string | undefined;
37
39
  source?: string | undefined;
@@ -73,6 +75,7 @@ export declare const useRAGChunkPreview: (path: string) => {
73
75
  kind?: string | undefined;
74
76
  id: string;
75
77
  title: string;
78
+ corpusKey?: string | undefined;
76
79
  format?: import("../..").RAGContentFormat | undefined;
77
80
  chunkStrategy?: import("../..").RAGChunkingStrategy | undefined;
78
81
  chunkSize?: number | undefined;
@@ -89,6 +92,7 @@ export declare const useRAGChunkPreview: (path: string) => {
89
92
  normalizedText: string;
90
93
  chunks: {
91
94
  chunkId: string;
95
+ corpusKey?: string | undefined;
92
96
  text: string;
93
97
  title?: string | undefined;
94
98
  source?: string | undefined;
@@ -1,6 +1,7 @@
1
1
  import type { RAGDocumentsResponse, RAGIndexedDocument } from '../../../types/ai';
2
2
  export declare const useRAGDocuments: (path: string) => {
3
3
  documents: import("vue").Ref<{
4
+ corpusKey?: string | undefined;
4
5
  id: string;
5
6
  title: string;
6
7
  source: string;
@@ -19,6 +20,7 @@ export declare const useRAGDocuments: (path: string) => {
19
20
  provenanceLabel?: string | undefined;
20
21
  } | undefined;
21
22
  }[], RAGIndexedDocument[] | {
23
+ corpusKey?: string | undefined;
22
24
  id: string;
23
25
  title: string;
24
26
  source: string;
@@ -42,6 +44,7 @@ export declare const useRAGDocuments: (path: string) => {
42
44
  lastResponse: import("vue").Ref<{
43
45
  ok: true;
44
46
  documents: {
47
+ corpusKey?: string | undefined;
45
48
  id: string;
46
49
  title: string;
47
50
  source: string;
@@ -64,6 +67,7 @@ export declare const useRAGDocuments: (path: string) => {
64
67
  } | null, RAGDocumentsResponse | {
65
68
  ok: true;
66
69
  documents: {
70
+ corpusKey?: string | undefined;
67
71
  id: string;
68
72
  title: string;
69
73
  source: string;
@@ -8,6 +8,7 @@ export declare const useRAGEvaluate: (path: string) => {
8
8
  cases: {
9
9
  id: string;
10
10
  query: string;
11
+ corpusKey?: string | undefined;
11
12
  topK?: number | undefined;
12
13
  model?: string | undefined;
13
14
  scoreThreshold?: number | undefined;
@@ -51,6 +52,7 @@ export declare const useRAGEvaluate: (path: string) => {
51
52
  cases: {
52
53
  id: string;
53
54
  query: string;
55
+ corpusKey?: string | undefined;
54
56
  topK?: number | undefined;
55
57
  model?: string | undefined;
56
58
  scoreThreshold?: number | undefined;
@@ -93,8 +95,10 @@ export declare const useRAGEvaluate: (path: string) => {
93
95
  } | null>;
94
96
  lastResponse: import("vue").Ref<{
95
97
  ok: true;
98
+ corpusKeys?: string[] | undefined;
96
99
  cases: {
97
100
  caseId: string;
101
+ corpusKey?: string | undefined;
98
102
  query: string;
99
103
  label?: string | undefined;
100
104
  status: "pass" | "partial" | "fail";
@@ -128,8 +132,10 @@ export declare const useRAGEvaluate: (path: string) => {
128
132
  passingRate: number;
129
133
  } | null, RAGEvaluationResponse | {
130
134
  ok: true;
135
+ corpusKeys?: string[] | undefined;
131
136
  cases: {
132
137
  caseId: string;
138
+ corpusKey?: string | undefined;
133
139
  query: string;
134
140
  label?: string | undefined;
135
141
  status: "pass" | "partial" | "fail";
@@ -187,8 +193,10 @@ export declare const useRAGEvaluate: (path: string) => {
187
193
  elapsedMs: number;
188
194
  response: {
189
195
  ok: true;
196
+ corpusKeys?: string[] | undefined;
190
197
  cases: {
191
198
  caseId: string;
199
+ corpusKey?: string | undefined;
192
200
  query: string;
193
201
  label?: string | undefined;
194
202
  status: "pass" | "partial" | "fail";
@@ -240,6 +248,7 @@ export declare const useRAGEvaluate: (path: string) => {
240
248
  input?: number | undefined;
241
249
  embed?: number | undefined;
242
250
  query_transform?: number | undefined;
251
+ routing?: number | undefined;
243
252
  vector_search?: number | undefined;
244
253
  lexical_search?: number | undefined;
245
254
  fusion?: number | undefined;
@@ -252,6 +261,7 @@ export declare const useRAGEvaluate: (path: string) => {
252
261
  } | undefined;
253
262
  caseTraceSnapshots?: {
254
263
  caseId: string;
264
+ corpusKey?: string | undefined;
255
265
  label?: string | undefined;
256
266
  query: string;
257
267
  status: import("../..").RAGEvaluationCaseResult["status"];
@@ -303,6 +313,7 @@ export declare const useRAGEvaluate: (path: string) => {
303
313
  input?: number | undefined;
304
314
  embed?: number | undefined;
305
315
  query_transform?: number | undefined;
316
+ routing?: number | undefined;
306
317
  vector_search?: number | undefined;
307
318
  lexical_search?: number | undefined;
308
319
  fusion?: number | undefined;
@@ -316,6 +327,7 @@ export declare const useRAGEvaluate: (path: string) => {
316
327
  input?: number | undefined;
317
328
  embed?: number | undefined;
318
329
  query_transform?: number | undefined;
330
+ routing?: number | undefined;
319
331
  vector_search?: number | undefined;
320
332
  lexical_search?: number | undefined;
321
333
  fusion?: number | undefined;
@@ -337,8 +349,10 @@ export declare const useRAGEvaluate: (path: string) => {
337
349
  elapsedMs: number;
338
350
  response: {
339
351
  ok: true;
352
+ corpusKeys?: string[] | undefined;
340
353
  cases: {
341
354
  caseId: string;
355
+ corpusKey?: string | undefined;
342
356
  query: string;
343
357
  label?: string | undefined;
344
358
  status: "pass" | "partial" | "fail";
@@ -390,6 +404,7 @@ export declare const useRAGEvaluate: (path: string) => {
390
404
  input?: number | undefined;
391
405
  embed?: number | undefined;
392
406
  query_transform?: number | undefined;
407
+ routing?: number | undefined;
393
408
  vector_search?: number | undefined;
394
409
  lexical_search?: number | undefined;
395
410
  fusion?: number | undefined;
@@ -402,6 +417,7 @@ export declare const useRAGEvaluate: (path: string) => {
402
417
  } | undefined;
403
418
  caseTraceSnapshots?: {
404
419
  caseId: string;
420
+ corpusKey?: string | undefined;
405
421
  label?: string | undefined;
406
422
  query: string;
407
423
  status: import("../..").RAGEvaluationCaseResult["status"];
@@ -453,6 +469,7 @@ export declare const useRAGEvaluate: (path: string) => {
453
469
  input?: number | undefined;
454
470
  embed?: number | undefined;
455
471
  query_transform?: number | undefined;
472
+ routing?: number | undefined;
456
473
  vector_search?: number | undefined;
457
474
  lexical_search?: number | undefined;
458
475
  fusion?: number | undefined;
@@ -466,6 +483,7 @@ export declare const useRAGEvaluate: (path: string) => {
466
483
  input?: number | undefined;
467
484
  embed?: number | undefined;
468
485
  query_transform?: number | undefined;
486
+ routing?: number | undefined;
469
487
  vector_search?: number | undefined;
470
488
  lexical_search?: number | undefined;
471
489
  fusion?: number | undefined;
@@ -487,6 +505,7 @@ export declare const useRAGEvaluate: (path: string) => {
487
505
  cases: {
488
506
  id: string;
489
507
  query: string;
508
+ corpusKey?: string | undefined;
490
509
  topK?: number | undefined;
491
510
  model?: string | undefined;
492
511
  scoreThreshold?: number | undefined;
@@ -536,6 +555,7 @@ export declare const useRAGEvaluate: (path: string) => {
536
555
  cases: {
537
556
  id: string;
538
557
  query: string;
558
+ corpusKey?: string | undefined;
539
559
  topK?: number | undefined;
540
560
  model?: string | undefined;
541
561
  scoreThreshold?: number | undefined;
@@ -159,6 +159,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
159
159
  elapsedMs: number;
160
160
  }> | undefined;
161
161
  document?: {
162
+ corpusKey?: string | undefined;
162
163
  id: string;
163
164
  title: string;
164
165
  source: string;
@@ -191,6 +192,7 @@ export declare const useRAGIndexAdmin: (path: string) => {
191
192
  elapsedMs: number;
192
193
  }> | undefined;
193
194
  document?: {
195
+ corpusKey?: string | undefined;
194
196
  id: string;
195
197
  title: string;
196
198
  source: string;
@@ -16,6 +16,11 @@ export declare const useRAGSearch: (path: string) => {
16
16
  defaultModel?: string | undefined;
17
17
  providerName?: string | undefined;
18
18
  } | undefined;
19
+ retrievalStrategy?: import("../..").RAGRetrievalStrategySelector | {
20
+ select: import("../..").RAGRetrievalStrategySelector;
21
+ providerName?: string | undefined;
22
+ defaultLabel?: string | undefined;
23
+ } | undefined;
19
24
  retrieval?: import("../..").RAGHybridRetrievalMode | {
20
25
  mode?: import("../..").RAGHybridRetrievalMode | undefined;
21
26
  lexicalTopK?: number | undefined;
@@ -44,6 +49,11 @@ export declare const useRAGSearch: (path: string) => {
44
49
  defaultModel?: string | undefined;
45
50
  providerName?: string | undefined;
46
51
  } | undefined;
52
+ retrievalStrategy?: import("../..").RAGRetrievalStrategySelector | {
53
+ select: import("../..").RAGRetrievalStrategySelector;
54
+ providerName?: string | undefined;
55
+ defaultLabel?: string | undefined;
56
+ } | undefined;
47
57
  retrieval?: import("../..").RAGHybridRetrievalMode | {
48
58
  mode?: import("../..").RAGHybridRetrievalMode | undefined;
49
59
  lexicalTopK?: number | undefined;
@@ -65,6 +75,7 @@ export declare const useRAGSearch: (path: string) => {
65
75
  reset: () => void;
66
76
  results: import("vue").Ref<{
67
77
  chunkId: string;
78
+ corpusKey?: string | undefined;
68
79
  score: number;
69
80
  text: string;
70
81
  title?: string | undefined;
@@ -92,6 +103,7 @@ export declare const useRAGSearch: (path: string) => {
92
103
  } | undefined;
93
104
  }[], RAGSource[] | {
94
105
  chunkId: string;
106
+ corpusKey?: string | undefined;
95
107
  score: number;
96
108
  text: string;
97
109
  title?: string | undefined;