@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.
@@ -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;
@@ -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=32EAE95382EB7CBC64756E2164756E21
4126
+ //# debugId=D34D0E54CA12CE9564756E2164756E21
4107
4127
  //# sourceMappingURL=index.js.map