@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.
package/dist/ai/index.js CHANGED
@@ -6370,10 +6370,14 @@ var buildRAGGroundingProviderOverviewPresentation = (input) => {
6370
6370
  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"
6371
6371
  };
6372
6372
  };
6373
- var buildRAGQualityOverviewPresentation = (input) => ({
6373
+ var buildRAGRetrievalOverviewPresentation = (comparison) => ({
6374
+ rows: buildRAGRetrievalComparisonOverviewPresentation(comparison).rows
6375
+ });
6376
+ var buildRAGRerankerOverviewPresentation = (comparison) => ({
6377
+ rows: buildRAGRerankerComparisonOverviewPresentation(comparison).rows
6378
+ });
6379
+ var buildRAGGroundingOverviewPresentation = (input) => ({
6374
6380
  rows: [
6375
- ...buildRAGRetrievalComparisonOverviewPresentation(input.retrievalComparison).rows,
6376
- ...buildRAGRerankerComparisonOverviewPresentation(input.rerankerComparison).rows,
6377
6381
  {
6378
6382
  label: "Grounding",
6379
6383
  value: formatGroundingHistorySummaryValue(input.groundingEvaluation)
@@ -6386,6 +6390,16 @@ var buildRAGQualityOverviewPresentation = (input) => ({
6386
6390
  ]
6387
6391
  ]
6388
6392
  });
6393
+ var buildRAGQualityOverviewPresentation = (input) => ({
6394
+ rows: [
6395
+ ...buildRAGRetrievalOverviewPresentation(input.retrievalComparison).rows,
6396
+ ...buildRAGRerankerOverviewPresentation(input.rerankerComparison).rows,
6397
+ ...buildRAGGroundingOverviewPresentation({
6398
+ groundingEvaluation: input.groundingEvaluation,
6399
+ groundingProviderOverview: input.groundingProviderOverview
6400
+ }).rows
6401
+ ]
6402
+ });
6389
6403
  var buildRAGGroundingProviderCaseComparisonPresentations = (comparisons) => comparisons.map((comparison) => {
6390
6404
  const resolveLabel = (key) => comparison.entries.find((entry) => entry.providerKey === key)?.label ?? key ?? "n/a";
6391
6405
  return {
@@ -12444,8 +12458,10 @@ export {
12444
12458
  buildRAGSourceSummaries,
12445
12459
  buildRAGSourceGroups,
12446
12460
  buildRAGRetrievalTracePresentation,
12461
+ buildRAGRetrievalOverviewPresentation,
12447
12462
  buildRAGRetrievalComparisonPresentations,
12448
12463
  buildRAGRetrievalComparisonOverviewPresentation,
12464
+ buildRAGRerankerOverviewPresentation,
12449
12465
  buildRAGRerankerComparisonPresentations,
12450
12466
  buildRAGRerankerComparisonOverviewPresentation,
12451
12467
  buildRAGReadinessPresentation,
@@ -12455,6 +12471,7 @@ export {
12455
12471
  buildRAGGroundingProviderPresentations,
12456
12472
  buildRAGGroundingProviderOverviewPresentation,
12457
12473
  buildRAGGroundingProviderCaseComparisonPresentations,
12474
+ buildRAGGroundingOverviewPresentation,
12458
12475
  buildRAGGroundedAnswer,
12459
12476
  buildRAGEvaluationRunDiff,
12460
12477
  buildRAGEvaluationResponse,
@@ -12488,5 +12505,5 @@ export {
12488
12505
  aiChat
12489
12506
  };
12490
12507
 
12491
- //# debugId=87BF178FDB66370264756E2164756E21
12508
+ //# debugId=7DAB512A9E25D04564756E2164756E21
12492
12509
  //# sourceMappingURL=index.js.map