asdasd
This commit is contained in:
@@ -162,9 +162,14 @@ export default function PredictionsChart({
|
||||
<CardTitle className="flex items-center gap-2">
|
||||
<BarChart3 className="h-5 w-5" />
|
||||
Predictions & Forecasting
|
||||
{predictions.sales.aiModel?.used && (
|
||||
<Sparkles className="h-4 w-4 text-purple-500" />
|
||||
)}
|
||||
</CardTitle>
|
||||
<CardDescription>
|
||||
AI-powered predictions for sales, demand, and inventory
|
||||
{predictions.sales.aiModel?.used
|
||||
? "AI neural network + statistical models for sales, demand, and inventory"
|
||||
: "AI-powered predictions for sales, demand, and inventory"}
|
||||
</CardDescription>
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
@@ -242,6 +247,16 @@ export default function PredictionsChart({
|
||||
</span>
|
||||
)}
|
||||
</Badge>
|
||||
{predictions.sales.aiModel?.used && (
|
||||
<Badge variant="outline" className="bg-purple-500/10 text-purple-700 dark:text-purple-400 border-purple-500/30">
|
||||
🤖 AI Powered
|
||||
{predictions.sales.aiModel.modelAccuracy !== undefined && (
|
||||
<span className="ml-1 opacity-75">
|
||||
({Math.round(predictions.sales.aiModel.modelAccuracy * 100)}%)
|
||||
</span>
|
||||
)}
|
||||
</Badge>
|
||||
)}
|
||||
{predictions.sales.trend && (
|
||||
<Badge
|
||||
variant="outline"
|
||||
|
||||
Reference in New Issue
Block a user