@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/ai/index.js
CHANGED
|
@@ -6028,6 +6028,26 @@ var buildRAGGroundingProviderOverviewPresentation = (input) => {
|
|
|
6028
6028
|
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"
|
|
6029
6029
|
};
|
|
6030
6030
|
};
|
|
6031
|
+
var buildRAGQualityOverviewPresentation = (input) => ({
|
|
6032
|
+
rows: [
|
|
6033
|
+
...buildRAGRetrievalComparisonOverviewPresentation(input.retrievalComparison).rows,
|
|
6034
|
+
...buildRAGRerankerComparisonOverviewPresentation(input.rerankerComparison).rows,
|
|
6035
|
+
{
|
|
6036
|
+
label: "Grounding",
|
|
6037
|
+
value: formatGroundingHistorySummaryValue(input.groundingEvaluation)
|
|
6038
|
+
},
|
|
6039
|
+
...input.groundingProviderOverview?.rows ?? [
|
|
6040
|
+
{
|
|
6041
|
+
label: "Grounding providers",
|
|
6042
|
+
value: "Configure an AI provider to compare grounded answers."
|
|
6043
|
+
}
|
|
6044
|
+
]
|
|
6045
|
+
],
|
|
6046
|
+
insights: [
|
|
6047
|
+
"The example should answer three questions quickly: which strategy wins, whether grounding is stable, and whether the result regressed.",
|
|
6048
|
+
"Detailed case-by-case evidence stays behind collapsible sections so the page reads like a product surface instead of a console buffer."
|
|
6049
|
+
]
|
|
6050
|
+
});
|
|
6031
6051
|
var buildRAGGroundingProviderCaseComparisonPresentations = (comparisons) => comparisons.map((comparison) => {
|
|
6032
6052
|
const resolveLabel = (key) => comparison.entries.find((entry) => entry.providerKey === key)?.label ?? key ?? "n/a";
|
|
6033
6053
|
return {
|
|
@@ -12088,6 +12108,7 @@ export {
|
|
|
12088
12108
|
buildRAGRetrievalComparisonCardPresentations,
|
|
12089
12109
|
buildRAGRerankerComparisonOverviewPresentation,
|
|
12090
12110
|
buildRAGRerankerComparisonCardPresentations,
|
|
12111
|
+
buildRAGQualityOverviewPresentation,
|
|
12091
12112
|
buildRAGLexicalHaystack,
|
|
12092
12113
|
buildRAGGroundingReferences,
|
|
12093
12114
|
buildRAGGroundingProviderOverviewPresentation,
|
|
@@ -12121,5 +12142,5 @@ export {
|
|
|
12121
12142
|
aiChat
|
|
12122
12143
|
};
|
|
12123
12144
|
|
|
12124
|
-
//# debugId=
|
|
12145
|
+
//# debugId=E0498D47AC99E3D364756E2164756E21
|
|
12125
12146
|
//# sourceMappingURL=index.js.map
|