@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.
- package/dist/ai/client/index.js +18 -4
- package/dist/ai/client/index.js.map +3 -3
- package/dist/ai/index.js +60 -7
- package/dist/ai/index.js.map +5 -5
- 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 +18 -4
- 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/lexical.d.ts +9 -0
- package/dist/src/ai/rag/quality.d.ts +7 -1
- package/dist/src/vue/ai/useRAG.d.ts +8 -0
- package/dist/src/vue/ai/useRAGEvaluate.d.ts +6 -0
- package/dist/src/vue/ai/useRAGSearch.d.ts +2 -0
- package/dist/svelte/ai/index.js +18 -4
- package/dist/svelte/ai/index.js.map +3 -3
- package/dist/types/ai.d.ts +6 -1
- package/dist/vue/ai/index.js +18 -4
- package/dist/vue/ai/index.js.map +3 -3
- package/package.json +7 -7
package/dist/react/ai/index.js
CHANGED
|
@@ -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
|
|
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 {
|
|
@@ -4685,5 +4699,5 @@ export {
|
|
|
4685
4699
|
AIStreamProvider
|
|
4686
4700
|
};
|
|
4687
4701
|
|
|
4688
|
-
//# debugId=
|
|
4702
|
+
//# debugId=C35C4A2183C5CD5C64756E2164756E21
|
|
4689
4703
|
//# sourceMappingURL=index.js.map
|