@absolutejs/absolute 0.19.0-beta.550 → 0.19.0-beta.552

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.
@@ -2823,10 +2823,14 @@ var buildRAGGroundingProviderOverviewPresentation = (input) => {
2823
2823
  summary: 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"
2824
2824
  };
2825
2825
  };
2826
- var buildRAGQualityOverviewPresentation = (input) => ({
2826
+ var buildRAGRetrievalOverviewPresentation = (comparison) => ({
2827
+ rows: buildRAGRetrievalComparisonOverviewPresentation(comparison).rows
2828
+ });
2829
+ var buildRAGRerankerOverviewPresentation = (comparison) => ({
2830
+ rows: buildRAGRerankerComparisonOverviewPresentation(comparison).rows
2831
+ });
2832
+ var buildRAGGroundingOverviewPresentation = (input) => ({
2827
2833
  rows: [
2828
- ...buildRAGRetrievalComparisonOverviewPresentation(input.retrievalComparison).rows,
2829
- ...buildRAGRerankerComparisonOverviewPresentation(input.rerankerComparison).rows,
2830
2834
  {
2831
2835
  label: "Grounding",
2832
2836
  value: formatGroundingHistorySummaryValue(input.groundingEvaluation)
@@ -2839,6 +2843,16 @@ var buildRAGQualityOverviewPresentation = (input) => ({
2839
2843
  ]
2840
2844
  ]
2841
2845
  });
2846
+ var buildRAGQualityOverviewPresentation = (input) => ({
2847
+ rows: [
2848
+ ...buildRAGRetrievalOverviewPresentation(input.retrievalComparison).rows,
2849
+ ...buildRAGRerankerOverviewPresentation(input.rerankerComparison).rows,
2850
+ ...buildRAGGroundingOverviewPresentation({
2851
+ groundingEvaluation: input.groundingEvaluation,
2852
+ groundingProviderOverview: input.groundingProviderOverview
2853
+ }).rows
2854
+ ]
2855
+ });
2842
2856
  var buildRAGGroundingProviderCaseComparisonPresentations = (comparisons) => comparisons.map((comparison) => {
2843
2857
  const resolveLabel = (key) => comparison.entries.find((entry) => entry.providerKey === key)?.label ?? key ?? "n/a";
2844
2858
  return {
@@ -3798,5 +3812,5 @@ export {
3798
3812
  buildRAGAnswerWorkflowState
3799
3813
  };
3800
3814
 
3801
- //# debugId=69CCC661C852B27F64756E2164756E21
3815
+ //# debugId=5CA7C7314F815DCB64756E2164756E21
3802
3816
  //# sourceMappingURL=index.js.map