@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
|
@@ -120,17 +120,19 @@ export declare const loadRAGSearchTracePruneHistory: ({ store, limit, trigger }:
|
|
|
120
120
|
limit?: number;
|
|
121
121
|
trigger?: RAGSearchTracePruneRun["trigger"];
|
|
122
122
|
}) => Promise<RAGSearchTracePruneRun[]>;
|
|
123
|
-
export declare const loadRAGRetrievalComparisonHistory: ({ store, limit, suiteId, label, winnerId, groupKey, tag }: {
|
|
123
|
+
export declare const loadRAGRetrievalComparisonHistory: ({ store, limit, suiteId, label, winnerId, corpusGroupKey, groupKey, tag }: {
|
|
124
124
|
store: RAGRetrievalComparisonHistoryStore;
|
|
125
125
|
limit?: number;
|
|
126
126
|
suiteId?: string;
|
|
127
127
|
label?: string;
|
|
128
128
|
winnerId?: string;
|
|
129
|
+
corpusGroupKey?: string;
|
|
129
130
|
groupKey?: string;
|
|
130
131
|
tag?: string;
|
|
131
132
|
}) => Promise<RAGRetrievalComparisonRun[]>;
|
|
132
|
-
export declare const loadRAGRetrievalBaselines: ({ store, groupKey, tag, limit, status }: {
|
|
133
|
+
export declare const loadRAGRetrievalBaselines: ({ store, corpusGroupKey, groupKey, tag, limit, status }: {
|
|
133
134
|
store: RAGRetrievalBaselineStore;
|
|
135
|
+
corpusGroupKey?: string;
|
|
134
136
|
groupKey?: string;
|
|
135
137
|
tag?: string;
|
|
136
138
|
limit?: number;
|
|
@@ -140,38 +142,43 @@ export declare const persistRAGRetrievalBaseline: ({ store, record }: {
|
|
|
140
142
|
store: RAGRetrievalBaselineStore;
|
|
141
143
|
record: RAGRetrievalBaselineRecord;
|
|
142
144
|
}) => Promise<RAGRetrievalBaselineRecord>;
|
|
143
|
-
export declare const loadRAGRetrievalReleaseDecisions: ({ store, groupKey, limit, kind }: {
|
|
145
|
+
export declare const loadRAGRetrievalReleaseDecisions: ({ store, corpusGroupKey, groupKey, limit, kind }: {
|
|
144
146
|
store: RAGRetrievalReleaseDecisionStore;
|
|
147
|
+
corpusGroupKey?: string;
|
|
145
148
|
groupKey?: string;
|
|
146
149
|
limit?: number;
|
|
147
150
|
kind?: RAGRetrievalReleaseDecisionRecord["kind"];
|
|
148
151
|
}) => Promise<RAGRetrievalReleaseDecisionRecord[]>;
|
|
149
|
-
export declare const loadRAGRetrievalLaneHandoffDecisions: ({ store, groupKey, limit, kind, sourceRolloutLabel, targetRolloutLabel }: {
|
|
152
|
+
export declare const loadRAGRetrievalLaneHandoffDecisions: ({ store, corpusGroupKey, groupKey, limit, kind, sourceRolloutLabel, targetRolloutLabel }: {
|
|
150
153
|
store: RAGRetrievalLaneHandoffDecisionStore;
|
|
154
|
+
corpusGroupKey?: string;
|
|
151
155
|
groupKey?: string;
|
|
152
156
|
limit?: number;
|
|
153
157
|
kind?: RAGRetrievalLaneHandoffDecisionRecord["kind"];
|
|
154
158
|
sourceRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord["sourceRolloutLabel"];
|
|
155
159
|
targetRolloutLabel?: RAGRetrievalLaneHandoffDecisionRecord["targetRolloutLabel"];
|
|
156
160
|
}) => Promise<RAGRetrievalLaneHandoffDecisionRecord[]>;
|
|
157
|
-
export declare const loadRAGRetrievalReleaseIncidents: ({ store, groupKey, limit, targetRolloutLabel, status, severity }: {
|
|
161
|
+
export declare const loadRAGRetrievalReleaseIncidents: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel, status, severity }: {
|
|
158
162
|
store: RAGRetrievalReleaseIncidentStore;
|
|
163
|
+
corpusGroupKey?: string;
|
|
159
164
|
groupKey?: string;
|
|
160
165
|
limit?: number;
|
|
161
166
|
targetRolloutLabel?: RAGRetrievalReleaseIncidentRecord["targetRolloutLabel"];
|
|
162
167
|
status?: RAGRetrievalReleaseIncidentRecord["status"];
|
|
163
168
|
severity?: RAGRetrievalReleaseIncidentRecord["severity"];
|
|
164
169
|
}) => Promise<RAGRetrievalReleaseIncidentRecord[]>;
|
|
165
|
-
export declare const loadRAGRetrievalLaneHandoffIncidents: ({ store, groupKey, limit, targetRolloutLabel, status, severity }: {
|
|
170
|
+
export declare const loadRAGRetrievalLaneHandoffIncidents: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel, status, severity }: {
|
|
166
171
|
store: RAGRetrievalLaneHandoffIncidentStore;
|
|
172
|
+
corpusGroupKey?: string;
|
|
167
173
|
groupKey?: string;
|
|
168
174
|
limit?: number;
|
|
169
175
|
targetRolloutLabel?: RAGRetrievalLaneHandoffIncidentRecord["targetRolloutLabel"];
|
|
170
176
|
status?: RAGRetrievalLaneHandoffIncidentRecord["status"];
|
|
171
177
|
severity?: RAGRetrievalLaneHandoffIncidentRecord["severity"];
|
|
172
178
|
}) => Promise<RAGRetrievalLaneHandoffIncidentRecord[]>;
|
|
173
|
-
export declare const loadRAGRetrievalLaneHandoffIncidentHistory: ({ store, action, groupKey, incidentId, limit, targetRolloutLabel }: {
|
|
179
|
+
export declare const loadRAGRetrievalLaneHandoffIncidentHistory: ({ store, corpusGroupKey, action, groupKey, incidentId, limit, targetRolloutLabel }: {
|
|
174
180
|
store: RAGRetrievalLaneHandoffIncidentHistoryStore;
|
|
181
|
+
corpusGroupKey?: string;
|
|
175
182
|
action?: RAGRetrievalLaneHandoffIncidentHistoryRecord["action"];
|
|
176
183
|
groupKey?: string;
|
|
177
184
|
incidentId?: string;
|
|
@@ -198,28 +205,32 @@ export declare const loadRAGRetrievalIncidentRemediationExecutionHistory: ({ sto
|
|
|
198
205
|
limit?: number;
|
|
199
206
|
targetRolloutLabel?: RAGRetrievalIncidentRemediationExecutionHistoryRecord["targetRolloutLabel"];
|
|
200
207
|
}) => Promise<RAGRetrievalIncidentRemediationExecutionHistoryRecord[]>;
|
|
201
|
-
export declare const loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory: ({ store, groupKey, limit, targetRolloutLabel }: {
|
|
208
|
+
export declare const loadRAGRetrievalLaneHandoffAutoCompletePolicyHistory: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel }: {
|
|
202
209
|
store: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryStore;
|
|
210
|
+
corpusGroupKey?: string;
|
|
203
211
|
groupKey?: string;
|
|
204
212
|
limit?: number;
|
|
205
213
|
targetRolloutLabel?: RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord["targetRolloutLabel"];
|
|
206
214
|
}) => Promise<RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord[]>;
|
|
207
|
-
export declare const loadRAGRetrievalReleaseLanePolicyHistory: ({ store, groupKey, limit, rolloutLabel, scope }: {
|
|
215
|
+
export declare const loadRAGRetrievalReleaseLanePolicyHistory: ({ store, corpusGroupKey, groupKey, limit, rolloutLabel, scope }: {
|
|
208
216
|
store: RAGRetrievalReleaseLanePolicyHistoryStore;
|
|
217
|
+
corpusGroupKey?: string;
|
|
209
218
|
groupKey?: string;
|
|
210
219
|
limit?: number;
|
|
211
220
|
rolloutLabel?: RAGRetrievalReleaseLanePolicyHistoryRecord["rolloutLabel"];
|
|
212
221
|
scope?: RAGRetrievalReleaseLanePolicyHistoryRecord["scope"];
|
|
213
222
|
}) => Promise<RAGRetrievalReleaseLanePolicyHistoryRecord[]>;
|
|
214
|
-
export declare const loadRAGRetrievalBaselineGatePolicyHistory: ({ store, groupKey, limit, rolloutLabel, scope }: {
|
|
223
|
+
export declare const loadRAGRetrievalBaselineGatePolicyHistory: ({ store, corpusGroupKey, groupKey, limit, rolloutLabel, scope }: {
|
|
215
224
|
store: RAGRetrievalBaselineGatePolicyHistoryStore;
|
|
225
|
+
corpusGroupKey?: string;
|
|
216
226
|
groupKey?: string;
|
|
217
227
|
limit?: number;
|
|
218
228
|
rolloutLabel?: RAGRetrievalBaselineGatePolicyHistoryRecord["rolloutLabel"];
|
|
219
229
|
scope?: RAGRetrievalBaselineGatePolicyHistoryRecord["scope"];
|
|
220
230
|
}) => Promise<RAGRetrievalBaselineGatePolicyHistoryRecord[]>;
|
|
221
|
-
export declare const loadRAGRetrievalReleaseLaneEscalationPolicyHistory: ({ store, groupKey, limit, targetRolloutLabel }: {
|
|
231
|
+
export declare const loadRAGRetrievalReleaseLaneEscalationPolicyHistory: ({ store, corpusGroupKey, groupKey, limit, targetRolloutLabel }: {
|
|
222
232
|
store: RAGRetrievalReleaseLaneEscalationPolicyHistoryStore;
|
|
233
|
+
corpusGroupKey?: string;
|
|
223
234
|
groupKey?: string;
|
|
224
235
|
limit?: number;
|
|
225
236
|
targetRolloutLabel?: RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord["targetRolloutLabel"];
|
package/dist/svelte/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
|
|
@@ -8269,5 +8302,5 @@ export {
|
|
|
8269
8302
|
createAIStream
|
|
8270
8303
|
};
|
|
8271
8304
|
|
|
8272
|
-
//# debugId=
|
|
8305
|
+
//# debugId=8ADE2840A3FFA50B64756E2164756E21
|
|
8273
8306
|
//# sourceMappingURL=index.js.map
|