@absolutejs/absolute 0.19.0-beta.545 → 0.19.0-beta.546
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 +5 -9
- package/dist/ai/client/index.js.map +4 -4
- package/dist/ai/index.js +5 -9
- package/dist/ai/index.js.map +4 -4
- package/dist/angular/ai/index.js +2 -2
- package/dist/angular/ai/index.js.map +3 -3
- package/dist/react/ai/index.js +5 -9
- package/dist/react/ai/index.js.map +4 -4
- package/dist/svelte/ai/index.js +5 -9
- package/dist/svelte/ai/index.js.map +4 -4
- package/dist/types/ai.d.ts +3 -4
- package/dist/vue/ai/index.js +5 -9
- package/dist/vue/ai/index.js.map +4 -4
- package/package.json +7 -7
package/dist/types/ai.d.ts
CHANGED
|
@@ -1309,7 +1309,7 @@ export type RAGSummarySectionPresentation = {
|
|
|
1309
1309
|
title: string;
|
|
1310
1310
|
summary: string;
|
|
1311
1311
|
rows?: RAGLabelValueRow[];
|
|
1312
|
-
|
|
1312
|
+
tags?: string[];
|
|
1313
1313
|
};
|
|
1314
1314
|
export type RAGReadinessPresentation = {
|
|
1315
1315
|
sections: RAGSummarySectionPresentation[];
|
|
@@ -1341,7 +1341,7 @@ export type RAGAnswerGroundingHistoryPresentation = {
|
|
|
1341
1341
|
export type RAGComparisonPresentation = {
|
|
1342
1342
|
id: string;
|
|
1343
1343
|
label: string;
|
|
1344
|
-
|
|
1344
|
+
summary: string;
|
|
1345
1345
|
traceSummaryRows: RAGLabelValueRow[];
|
|
1346
1346
|
diffLabel: string;
|
|
1347
1347
|
diffRows: RAGLabelValueRow[];
|
|
@@ -1354,7 +1354,7 @@ export type RAGComparisonOverviewPresentation = {
|
|
|
1354
1354
|
export type RAGGroundingProviderPresentation = {
|
|
1355
1355
|
id: string;
|
|
1356
1356
|
label: string;
|
|
1357
|
-
|
|
1357
|
+
summary: string;
|
|
1358
1358
|
};
|
|
1359
1359
|
export type RAGGroundingProviderOverviewPresentation = {
|
|
1360
1360
|
winnerLabel: string;
|
|
@@ -1363,7 +1363,6 @@ export type RAGGroundingProviderOverviewPresentation = {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
export type RAGQualityOverviewPresentation = {
|
|
1365
1365
|
rows: RAGLabelValueRow[];
|
|
1366
|
-
insights: string[];
|
|
1367
1366
|
};
|
|
1368
1367
|
export type RAGGroundingProviderCaseComparisonPresentation = {
|
|
1369
1368
|
caseId: string;
|
package/dist/vue/ai/index.js
CHANGED
|
@@ -1292,7 +1292,7 @@ var buildRAGReadinessPresentation = (readiness) => {
|
|
|
1292
1292
|
label: "Extractors",
|
|
1293
1293
|
title: readiness.extractorsConfigured ? `${readiness.extractorNames.length} configured` : "None configured",
|
|
1294
1294
|
summary: readiness.extractorsConfigured ? `Configured extractors: ${formatCompactList(readiness.extractorNames)}` : "No extractors configured.",
|
|
1295
|
-
|
|
1295
|
+
tags: readiness.extractorNames.length > 0 ? readiness.extractorNames : ["No extractors configured"]
|
|
1296
1296
|
}
|
|
1297
1297
|
]
|
|
1298
1298
|
};
|
|
@@ -2664,7 +2664,7 @@ var buildRAGRetrievalComparisonPresentations = (comparison) => {
|
|
|
2664
2664
|
return comparison.entries.map((entry) => ({
|
|
2665
2665
|
diffLabel: leader?.label ?? "Leader",
|
|
2666
2666
|
diffRows: buildRAGComparisonTraceDiffRows(entry, leader),
|
|
2667
|
-
|
|
2667
|
+
summary: formatRetrievalComparisonHeadline(entry),
|
|
2668
2668
|
id: entry.retrievalId,
|
|
2669
2669
|
label: entry.label,
|
|
2670
2670
|
traceSummaryRows: buildRAGComparisonTraceSummaryRows(entry)
|
|
@@ -2681,7 +2681,7 @@ var buildRAGRerankerComparisonPresentations = (comparison) => {
|
|
|
2681
2681
|
return comparison.entries.map((entry) => ({
|
|
2682
2682
|
diffLabel: leader?.label ?? "Leader",
|
|
2683
2683
|
diffRows: buildRAGComparisonTraceDiffRows(entry, leader),
|
|
2684
|
-
|
|
2684
|
+
summary: formatRerankerComparisonHeadline(entry),
|
|
2685
2685
|
id: entry.rerankerId,
|
|
2686
2686
|
label: entry.label,
|
|
2687
2687
|
traceSummaryRows: buildRAGComparisonTraceSummaryRows(entry)
|
|
@@ -2694,7 +2694,7 @@ var buildRAGRerankerComparisonOverviewPresentation = (comparison) => buildCompar
|
|
|
2694
2694
|
summary: comparison.summary
|
|
2695
2695
|
});
|
|
2696
2696
|
var buildRAGGroundingProviderPresentations = (entries) => entries.map((entry) => ({
|
|
2697
|
-
|
|
2697
|
+
summary: [
|
|
2698
2698
|
entry.label,
|
|
2699
2699
|
`passing ${formatEvaluationPassingRate(entry.response.passingRate)}`,
|
|
2700
2700
|
`citation f1 ${entry.response.summary.averageCitationF1.toFixed(3)}`,
|
|
@@ -2745,10 +2745,6 @@ var buildRAGQualityOverviewPresentation = (input) => ({
|
|
|
2745
2745
|
value: "Configure an AI provider to compare grounded answers."
|
|
2746
2746
|
}
|
|
2747
2747
|
]
|
|
2748
|
-
],
|
|
2749
|
-
insights: [
|
|
2750
|
-
"The example should answer three questions quickly: which strategy wins, whether grounding is stable, and whether the result regressed.",
|
|
2751
|
-
"Detailed case-by-case evidence stays behind collapsible sections so the page reads like a product surface instead of a console buffer."
|
|
2752
2748
|
]
|
|
2753
2749
|
});
|
|
2754
2750
|
var buildRAGGroundingProviderCaseComparisonPresentations = (comparisons) => comparisons.map((comparison) => {
|
|
@@ -4349,5 +4345,5 @@ export {
|
|
|
4349
4345
|
AIStreamKey
|
|
4350
4346
|
};
|
|
4351
4347
|
|
|
4352
|
-
//# debugId=
|
|
4348
|
+
//# debugId=74BB2C03DCCD76CA64756E2164756E21
|
|
4353
4349
|
//# sourceMappingURL=index.js.map
|