@absolutejs/absolute 0.19.0-beta.616 → 0.19.0-beta.618
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 +38 -5
- package/dist/ai/client/index.js.map +3 -3
- package/dist/ai/index.js +476 -63
- package/dist/ai/index.js.map +4 -4
- package/dist/ai/rag/quality.js +38 -5
- package/dist/ai/rag/quality.js.map +3 -3
- package/dist/react/ai/index.js +38 -5
- package/dist/react/ai/index.js.map +3 -3
- package/dist/src/ai/rag/quality.d.ts +22 -11
- package/dist/svelte/ai/index.js +38 -5
- package/dist/svelte/ai/index.js.map +3 -3
- package/dist/types/ai.d.ts +44 -0
- package/dist/vue/ai/index.js +38 -5
- 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>;
|
|
@@ -2876,6 +2903,7 @@ export type RAGRetrievalLanePromotionStateSummary = {
|
|
|
2876
2903
|
export type RAGRetrievalReleaseIncidentRecord = {
|
|
2877
2904
|
id: string;
|
|
2878
2905
|
groupKey: string;
|
|
2906
|
+
corpusGroupKey?: string;
|
|
2879
2907
|
targetRolloutLabel?: RAGRetrievalBaselineRecord['rolloutLabel'];
|
|
2880
2908
|
severity: 'warning' | 'critical';
|
|
2881
2909
|
status: 'open' | 'resolved';
|
|
@@ -2892,10 +2920,12 @@ export type RAGRetrievalReleaseIncidentRecord = {
|
|
|
2892
2920
|
notes?: string;
|
|
2893
2921
|
};
|
|
2894
2922
|
export type RAGRetrievalLaneHandoffIncidentRecord = Omit<RAGRetrievalReleaseIncidentRecord, 'kind'> & {
|
|
2923
|
+
corpusGroupKey?: string;
|
|
2895
2924
|
kind: 'handoff_stale';
|
|
2896
2925
|
sourceRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord['sourceRolloutLabel'];
|
|
2897
2926
|
};
|
|
2898
2927
|
export type RAGRetrievalReleaseLaneIncidentSummary = {
|
|
2928
|
+
corpusGroupKey?: string;
|
|
2899
2929
|
groupKey: string;
|
|
2900
2930
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
2901
2931
|
openCount: number;
|
|
@@ -2925,6 +2955,7 @@ export type RAGRetrievalReleaseIncidentResolveRequest = {
|
|
|
2925
2955
|
export type RAGRetrievalReleaseIncidentStore = {
|
|
2926
2956
|
saveIncident: (record: RAGRetrievalReleaseIncidentRecord) => Promise<void> | void;
|
|
2927
2957
|
listIncidents: (input?: {
|
|
2958
|
+
corpusGroupKey?: string;
|
|
2928
2959
|
groupKey?: string;
|
|
2929
2960
|
limit?: number;
|
|
2930
2961
|
targetRolloutLabel?: RAGRetrievalReleaseIncidentRecord['targetRolloutLabel'];
|
|
@@ -2935,6 +2966,7 @@ export type RAGRetrievalReleaseIncidentStore = {
|
|
|
2935
2966
|
export type RAGRetrievalLaneHandoffIncidentStore = {
|
|
2936
2967
|
saveIncident: (record: RAGRetrievalLaneHandoffIncidentRecord) => Promise<void> | void;
|
|
2937
2968
|
listIncidents: (input?: {
|
|
2969
|
+
corpusGroupKey?: string;
|
|
2938
2970
|
groupKey?: string;
|
|
2939
2971
|
limit?: number;
|
|
2940
2972
|
targetRolloutLabel?: RAGRetrievalLaneHandoffIncidentRecord['targetRolloutLabel'];
|
|
@@ -2950,6 +2982,7 @@ export type RAGRetrievalLaneHandoffIncidentListResponse = {
|
|
|
2950
2982
|
export type RAGRetrievalLaneHandoffIncidentHistoryRecord = {
|
|
2951
2983
|
id: string;
|
|
2952
2984
|
incidentId: string;
|
|
2985
|
+
corpusGroupKey?: string;
|
|
2953
2986
|
groupKey: string;
|
|
2954
2987
|
kind: 'handoff_stale';
|
|
2955
2988
|
targetRolloutLabel?: RAGRetrievalLaneHandoffIncidentRecord['targetRolloutLabel'];
|
|
@@ -2964,6 +2997,7 @@ export type RAGRetrievalLaneHandoffIncidentHistoryRecord = {
|
|
|
2964
2997
|
export type RAGRetrievalLaneHandoffIncidentHistoryStore = {
|
|
2965
2998
|
saveRecord: (record: RAGRetrievalLaneHandoffIncidentHistoryRecord) => Promise<void> | void;
|
|
2966
2999
|
listRecords: (input?: {
|
|
3000
|
+
corpusGroupKey?: string;
|
|
2967
3001
|
groupKey?: string;
|
|
2968
3002
|
incidentId?: string;
|
|
2969
3003
|
limit?: number;
|
|
@@ -2989,6 +3023,7 @@ export type RAGRetrievalLaneHandoffAutoCompletePolicySummary = {
|
|
|
2989
3023
|
};
|
|
2990
3024
|
export type RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord = {
|
|
2991
3025
|
id: string;
|
|
3026
|
+
corpusGroupKey?: string;
|
|
2992
3027
|
groupKey: string;
|
|
2993
3028
|
targetRolloutLabel: Exclude<RAGRetrievalLaneHandoffDecisionRecord['targetRolloutLabel'], undefined>;
|
|
2994
3029
|
enabled: boolean;
|
|
@@ -3001,6 +3036,7 @@ export type RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord = {
|
|
|
3001
3036
|
export type RAGRetrievalLaneHandoffAutoCompletePolicyHistoryStore = {
|
|
3002
3037
|
saveRecord: (record: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord) => Promise<void> | void;
|
|
3003
3038
|
listRecords: (input?: {
|
|
3039
|
+
corpusGroupKey?: string;
|
|
3004
3040
|
groupKey?: string;
|
|
3005
3041
|
limit?: number;
|
|
3006
3042
|
targetRolloutLabel?: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord['targetRolloutLabel'];
|
|
@@ -3068,12 +3104,14 @@ export type RAGRetrievalReleasePolicySummary = RAGRetrievalReleasePolicy & {
|
|
|
3068
3104
|
export type RAGRetrievalReleaseDecisionStore = {
|
|
3069
3105
|
saveDecision: (record: RAGRetrievalReleaseDecisionRecord) => Promise<void> | void;
|
|
3070
3106
|
listDecisions: (input?: {
|
|
3107
|
+
corpusGroupKey?: string;
|
|
3071
3108
|
groupKey?: string;
|
|
3072
3109
|
limit?: number;
|
|
3073
3110
|
kind?: RAGRetrievalReleaseDecisionRecord['kind'];
|
|
3074
3111
|
}) => Promise<RAGRetrievalReleaseDecisionRecord[]> | RAGRetrievalReleaseDecisionRecord[];
|
|
3075
3112
|
};
|
|
3076
3113
|
export type RAGRetrievalReleaseDecisionActionRequest = {
|
|
3114
|
+
corpusGroupKey?: string;
|
|
3077
3115
|
groupKey: string;
|
|
3078
3116
|
sourceRunId: string;
|
|
3079
3117
|
targetRolloutLabel?: RAGRetrievalBaselineRecord['rolloutLabel'];
|
|
@@ -3096,6 +3134,7 @@ export type RAGRetrievalReleaseDecisionListResponse = {
|
|
|
3096
3134
|
};
|
|
3097
3135
|
export type RAGRetrievalLaneHandoffDecisionRecord = {
|
|
3098
3136
|
id: string;
|
|
3137
|
+
corpusGroupKey?: string;
|
|
3099
3138
|
groupKey: string;
|
|
3100
3139
|
sourceRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
3101
3140
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
@@ -3111,6 +3150,7 @@ export type RAGRetrievalLaneHandoffDecisionRecord = {
|
|
|
3111
3150
|
export type RAGRetrievalLaneHandoffDecisionStore = {
|
|
3112
3151
|
saveDecision: (record: RAGRetrievalLaneHandoffDecisionRecord) => Promise<void> | void;
|
|
3113
3152
|
listDecisions: (input?: {
|
|
3153
|
+
corpusGroupKey?: string;
|
|
3114
3154
|
groupKey?: string;
|
|
3115
3155
|
sourceRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord['sourceRolloutLabel'];
|
|
3116
3156
|
targetRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord['targetRolloutLabel'];
|
|
@@ -3119,6 +3159,7 @@ export type RAGRetrievalLaneHandoffDecisionStore = {
|
|
|
3119
3159
|
}) => Promise<RAGRetrievalLaneHandoffDecisionRecord[]> | RAGRetrievalLaneHandoffDecisionRecord[];
|
|
3120
3160
|
};
|
|
3121
3161
|
export type RAGRetrievalLaneHandoffDecisionRequest = {
|
|
3162
|
+
corpusGroupKey?: string;
|
|
3122
3163
|
groupKey: string;
|
|
3123
3164
|
sourceRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
3124
3165
|
targetRolloutLabel: Exclude<RAGRetrievalBaselineRecord['rolloutLabel'], undefined>;
|
|
@@ -3149,6 +3190,7 @@ export type RAGRetrievalLaneHandoffListResponse = {
|
|
|
3149
3190
|
};
|
|
3150
3191
|
export type RAGRetrievalReleaseGroupHistoryResponse = {
|
|
3151
3192
|
ok: boolean;
|
|
3193
|
+
corpusGroupKey?: string;
|
|
3152
3194
|
groupKey?: string;
|
|
3153
3195
|
decisions?: RAGRetrievalReleaseDecisionRecord[];
|
|
3154
3196
|
baselines?: RAGRetrievalBaselineRecord[];
|
|
@@ -3166,6 +3208,7 @@ export type RAGRetrievalComparisonLatestSummary = {
|
|
|
3166
3208
|
label: string;
|
|
3167
3209
|
suiteId: string;
|
|
3168
3210
|
suiteLabel: string;
|
|
3211
|
+
corpusGroupKey?: string;
|
|
3169
3212
|
groupKey?: string;
|
|
3170
3213
|
tags?: string[];
|
|
3171
3214
|
finishedAt: number;
|
|
@@ -3187,6 +3230,7 @@ export type RAGRetrievalComparisonAlert = {
|
|
|
3187
3230
|
message: string;
|
|
3188
3231
|
latestRunId: string;
|
|
3189
3232
|
retrievalId?: string;
|
|
3233
|
+
corpusGroupKey?: string;
|
|
3190
3234
|
groupKey?: string;
|
|
3191
3235
|
tag?: string;
|
|
3192
3236
|
baselineRetrievalId?: string;
|
package/dist/vue/ai/index.js
CHANGED
|
@@ -2054,6 +2054,7 @@ var createRAGFileRetrievalLaneHandoffDecisionStore = (path) => ({
|
|
|
2054
2054
|
});
|
|
2055
2055
|
var createRAGFileRetrievalReleaseIncidentStore = (path) => ({
|
|
2056
2056
|
listIncidents: async ({
|
|
2057
|
+
corpusGroupKey,
|
|
2057
2058
|
groupKey,
|
|
2058
2059
|
limit,
|
|
2059
2060
|
severity,
|
|
@@ -2070,7 +2071,7 @@ var createRAGFileRetrievalReleaseIncidentStore = (path) => ({
|
|
|
2070
2071
|
throw error;
|
|
2071
2072
|
}
|
|
2072
2073
|
}
|
|
2073
|
-
const filtered = parsed.filter((entry) => (!groupKey || entry.groupKey === groupKey) && (!targetRolloutLabel || entry.targetRolloutLabel === targetRolloutLabel) && (!severity || entry.severity === severity) && (!status || entry.status === status));
|
|
2074
|
+
const filtered = parsed.filter((entry) => (!corpusGroupKey || entry.corpusGroupKey === corpusGroupKey) && (!groupKey || entry.groupKey === groupKey) && (!targetRolloutLabel || entry.targetRolloutLabel === targetRolloutLabel) && (!severity || entry.severity === severity) && (!status || entry.status === status));
|
|
2074
2075
|
const sorted = normalizeRetrievalReleaseIncidentRecords(filtered);
|
|
2075
2076
|
return typeof limit === "number" ? sorted.slice(0, limit) : sorted;
|
|
2076
2077
|
},
|
|
@@ -2995,16 +2996,32 @@ var loadRAGRetrievalComparisonHistory = async ({
|
|
|
2995
2996
|
suiteId,
|
|
2996
2997
|
label,
|
|
2997
2998
|
winnerId,
|
|
2999
|
+
corpusGroupKey,
|
|
2998
3000
|
groupKey,
|
|
2999
3001
|
tag
|
|
3000
|
-
}) => normalizeRetrievalComparisonRuns(await Promise.resolve(store.listRuns({
|
|
3002
|
+
}) => normalizeRetrievalComparisonRuns(await Promise.resolve(store.listRuns({
|
|
3003
|
+
corpusGroupKey,
|
|
3004
|
+
groupKey,
|
|
3005
|
+
label,
|
|
3006
|
+
limit,
|
|
3007
|
+
suiteId,
|
|
3008
|
+
tag,
|
|
3009
|
+
winnerId
|
|
3010
|
+
})));
|
|
3001
3011
|
var loadRAGRetrievalBaselines = async ({
|
|
3002
3012
|
store,
|
|
3013
|
+
corpusGroupKey,
|
|
3003
3014
|
groupKey,
|
|
3004
3015
|
tag,
|
|
3005
3016
|
limit,
|
|
3006
3017
|
status
|
|
3007
|
-
}) => normalizeRetrievalBaselineRecords(await Promise.resolve(store.listBaselines({
|
|
3018
|
+
}) => normalizeRetrievalBaselineRecords(await Promise.resolve(store.listBaselines({
|
|
3019
|
+
corpusGroupKey,
|
|
3020
|
+
groupKey,
|
|
3021
|
+
limit,
|
|
3022
|
+
status,
|
|
3023
|
+
tag
|
|
3024
|
+
})));
|
|
3008
3025
|
var persistRAGRetrievalBaseline = async ({
|
|
3009
3026
|
store,
|
|
3010
3027
|
record
|
|
@@ -3014,18 +3031,21 @@ var persistRAGRetrievalBaseline = async ({
|
|
|
3014
3031
|
};
|
|
3015
3032
|
var loadRAGRetrievalReleaseDecisions = async ({
|
|
3016
3033
|
store,
|
|
3034
|
+
corpusGroupKey,
|
|
3017
3035
|
groupKey,
|
|
3018
3036
|
limit,
|
|
3019
3037
|
kind
|
|
3020
|
-
}) => normalizeRetrievalReleaseDecisionRecords(await Promise.resolve(store.listDecisions({ groupKey, kind, limit })));
|
|
3038
|
+
}) => normalizeRetrievalReleaseDecisionRecords(await Promise.resolve(store.listDecisions({ corpusGroupKey, groupKey, kind, limit })));
|
|
3021
3039
|
var loadRAGRetrievalLaneHandoffDecisions = async ({
|
|
3022
3040
|
store,
|
|
3041
|
+
corpusGroupKey,
|
|
3023
3042
|
groupKey,
|
|
3024
3043
|
limit,
|
|
3025
3044
|
kind,
|
|
3026
3045
|
sourceRolloutLabel,
|
|
3027
3046
|
targetRolloutLabel
|
|
3028
3047
|
}) => normalizeRetrievalLaneHandoffDecisionRecords(await Promise.resolve(store.listDecisions({
|
|
3048
|
+
corpusGroupKey,
|
|
3029
3049
|
groupKey,
|
|
3030
3050
|
kind,
|
|
3031
3051
|
limit,
|
|
@@ -3034,12 +3054,14 @@ var loadRAGRetrievalLaneHandoffDecisions = async ({
|
|
|
3034
3054
|
})));
|
|
3035
3055
|
var loadRAGRetrievalReleaseIncidents = async ({
|
|
3036
3056
|
store,
|
|
3057
|
+
corpusGroupKey,
|
|
3037
3058
|
groupKey,
|
|
3038
3059
|
limit,
|
|
3039
3060
|
targetRolloutLabel,
|
|
3040
3061
|
status,
|
|
3041
3062
|
severity
|
|
3042
3063
|
}) => normalizeRetrievalReleaseIncidentRecords(await Promise.resolve(store.listIncidents({
|
|
3064
|
+
corpusGroupKey,
|
|
3043
3065
|
groupKey,
|
|
3044
3066
|
limit,
|
|
3045
3067
|
severity,
|
|
@@ -3048,12 +3070,14 @@ var loadRAGRetrievalReleaseIncidents = async ({
|
|
|
3048
3070
|
})));
|
|
3049
3071
|
var loadRAGRetrievalLaneHandoffIncidents = async ({
|
|
3050
3072
|
store,
|
|
3073
|
+
corpusGroupKey,
|
|
3051
3074
|
groupKey,
|
|
3052
3075
|
limit,
|
|
3053
3076
|
targetRolloutLabel,
|
|
3054
3077
|
status,
|
|
3055
3078
|
severity
|
|
3056
3079
|
}) => normalizeRetrievalReleaseIncidentRecords(await Promise.resolve(store.listIncidents({
|
|
3080
|
+
corpusGroupKey,
|
|
3057
3081
|
groupKey,
|
|
3058
3082
|
limit,
|
|
3059
3083
|
severity,
|
|
@@ -3062,12 +3086,14 @@ var loadRAGRetrievalLaneHandoffIncidents = async ({
|
|
|
3062
3086
|
})));
|
|
3063
3087
|
var loadRAGRetrievalLaneHandoffIncidentHistory = async ({
|
|
3064
3088
|
store,
|
|
3089
|
+
corpusGroupKey,
|
|
3065
3090
|
action,
|
|
3066
3091
|
groupKey,
|
|
3067
3092
|
incidentId,
|
|
3068
3093
|
limit,
|
|
3069
3094
|
targetRolloutLabel
|
|
3070
3095
|
}) => await Promise.resolve(store.listRecords({
|
|
3096
|
+
corpusGroupKey,
|
|
3071
3097
|
action,
|
|
3072
3098
|
groupKey,
|
|
3073
3099
|
incidentId,
|
|
@@ -3112,21 +3138,25 @@ var loadRAGRetrievalIncidentRemediationExecutionHistory = async ({
|
|
|
3112
3138
|
})));
|
|
3113
3139
|
var loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory = async ({
|
|
3114
3140
|
store,
|
|
3141
|
+
corpusGroupKey,
|
|
3115
3142
|
groupKey,
|
|
3116
3143
|
limit,
|
|
3117
3144
|
targetRolloutLabel
|
|
3118
3145
|
}) => await Promise.resolve(store.listRecords({
|
|
3146
|
+
corpusGroupKey,
|
|
3119
3147
|
groupKey,
|
|
3120
3148
|
limit,
|
|
3121
3149
|
targetRolloutLabel
|
|
3122
3150
|
}));
|
|
3123
3151
|
var loadRAGRetrievalReleaseLanePolicyHistory = async ({
|
|
3124
3152
|
store,
|
|
3153
|
+
corpusGroupKey,
|
|
3125
3154
|
groupKey,
|
|
3126
3155
|
limit,
|
|
3127
3156
|
rolloutLabel,
|
|
3128
3157
|
scope
|
|
3129
3158
|
}) => await Promise.resolve(store.listRecords({
|
|
3159
|
+
corpusGroupKey,
|
|
3130
3160
|
groupKey,
|
|
3131
3161
|
limit,
|
|
3132
3162
|
rolloutLabel,
|
|
@@ -3134,11 +3164,13 @@ var loadRAGRetrievalReleaseLanePolicyHistory = async ({
|
|
|
3134
3164
|
}));
|
|
3135
3165
|
var loadRAGRetrievalBaselineGatePolicyHistory = async ({
|
|
3136
3166
|
store,
|
|
3167
|
+
corpusGroupKey,
|
|
3137
3168
|
groupKey,
|
|
3138
3169
|
limit,
|
|
3139
3170
|
rolloutLabel,
|
|
3140
3171
|
scope
|
|
3141
3172
|
}) => await Promise.resolve(store.listRecords({
|
|
3173
|
+
corpusGroupKey,
|
|
3142
3174
|
groupKey,
|
|
3143
3175
|
limit,
|
|
3144
3176
|
rolloutLabel,
|
|
@@ -3146,6 +3178,7 @@ var loadRAGRetrievalBaselineGatePolicyHistory = async ({
|
|
|
3146
3178
|
}));
|
|
3147
3179
|
var loadRAGRetrievalReleaseLaneEscalationPolicyHistory = async ({
|
|
3148
3180
|
store,
|
|
3181
|
+
corpusGroupKey,
|
|
3149
3182
|
groupKey,
|
|
3150
3183
|
limit,
|
|
3151
3184
|
targetRolloutLabel
|
|
@@ -8240,5 +8273,5 @@ export {
|
|
|
8240
8273
|
AIStreamKey
|
|
8241
8274
|
};
|
|
8242
8275
|
|
|
8243
|
-
//# debugId=
|
|
8276
|
+
//# debugId=BE0A09693EEBBF6164756E2164756E21
|
|
8244
8277
|
//# sourceMappingURL=index.js.map
|