@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/react/ai/index.js
CHANGED
|
@@ -2481,6 +2481,26 @@ var buildRAGGroundingProviderOverviewPresentation = (input) => {
|
|
|
2481
2481
|
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"
|
|
2482
2482
|
};
|
|
2483
2483
|
};
|
|
2484
|
+
var buildRAGQualityOverviewPresentation = (input) => ({
|
|
2485
|
+
rows: [
|
|
2486
|
+
...buildRAGRetrievalComparisonOverviewPresentation(input.retrievalComparison).rows,
|
|
2487
|
+
...buildRAGRerankerComparisonOverviewPresentation(input.rerankerComparison).rows,
|
|
2488
|
+
{
|
|
2489
|
+
label: "Grounding",
|
|
2490
|
+
value: formatGroundingHistorySummaryValue(input.groundingEvaluation)
|
|
2491
|
+
},
|
|
2492
|
+
...input.groundingProviderOverview?.rows ?? [
|
|
2493
|
+
{
|
|
2494
|
+
label: "Grounding providers",
|
|
2495
|
+
value: "Configure an AI provider to compare grounded answers."
|
|
2496
|
+
}
|
|
2497
|
+
]
|
|
2498
|
+
],
|
|
2499
|
+
insights: [
|
|
2500
|
+
"The example should answer three questions quickly: which strategy wins, whether grounding is stable, and whether the result regressed.",
|
|
2501
|
+
"Detailed case-by-case evidence stays behind collapsible sections so the page reads like a product surface instead of a console buffer."
|
|
2502
|
+
]
|
|
2503
|
+
});
|
|
2484
2504
|
var buildRAGGroundingProviderCaseComparisonPresentations = (comparisons) => comparisons.map((comparison) => {
|
|
2485
2505
|
const resolveLabel = (key) => comparison.entries.find((entry) => entry.providerKey === key)?.label ?? key ?? "n/a";
|
|
2486
2506
|
return {
|
|
@@ -4327,5 +4347,5 @@ export {
|
|
|
4327
4347
|
AIStreamProvider
|
|
4328
4348
|
};
|
|
4329
4349
|
|
|
4330
|
-
//# debugId=
|
|
4350
|
+
//# debugId=A5110596E7BFC49C64756E2164756E21
|
|
4331
4351
|
//# sourceMappingURL=index.js.map
|