@absolutejs/absolute 0.19.0-beta.616 → 0.19.0-beta.617
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/client/index.js +34 -4
- package/dist/ai/client/index.js.map +3 -3
- package/dist/ai/index.js +447 -61
- package/dist/ai/index.js.map +4 -4
- package/dist/ai/rag/quality.js +34 -4
- package/dist/ai/rag/quality.js.map +3 -3
- package/dist/angular/index.js +2 -2
- package/dist/angular/index.js.map +1 -1
- package/dist/angular/server.js +2 -2
- package/dist/angular/server.js.map +1 -1
- package/dist/build.js +2 -2
- package/dist/build.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/react/ai/index.js +34 -4
- package/dist/react/ai/index.js.map +3 -3
- package/dist/src/ai/rag/quality.d.ts +20 -10
- package/dist/svelte/ai/index.js +34 -4
- package/dist/svelte/ai/index.js.map +3 -3
- package/dist/types/ai.d.ts +43 -0
- package/dist/vue/ai/index.js +34 -4
- package/dist/vue/ai/index.js.map +3 -3
- package/package.json +7 -7
package/dist/types/ai.d.ts
CHANGED
|
@@ -1038,6 +1038,7 @@ export type RAGAuthorizationContext = {
|
|
|
1038
1038
|
export type RAGAuthorizationProvider = (context: RAGAuthorizationContext) => Promise<RAGAuthorizationDecision> | RAGAuthorizationDecision;
|
|
1039
1039
|
export type RAGAccessScope = {
|
|
1040
1040
|
allowedComparisonGroupKeys?: string[];
|
|
1041
|
+
allowedCorpusGroupKeys?: string[];
|
|
1041
1042
|
allowedCorpusKeys?: string[];
|
|
1042
1043
|
allowedDocumentIds?: string[];
|
|
1043
1044
|
allowedSourcePrefixes?: string[];
|
|
@@ -2252,6 +2253,7 @@ export type RAGRetrievalComparisonSummary = {
|
|
|
2252
2253
|
export type RAGRetrievalComparison = {
|
|
2253
2254
|
suiteId: string;
|
|
2254
2255
|
suiteLabel: string;
|
|
2256
|
+
corpusGroupKey?: string;
|
|
2255
2257
|
corpusKeys?: string[];
|
|
2256
2258
|
entries: RAGRetrievalComparisonEntry[];
|
|
2257
2259
|
summary: RAGRetrievalComparisonSummary;
|
|
@@ -2268,6 +2270,7 @@ export type RAGRetrievalComparisonRequest = RAGEvaluationInput & {
|
|
|
2268
2270
|
persistRun?: boolean;
|
|
2269
2271
|
baselineRetrievalId?: string;
|
|
2270
2272
|
candidateRetrievalId?: string;
|
|
2273
|
+
corpusGroupKey?: string;
|
|
2271
2274
|
groupKey?: string;
|
|
2272
2275
|
tags?: string[];
|
|
2273
2276
|
};
|
|
@@ -2281,6 +2284,7 @@ export type RAGRetrievalComparisonRun = {
|
|
|
2281
2284
|
label: string;
|
|
2282
2285
|
suiteId: string;
|
|
2283
2286
|
suiteLabel: string;
|
|
2287
|
+
corpusGroupKey?: string;
|
|
2284
2288
|
corpusKeys?: string[];
|
|
2285
2289
|
groupKey?: string;
|
|
2286
2290
|
tags?: string[];
|
|
@@ -2346,6 +2350,7 @@ export type RAGRetrievalComparisonHistoryStore = {
|
|
|
2346
2350
|
suiteId?: string;
|
|
2347
2351
|
label?: string;
|
|
2348
2352
|
winnerId?: string;
|
|
2353
|
+
corpusGroupKey?: string;
|
|
2349
2354
|
groupKey?: string;
|
|
2350
2355
|
tag?: string;
|
|
2351
2356
|
}) => Promise<RAGRetrievalComparisonRun[]> | RAGRetrievalComparisonRun[];
|
|
@@ -2357,6 +2362,7 @@ export type RAGRetrievalComparisonHistoryResponse = {
|
|
|
2357
2362
|
};
|
|
2358
2363
|
export type RAGRetrievalBaselineRecord = {
|
|
2359
2364
|
id: string;
|
|
2365
|
+
corpusGroupKey?: string;
|
|
2360
2366
|
groupKey: string;
|
|
2361
2367
|
version: number;
|
|
2362
2368
|
status: 'active' | 'superseded';
|
|
@@ -2377,6 +2383,7 @@ export type RAGRetrievalBaselineRecord = {
|
|
|
2377
2383
|
export type RAGRetrievalBaselineStore = {
|
|
2378
2384
|
saveBaseline: (record: RAGRetrievalBaselineRecord) => Promise<void> | void;
|
|
2379
2385
|
listBaselines: (input?: {
|
|
2386
|
+
corpusGroupKey?: string;
|
|
2380
2387
|
groupKey?: string;
|
|
2381
2388
|
tag?: string;
|
|
2382
2389
|
limit?: number;
|
|
@@ -2385,6 +2392,7 @@ export type RAGRetrievalBaselineStore = {
|
|
|
2385
2392
|
getBaseline?: (groupKey: string) => Promise<RAGRetrievalBaselineRecord | null | undefined> | RAGRetrievalBaselineRecord | null | undefined;
|
|
2386
2393
|
};
|
|
2387
2394
|
export type RAGRetrievalBaselinePromotionRequest = {
|
|
2395
|
+
corpusGroupKey?: string;
|
|
2388
2396
|
groupKey: string;
|
|
2389
2397
|
retrievalId: string;
|
|
2390
2398
|
rolloutLabel?: 'canary' | 'stable' | 'rollback_target';
|
|
@@ -2400,6 +2408,7 @@ export type RAGRetrievalBaselinePromotionRequest = {
|
|
|
2400
2408
|
metadata?: Record<string, unknown>;
|
|
2401
2409
|
};
|
|
2402
2410
|
export type RAGRetrievalBaselinePromotionFromRunRequest = {
|
|
2411
|
+
corpusGroupKey?: string;
|
|
2403
2412
|
groupKey: string;
|
|
2404
2413
|
sourceRunId: string;
|
|
2405
2414
|
retrievalId?: string;
|
|
@@ -2413,6 +2422,7 @@ export type RAGRetrievalBaselinePromotionFromRunRequest = {
|
|
|
2413
2422
|
metadata?: Record<string, unknown>;
|
|
2414
2423
|
};
|
|
2415
2424
|
export type RAGRetrievalBaselineRevertRequest = {
|
|
2425
|
+
corpusGroupKey?: string;
|
|
2416
2426
|
groupKey: string;
|
|
2417
2427
|
version?: number;
|
|
2418
2428
|
baselineId?: string;
|
|
@@ -2435,6 +2445,7 @@ export type RAGRetrievalBaselineListResponse = {
|
|
|
2435
2445
|
export type RAGRetrievalReleaseDecisionRecord = {
|
|
2436
2446
|
id: string;
|
|
2437
2447
|
kind: 'approve' | 'promote' | 'reject' | 'revert';
|
|
2448
|
+
corpusGroupKey?: string;
|
|
2438
2449
|
groupKey: string;
|
|
2439
2450
|
targetRolloutLabel?: RAGRetrievalBaselineRecord['rolloutLabel'];
|
|
2440
2451
|
baselineId?: string;
|
|
@@ -2507,6 +2518,7 @@ export type RAGRetrievalReleaseLanePolicySummary = RAGRetrievalReleasePolicy & {
|
|
|
2507
2518
|
};
|
|
2508
2519
|
export type RAGRetrievalReleaseLanePolicyHistoryRecord = {
|
|
2509
2520
|
id: string;
|
|
2521
|
+
corpusGroupKey?: string;
|
|
2510
2522
|
groupKey?: string;
|
|
2511
2523
|
rolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2512
2524
|
scope: 'rollout_label' | 'group_rollout_label';
|
|
@@ -2520,6 +2532,7 @@ export type RAGRetrievalReleaseLanePolicyHistoryRecord = {
|
|
|
2520
2532
|
export type RAGRetrievalReleaseLanePolicyHistoryStore = {
|
|
2521
2533
|
saveRecord: (record: RAGRetrievalReleaseLanePolicyHistoryRecord) => Promise<void> | void;
|
|
2522
2534
|
listRecords: (input?: {
|
|
2535
|
+
corpusGroupKey?: string;
|
|
2523
2536
|
groupKey?: string;
|
|
2524
2537
|
limit?: number;
|
|
2525
2538
|
rolloutLabel?: RAGRetrievalReleaseLanePolicyHistoryRecord['rolloutLabel'];
|
|
@@ -2539,6 +2552,7 @@ export type RAGRetrievalBaselineGatePolicySummary = {
|
|
|
2539
2552
|
};
|
|
2540
2553
|
export type RAGRetrievalBaselineGatePolicyHistoryRecord = {
|
|
2541
2554
|
id: string;
|
|
2555
|
+
corpusGroupKey?: string;
|
|
2542
2556
|
groupKey?: string;
|
|
2543
2557
|
rolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2544
2558
|
scope: 'rollout_label' | 'group_rollout_label';
|
|
@@ -2550,6 +2564,7 @@ export type RAGRetrievalBaselineGatePolicyHistoryRecord = {
|
|
|
2550
2564
|
export type RAGRetrievalBaselineGatePolicyHistoryStore = {
|
|
2551
2565
|
saveRecord: (record: RAGRetrievalBaselineGatePolicyHistoryRecord) => Promise<void> | void;
|
|
2552
2566
|
listRecords: (input?: {
|
|
2567
|
+
corpusGroupKey?: string;
|
|
2553
2568
|
groupKey?: string;
|
|
2554
2569
|
limit?: number;
|
|
2555
2570
|
rolloutLabel?: RAGRetrievalBaselineGatePolicyHistoryRecord['rolloutLabel'];
|
|
@@ -2594,6 +2609,7 @@ export type RAGRetrievalIncidentRemediationDecisionRequest = {
|
|
|
2594
2609
|
export type RAGRetrievalIncidentRemediationDecisionStore = {
|
|
2595
2610
|
saveRecord: (record: RAGRetrievalIncidentRemediationDecisionRecord) => Promise<void> | void;
|
|
2596
2611
|
listRecords: (input?: {
|
|
2612
|
+
corpusGroupKey?: string;
|
|
2597
2613
|
groupKey?: string;
|
|
2598
2614
|
incidentId?: string;
|
|
2599
2615
|
limit?: number;
|
|
@@ -2701,6 +2717,7 @@ export type RAGRetrievalIncidentRemediationBulkExecutionResponse = {
|
|
|
2701
2717
|
error?: string;
|
|
2702
2718
|
};
|
|
2703
2719
|
export type RAGRetrievalReleaseGroupSummary = {
|
|
2720
|
+
corpusGroupKey?: string;
|
|
2704
2721
|
groupKey: string;
|
|
2705
2722
|
escalationSeverity: 'none' | 'info' | 'warning' | 'critical';
|
|
2706
2723
|
recommendedAction: 'promote_candidate' | 'renew_approval' | 'await_approval' | 'investigate_regression' | 'monitor';
|
|
@@ -2723,6 +2740,7 @@ export type RAGRetrievalReleaseGroupSummary = {
|
|
|
2723
2740
|
activeBaselineGatePolicy?: RAGRetrievalBaselineGatePolicy;
|
|
2724
2741
|
};
|
|
2725
2742
|
export type RAGRetrievalReleaseTimelineSummary = {
|
|
2743
|
+
corpusGroupKey?: string;
|
|
2726
2744
|
groupKey: string;
|
|
2727
2745
|
lastApprovedAt?: number;
|
|
2728
2746
|
lastPromotedAt?: number;
|
|
@@ -2733,6 +2751,7 @@ export type RAGRetrievalReleaseTimelineSummary = {
|
|
|
2733
2751
|
latestDecisionFreshnessStatus?: RAGRetrievalReleaseDecisionRecord['freshnessStatus'];
|
|
2734
2752
|
};
|
|
2735
2753
|
export type RAGRetrievalReleaseLaneTimelineSummary = {
|
|
2754
|
+
corpusGroupKey?: string;
|
|
2736
2755
|
groupKey: string;
|
|
2737
2756
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2738
2757
|
lastApprovedAt?: number;
|
|
@@ -2744,6 +2763,7 @@ export type RAGRetrievalReleaseLaneTimelineSummary = {
|
|
|
2744
2763
|
latestDecisionFreshnessStatus?: RAGRetrievalReleaseDecisionRecord['freshnessStatus'];
|
|
2745
2764
|
};
|
|
2746
2765
|
export type RAGRetrievalReleaseLaneDecisionSummary = {
|
|
2766
|
+
corpusGroupKey?: string;
|
|
2747
2767
|
groupKey: string;
|
|
2748
2768
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2749
2769
|
decisionCount: number;
|
|
@@ -2756,6 +2776,7 @@ export type RAGRetrievalReleaseLaneDecisionSummary = {
|
|
|
2756
2776
|
latestDecisionBy?: string;
|
|
2757
2777
|
};
|
|
2758
2778
|
export type RAGRetrievalReleaseApprovalScopeSummary = {
|
|
2779
|
+
corpusGroupKey?: string;
|
|
2759
2780
|
groupKey: string;
|
|
2760
2781
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2761
2782
|
status: 'approved' | 'rejected' | 'none';
|
|
@@ -2767,6 +2788,7 @@ export type RAGRetrievalReleaseApprovalScopeSummary = {
|
|
|
2767
2788
|
latestRejectedBy?: string;
|
|
2768
2789
|
};
|
|
2769
2790
|
export type RAGRetrievalReleaseLaneEscalationPolicySummary = {
|
|
2791
|
+
corpusGroupKey?: string;
|
|
2770
2792
|
groupKey: string;
|
|
2771
2793
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2772
2794
|
openIncidentSeverity: RAGRetrievalReleaseIncidentRecord['severity'];
|
|
@@ -2776,6 +2798,7 @@ export type RAGRetrievalReleaseLaneEscalationPolicySummary = {
|
|
|
2776
2798
|
};
|
|
2777
2799
|
export type RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord = {
|
|
2778
2800
|
id: string;
|
|
2801
|
+
corpusGroupKey?: string;
|
|
2779
2802
|
groupKey: string;
|
|
2780
2803
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2781
2804
|
openIncidentSeverity: RAGRetrievalReleaseIncidentRecord['severity'];
|
|
@@ -2792,6 +2815,7 @@ export type RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord = {
|
|
|
2792
2815
|
export type RAGRetrievalReleaseLaneEscalationPolicyHistoryStore = {
|
|
2793
2816
|
saveRecord: (record: RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord) => Promise<void> | void;
|
|
2794
2817
|
listRecords: (input?: {
|
|
2818
|
+
corpusGroupKey?: string;
|
|
2795
2819
|
groupKey?: string;
|
|
2796
2820
|
limit?: number;
|
|
2797
2821
|
targetRolloutLabel?: RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord['targetRolloutLabel'];
|
|
@@ -2803,6 +2827,7 @@ export type RAGRetrievalReleaseLaneEscalationPolicyHistoryResponse = {
|
|
|
2803
2827
|
error?: string;
|
|
2804
2828
|
};
|
|
2805
2829
|
export type RAGRetrievalReleaseLaneAuditSummary = {
|
|
2830
|
+
corpusGroupKey?: string;
|
|
2806
2831
|
groupKey: string;
|
|
2807
2832
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2808
2833
|
activeBaselineRetrievalId?: string;
|
|
@@ -2819,6 +2844,7 @@ export type RAGRetrievalReleaseLaneAuditSummary = {
|
|
|
2819
2844
|
lastRevertedBy?: string;
|
|
2820
2845
|
};
|
|
2821
2846
|
export type RAGRetrievalReleaseLaneRecommendationSummary = {
|
|
2847
|
+
corpusGroupKey?: string;
|
|
2822
2848
|
groupKey: string;
|
|
2823
2849
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2824
2850
|
recommendedAction: 'promote_candidate' | 'renew_approval' | 'await_approval' | 'investigate_regression' | 'monitor';
|
|
@@ -2837,6 +2863,7 @@ export type RAGRetrievalReleaseLaneRecommendationSummary = {
|
|
|
2837
2863
|
remediationSteps?: RAGRemediationStep[];
|
|
2838
2864
|
};
|
|
2839
2865
|
export type RAGRetrievalReleaseLaneHandoffSummary = {
|
|
2866
|
+
corpusGroupKey?: string;
|
|
2840
2867
|
groupKey: string;
|
|
2841
2868
|
sourceRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2842
2869
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
@@ -2892,10 +2919,12 @@ export type RAGRetrievalReleaseIncidentRecord = {
|
|
|
2892
2919
|
notes?: string;
|
|
2893
2920
|
};
|
|
2894
2921
|
export type RAGRetrievalLaneHandoffIncidentRecord = Omit<RAGRetrievalReleaseIncidentRecord, 'kind'> & {
|
|
2922
|
+
corpusGroupKey?: string;
|
|
2895
2923
|
kind: 'handoff_stale';
|
|
2896
2924
|
sourceRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord['sourceRolloutLabel'];
|
|
2897
2925
|
};
|
|
2898
2926
|
export type RAGRetrievalReleaseLaneIncidentSummary = {
|
|
2927
|
+
corpusGroupKey?: string;
|
|
2899
2928
|
groupKey: string;
|
|
2900
2929
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2901
2930
|
openCount: number;
|
|
@@ -2925,6 +2954,7 @@ export type RAGRetrievalReleaseIncidentResolveRequest = {
|
|
|
2925
2954
|
export type RAGRetrievalReleaseIncidentStore = {
|
|
2926
2955
|
saveIncident: (record: RAGRetrievalReleaseIncidentRecord) => Promise<void> | void;
|
|
2927
2956
|
listIncidents: (input?: {
|
|
2957
|
+
corpusGroupKey?: string;
|
|
2928
2958
|
groupKey?: string;
|
|
2929
2959
|
limit?: number;
|
|
2930
2960
|
targetRolloutLabel?: RAGRetrievalReleaseIncidentRecord['targetRolloutLabel'];
|
|
@@ -2935,6 +2965,7 @@ export type RAGRetrievalReleaseIncidentStore = {
|
|
|
2935
2965
|
export type RAGRetrievalLaneHandoffIncidentStore = {
|
|
2936
2966
|
saveIncident: (record: RAGRetrievalLaneHandoffIncidentRecord) => Promise<void> | void;
|
|
2937
2967
|
listIncidents: (input?: {
|
|
2968
|
+
corpusGroupKey?: string;
|
|
2938
2969
|
groupKey?: string;
|
|
2939
2970
|
limit?: number;
|
|
2940
2971
|
targetRolloutLabel?: RAGRetrievalLaneHandoffIncidentRecord['targetRolloutLabel'];
|
|
@@ -2950,6 +2981,7 @@ export type RAGRetrievalLaneHandoffIncidentListResponse = {
|
|
|
2950
2981
|
export type RAGRetrievalLaneHandoffIncidentHistoryRecord = {
|
|
2951
2982
|
id: string;
|
|
2952
2983
|
incidentId: string;
|
|
2984
|
+
corpusGroupKey?: string;
|
|
2953
2985
|
groupKey: string;
|
|
2954
2986
|
kind: 'handoff_stale';
|
|
2955
2987
|
targetRolloutLabel?: RAGRetrievalLaneHandoffIncidentRecord['targetRolloutLabel'];
|
|
@@ -2964,6 +2996,7 @@ export type RAGRetrievalLaneHandoffIncidentHistoryRecord = {
|
|
|
2964
2996
|
export type RAGRetrievalLaneHandoffIncidentHistoryStore = {
|
|
2965
2997
|
saveRecord: (record: RAGRetrievalLaneHandoffIncidentHistoryRecord) => Promise<void> | void;
|
|
2966
2998
|
listRecords: (input?: {
|
|
2999
|
+
corpusGroupKey?: string;
|
|
2967
3000
|
groupKey?: string;
|
|
2968
3001
|
incidentId?: string;
|
|
2969
3002
|
limit?: number;
|
|
@@ -2989,6 +3022,7 @@ export type RAGRetrievalLaneHandoffAutoCompletePolicySummary = {
|
|
|
2989
3022
|
};
|
|
2990
3023
|
export type RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord = {
|
|
2991
3024
|
id: string;
|
|
3025
|
+
corpusGroupKey?: string;
|
|
2992
3026
|
groupKey: string;
|
|
2993
3027
|
targetRolloutLabel: Exclude<RAGRetrievalLaneHandoffDecisionRecord['targetRolloutLabel'], undefined>;
|
|
2994
3028
|
enabled: boolean;
|
|
@@ -3001,6 +3035,7 @@ export type RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord = {
|
|
|
3001
3035
|
export type RAGRetrievalLaneHandoffAutoCompletePolicyHistoryStore = {
|
|
3002
3036
|
saveRecord: (record: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord) => Promise<void> | void;
|
|
3003
3037
|
listRecords: (input?: {
|
|
3038
|
+
corpusGroupKey?: string;
|
|
3004
3039
|
groupKey?: string;
|
|
3005
3040
|
limit?: number;
|
|
3006
3041
|
targetRolloutLabel?: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord['targetRolloutLabel'];
|
|
@@ -3068,12 +3103,14 @@ export type RAGRetrievalReleasePolicySummary = RAGRetrievalReleasePolicy & {
|
|
|
3068
3103
|
export type RAGRetrievalReleaseDecisionStore = {
|
|
3069
3104
|
saveDecision: (record: RAGRetrievalReleaseDecisionRecord) => Promise<void> | void;
|
|
3070
3105
|
listDecisions: (input?: {
|
|
3106
|
+
corpusGroupKey?: string;
|
|
3071
3107
|
groupKey?: string;
|
|
3072
3108
|
limit?: number;
|
|
3073
3109
|
kind?: RAGRetrievalReleaseDecisionRecord['kind'];
|
|
3074
3110
|
}) => Promise<RAGRetrievalReleaseDecisionRecord[]> | RAGRetrievalReleaseDecisionRecord[];
|
|
3075
3111
|
};
|
|
3076
3112
|
export type RAGRetrievalReleaseDecisionActionRequest = {
|
|
3113
|
+
corpusGroupKey?: string;
|
|
3077
3114
|
groupKey: string;
|
|
3078
3115
|
sourceRunId: string;
|
|
3079
3116
|
targetRolloutLabel?: RAGRetrievalBaselineRecord['rolloutLabel'];
|
|
@@ -3096,6 +3133,7 @@ export type RAGRetrievalReleaseDecisionListResponse = {
|
|
|
3096
3133
|
};
|
|
3097
3134
|
export type RAGRetrievalLaneHandoffDecisionRecord = {
|
|
3098
3135
|
id: string;
|
|
3136
|
+
corpusGroupKey?: string;
|
|
3099
3137
|
groupKey: string;
|
|
3100
3138
|
sourceRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
3101
3139
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
@@ -3111,6 +3149,7 @@ export type RAGRetrievalLaneHandoffDecisionRecord = {
|
|
|
3111
3149
|
export type RAGRetrievalLaneHandoffDecisionStore = {
|
|
3112
3150
|
saveDecision: (record: RAGRetrievalLaneHandoffDecisionRecord) => Promise<void> | void;
|
|
3113
3151
|
listDecisions: (input?: {
|
|
3152
|
+
corpusGroupKey?: string;
|
|
3114
3153
|
groupKey?: string;
|
|
3115
3154
|
sourceRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord['sourceRolloutLabel'];
|
|
3116
3155
|
targetRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord['targetRolloutLabel'];
|
|
@@ -3119,6 +3158,7 @@ export type RAGRetrievalLaneHandoffDecisionStore = {
|
|
|
3119
3158
|
}) => Promise<RAGRetrievalLaneHandoffDecisionRecord[]> | RAGRetrievalLaneHandoffDecisionRecord[];
|
|
3120
3159
|
};
|
|
3121
3160
|
export type RAGRetrievalLaneHandoffDecisionRequest = {
|
|
3161
|
+
corpusGroupKey?: string;
|
|
3122
3162
|
groupKey: string;
|
|
3123
3163
|
sourceRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
3124
3164
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
@@ -3149,6 +3189,7 @@ export type RAGRetrievalLaneHandoffListResponse = {
|
|
|
3149
3189
|
};
|
|
3150
3190
|
export type RAGRetrievalReleaseGroupHistoryResponse = {
|
|
3151
3191
|
ok: boolean;
|
|
3192
|
+
corpusGroupKey?: string;
|
|
3152
3193
|
groupKey?: string;
|
|
3153
3194
|
decisions?: RAGRetrievalReleaseDecisionRecord[];
|
|
3154
3195
|
baselines?: RAGRetrievalBaselineRecord[];
|
|
@@ -3166,6 +3207,7 @@ export type RAGRetrievalComparisonLatestSummary = {
|
|
|
3166
3207
|
label: string;
|
|
3167
3208
|
suiteId: string;
|
|
3168
3209
|
suiteLabel: string;
|
|
3210
|
+
corpusGroupKey?: string;
|
|
3169
3211
|
groupKey?: string;
|
|
3170
3212
|
tags?: string[];
|
|
3171
3213
|
finishedAt: number;
|
|
@@ -3187,6 +3229,7 @@ export type RAGRetrievalComparisonAlert = {
|
|
|
3187
3229
|
message: string;
|
|
3188
3230
|
latestRunId: string;
|
|
3189
3231
|
retrievalId?: string;
|
|
3232
|
+
corpusGroupKey?: string;
|
|
3190
3233
|
groupKey?: string;
|
|
3191
3234
|
tag?: string;
|
|
3192
3235
|
baselineRetrievalId?: string;
|
package/dist/vue/ai/index.js
CHANGED
|
@@ -2995,16 +2995,32 @@ var loadRAGRetrievalComparisonHistory = async ({
|
|
|
2995
2995
|
suiteId,
|
|
2996
2996
|
label,
|
|
2997
2997
|
winnerId,
|
|
2998
|
+
corpusGroupKey,
|
|
2998
2999
|
groupKey,
|
|
2999
3000
|
tag
|
|
3000
|
-
}) => normalizeRetrievalComparisonRuns(await Promise.resolve(store.listRuns({
|
|
3001
|
+
}) => normalizeRetrievalComparisonRuns(await Promise.resolve(store.listRuns({
|
|
3002
|
+
corpusGroupKey,
|
|
3003
|
+
groupKey,
|
|
3004
|
+
label,
|
|
3005
|
+
limit,
|
|
3006
|
+
suiteId,
|
|
3007
|
+
tag,
|
|
3008
|
+
winnerId
|
|
3009
|
+
})));
|
|
3001
3010
|
var loadRAGRetrievalBaselines = async ({
|
|
3002
3011
|
store,
|
|
3012
|
+
corpusGroupKey,
|
|
3003
3013
|
groupKey,
|
|
3004
3014
|
tag,
|
|
3005
3015
|
limit,
|
|
3006
3016
|
status
|
|
3007
|
-
}) => normalizeRetrievalBaselineRecords(await Promise.resolve(store.listBaselines({
|
|
3017
|
+
}) => normalizeRetrievalBaselineRecords(await Promise.resolve(store.listBaselines({
|
|
3018
|
+
corpusGroupKey,
|
|
3019
|
+
groupKey,
|
|
3020
|
+
limit,
|
|
3021
|
+
status,
|
|
3022
|
+
tag
|
|
3023
|
+
})));
|
|
3008
3024
|
var persistRAGRetrievalBaseline = async ({
|
|
3009
3025
|
store,
|
|
3010
3026
|
record
|
|
@@ -3014,18 +3030,21 @@ var persistRAGRetrievalBaseline = async ({
|
|
|
3014
3030
|
};
|
|
3015
3031
|
var loadRAGRetrievalReleaseDecisions = async ({
|
|
3016
3032
|
store,
|
|
3033
|
+
corpusGroupKey,
|
|
3017
3034
|
groupKey,
|
|
3018
3035
|
limit,
|
|
3019
3036
|
kind
|
|
3020
|
-
}) => normalizeRetrievalReleaseDecisionRecords(await Promise.resolve(store.listDecisions({ groupKey, kind, limit })));
|
|
3037
|
+
}) => normalizeRetrievalReleaseDecisionRecords(await Promise.resolve(store.listDecisions({ corpusGroupKey, groupKey, kind, limit })));
|
|
3021
3038
|
var loadRAGRetrievalLaneHandoffDecisions = async ({
|
|
3022
3039
|
store,
|
|
3040
|
+
corpusGroupKey,
|
|
3023
3041
|
groupKey,
|
|
3024
3042
|
limit,
|
|
3025
3043
|
kind,
|
|
3026
3044
|
sourceRolloutLabel,
|
|
3027
3045
|
targetRolloutLabel
|
|
3028
3046
|
}) => normalizeRetrievalLaneHandoffDecisionRecords(await Promise.resolve(store.listDecisions({
|
|
3047
|
+
corpusGroupKey,
|
|
3029
3048
|
groupKey,
|
|
3030
3049
|
kind,
|
|
3031
3050
|
limit,
|
|
@@ -3048,12 +3067,14 @@ var loadRAGRetrievalReleaseIncidents = async ({
|
|
|
3048
3067
|
})));
|
|
3049
3068
|
var loadRAGRetrievalLaneHandoffIncidents = async ({
|
|
3050
3069
|
store,
|
|
3070
|
+
corpusGroupKey,
|
|
3051
3071
|
groupKey,
|
|
3052
3072
|
limit,
|
|
3053
3073
|
targetRolloutLabel,
|
|
3054
3074
|
status,
|
|
3055
3075
|
severity
|
|
3056
3076
|
}) => normalizeRetrievalReleaseIncidentRecords(await Promise.resolve(store.listIncidents({
|
|
3077
|
+
corpusGroupKey,
|
|
3057
3078
|
groupKey,
|
|
3058
3079
|
limit,
|
|
3059
3080
|
severity,
|
|
@@ -3062,12 +3083,14 @@ var loadRAGRetrievalLaneHandoffIncidents = async ({
|
|
|
3062
3083
|
})));
|
|
3063
3084
|
var loadRAGRetrievalLaneHandoffIncidentHistory = async ({
|
|
3064
3085
|
store,
|
|
3086
|
+
corpusGroupKey,
|
|
3065
3087
|
action,
|
|
3066
3088
|
groupKey,
|
|
3067
3089
|
incidentId,
|
|
3068
3090
|
limit,
|
|
3069
3091
|
targetRolloutLabel
|
|
3070
3092
|
}) => await Promise.resolve(store.listRecords({
|
|
3093
|
+
corpusGroupKey,
|
|
3071
3094
|
action,
|
|
3072
3095
|
groupKey,
|
|
3073
3096
|
incidentId,
|
|
@@ -3112,21 +3135,25 @@ var loadRAGRetrievalIncidentRemediationExecutionHistory = async ({
|
|
|
3112
3135
|
})));
|
|
3113
3136
|
var loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory = async ({
|
|
3114
3137
|
store,
|
|
3138
|
+
corpusGroupKey,
|
|
3115
3139
|
groupKey,
|
|
3116
3140
|
limit,
|
|
3117
3141
|
targetRolloutLabel
|
|
3118
3142
|
}) => await Promise.resolve(store.listRecords({
|
|
3143
|
+
corpusGroupKey,
|
|
3119
3144
|
groupKey,
|
|
3120
3145
|
limit,
|
|
3121
3146
|
targetRolloutLabel
|
|
3122
3147
|
}));
|
|
3123
3148
|
var loadRAGRetrievalReleaseLanePolicyHistory = async ({
|
|
3124
3149
|
store,
|
|
3150
|
+
corpusGroupKey,
|
|
3125
3151
|
groupKey,
|
|
3126
3152
|
limit,
|
|
3127
3153
|
rolloutLabel,
|
|
3128
3154
|
scope
|
|
3129
3155
|
}) => await Promise.resolve(store.listRecords({
|
|
3156
|
+
corpusGroupKey,
|
|
3130
3157
|
groupKey,
|
|
3131
3158
|
limit,
|
|
3132
3159
|
rolloutLabel,
|
|
@@ -3134,11 +3161,13 @@ var loadRAGRetrievalReleaseLanePolicyHistory = async ({
|
|
|
3134
3161
|
}));
|
|
3135
3162
|
var loadRAGRetrievalBaselineGatePolicyHistory = async ({
|
|
3136
3163
|
store,
|
|
3164
|
+
corpusGroupKey,
|
|
3137
3165
|
groupKey,
|
|
3138
3166
|
limit,
|
|
3139
3167
|
rolloutLabel,
|
|
3140
3168
|
scope
|
|
3141
3169
|
}) => await Promise.resolve(store.listRecords({
|
|
3170
|
+
corpusGroupKey,
|
|
3142
3171
|
groupKey,
|
|
3143
3172
|
limit,
|
|
3144
3173
|
rolloutLabel,
|
|
@@ -3146,6 +3175,7 @@ var loadRAGRetrievalBaselineGatePolicyHistory = async ({
|
|
|
3146
3175
|
}));
|
|
3147
3176
|
var loadRAGRetrievalReleaseLaneEscalationPolicyHistory = async ({
|
|
3148
3177
|
store,
|
|
3178
|
+
corpusGroupKey,
|
|
3149
3179
|
groupKey,
|
|
3150
3180
|
limit,
|
|
3151
3181
|
targetRolloutLabel
|
|
@@ -8240,5 +8270,5 @@ export {
|
|
|
8240
8270
|
AIStreamKey
|
|
8241
8271
|
};
|
|
8242
8272
|
|
|
8243
|
-
//# debugId=
|
|
8273
|
+
//# debugId=E7B3F402B4D49F5064756E2164756E21
|
|
8244
8274
|
//# sourceMappingURL=index.js.map
|