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

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.
@@ -1395,6 +1395,9 @@ export type RAGGroundingProviderOverviewPresentation = {
1395
1395
  export type RAGQualityOverviewPresentation = {
1396
1396
  rows: RAGLabelValueRow[];
1397
1397
  };
1398
+ export type RAGGroundingOverviewPresentation = {
1399
+ rows: RAGLabelValueRow[];
1400
+ };
1398
1401
  export type RAGGroundingProviderCaseComparisonPresentation = {
1399
1402
  caseId: string;
1400
1403
  label: string;
@@ -2847,10 +2847,14 @@ var buildRAGGroundingProviderOverviewPresentation = (input) => {
2847
2847
  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"
2848
2848
  };
2849
2849
  };
2850
- var buildRAGQualityOverviewPresentation = (input) => ({
2850
+ var buildRAGRetrievalOverviewPresentation = (comparison) => ({
2851
+ rows: buildRAGRetrievalComparisonOverviewPresentation(comparison).rows
2852
+ });
2853
+ var buildRAGRerankerOverviewPresentation = (comparison) => ({
2854
+ rows: buildRAGRerankerComparisonOverviewPresentation(comparison).rows
2855
+ });
2856
+ var buildRAGGroundingOverviewPresentation = (input) => ({
2851
2857
  rows: [
2852
- ...buildRAGRetrievalComparisonOverviewPresentation(input.retrievalComparison).rows,
2853
- ...buildRAGRerankerComparisonOverviewPresentation(input.rerankerComparison).rows,
2854
2858
  {
2855
2859
  label: "Grounding",
2856
2860
  value: formatGroundingHistorySummaryValue(input.groundingEvaluation)
@@ -2863,6 +2867,16 @@ var buildRAGQualityOverviewPresentation = (input) => ({
2863
2867
  ]
2864
2868
  ]
2865
2869
  });
2870
+ var buildRAGQualityOverviewPresentation = (input) => ({
2871
+ rows: [
2872
+ ...buildRAGRetrievalOverviewPresentation(input.retrievalComparison).rows,
2873
+ ...buildRAGRerankerOverviewPresentation(input.rerankerComparison).rows,
2874
+ ...buildRAGGroundingOverviewPresentation({
2875
+ groundingEvaluation: input.groundingEvaluation,
2876
+ groundingProviderOverview: input.groundingProviderOverview
2877
+ }).rows
2878
+ ]
2879
+ });
2866
2880
  var buildRAGGroundingProviderCaseComparisonPresentations = (comparisons) => comparisons.map((comparison) => {
2867
2881
  const resolveLabel = (key) => comparison.entries.find((entry) => entry.providerKey === key)?.label ?? key ?? "n/a";
2868
2882
  return {
@@ -4461,5 +4475,5 @@ export {
4461
4475
  AIStreamKey
4462
4476
  };
4463
4477
 
4464
- //# debugId=A2EBD5654A45197164756E2164756E21
4478
+ //# debugId=BCFCEA2080243A1864756E2164756E21
4465
4479
  //# sourceMappingURL=index.js.map