@absolutejs/absolute 0.19.0-beta.543 → 0.19.0-beta.544
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 +21 -1
- package/dist/ai/client/index.js.map +3 -3
- package/dist/ai/index.js +22 -1
- package/dist/ai/index.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 +21 -1
- package/dist/react/ai/index.js.map +3 -3
- package/dist/src/ai/index.d.ts +1 -1
- package/dist/src/ai/rag/index.d.ts +1 -1
- package/dist/src/ai/rag/quality.d.ts +7 -1
- package/dist/svelte/ai/index.js +21 -1
- package/dist/svelte/ai/index.js.map +3 -3
- package/dist/types/ai.d.ts +4 -0
- package/dist/vue/ai/index.js +21 -1
- package/dist/vue/ai/index.js.map +3 -3
- package/package.json +1 -1
package/dist/types/ai.d.ts
CHANGED
|
@@ -1344,6 +1344,10 @@ export type RAGGroundingProviderOverviewPresentation = {
|
|
|
1344
1344
|
winnerSummary: string;
|
|
1345
1345
|
rows: RAGLabelValueRow[];
|
|
1346
1346
|
};
|
|
1347
|
+
export type RAGQualityOverviewPresentation = {
|
|
1348
|
+
rows: RAGLabelValueRow[];
|
|
1349
|
+
insights: string[];
|
|
1350
|
+
};
|
|
1347
1351
|
export type RAGGroundingProviderCaseComparisonPresentation = {
|
|
1348
1352
|
caseId: string;
|
|
1349
1353
|
label: string;
|
package/dist/vue/ai/index.js
CHANGED
|
@@ -2505,6 +2505,26 @@ var buildRAGGroundingProviderOverviewPresentation = (input) => {
|
|
|
2505
2505
|
winnerSummary: winnerEntry ? `passing ${formatEvaluationPassingRate(winnerEntry.response.passingRate)} \xB7 citation f1 ${winnerEntry.response.summary.averageCitationF1.toFixed(3)} \xB7 resolved ${formatEvaluationPassingRate(winnerEntry.response.summary.averageResolvedCitationRate)}` : "Stored workflow evaluation"
|
|
2506
2506
|
};
|
|
2507
2507
|
};
|
|
2508
|
+
var buildRAGQualityOverviewPresentation = (input) => ({
|
|
2509
|
+
rows: [
|
|
2510
|
+
...buildRAGRetrievalComparisonOverviewPresentation(input.retrievalComparison).rows,
|
|
2511
|
+
...buildRAGRerankerComparisonOverviewPresentation(input.rerankerComparison).rows,
|
|
2512
|
+
{
|
|
2513
|
+
label: "Grounding",
|
|
2514
|
+
value: formatGroundingHistorySummaryValue(input.groundingEvaluation)
|
|
2515
|
+
},
|
|
2516
|
+
...input.groundingProviderOverview?.rows ?? [
|
|
2517
|
+
{
|
|
2518
|
+
label: "Grounding providers",
|
|
2519
|
+
value: "Configure an AI provider to compare grounded answers."
|
|
2520
|
+
}
|
|
2521
|
+
]
|
|
2522
|
+
],
|
|
2523
|
+
insights: [
|
|
2524
|
+
"The example should answer three questions quickly: which strategy wins, whether grounding is stable, and whether the result regressed.",
|
|
2525
|
+
"Detailed case-by-case evidence stays behind collapsible sections so the page reads like a product surface instead of a console buffer."
|
|
2526
|
+
]
|
|
2527
|
+
});
|
|
2508
2528
|
var buildRAGGroundingProviderCaseComparisonPresentations = (comparisons) => comparisons.map((comparison) => {
|
|
2509
2529
|
const resolveLabel = (key) => comparison.entries.find((entry) => entry.providerKey === key)?.label ?? key ?? "n/a";
|
|
2510
2530
|
return {
|
|
@@ -4103,5 +4123,5 @@ export {
|
|
|
4103
4123
|
AIStreamKey
|
|
4104
4124
|
};
|
|
4105
4125
|
|
|
4106
|
-
//# debugId=
|
|
4126
|
+
//# debugId=D34D0E54CA12CE9564756E2164756E21
|
|
4107
4127
|
//# sourceMappingURL=index.js.map
|