{% extends "base.html" %} {% block title %}AI Insights{% endblock %} {% block content %}

🧠 AI Insights

Smart data-driven recommendations from your dataset

{% if not has_data %}
💡
No Insights Available

Upload a dataset to generate AI-powered insights and recommendations.

Upload Dataset
{% else %}
🤖
AI Analysis Complete
Generated {{ insights | length }} insights from your data
{% for insight in insights %}
{% if insight.type == 'success' %}✅{% elif insight.type == 'warning' %}âš ī¸{% elif insight.type == 'danger' %}🚨{% else %}â„šī¸{% endif %} {{ insight.type | upper }}
{{ insight.title }}
{{ insight.content }}
{% endfor %} {% endif %}
{% endblock %}