ML Lab

return to home
{% with msgs = get_flashed_messages() %} {% if msgs %}
    {% for m in msgs %}
  • {{ m }}
  • {% endfor %}
{% endif %} {% endwith %}
{% if datasets %}
Current dataset: {{ selected_dataset }}
{% else %}

No datasets uploaded yet. Upload a CSV to begin.

{% endif %}
{% if section == 'explore' %}

Explore Data

{% if askai_question %}

My Thought Process:
{{ refined_question|safe }}

{% if tasks %} Tasks Performed:
{% for task in tasks %} - {{ task }}
{% endfor %} {% endif %}

{% if llm_usage %}
LLM: {{ llm_usage.provider }} | {{ llm_usage.model }}
Token Usage:
  • - Input Tokens: {{ llm_usage.input_tokens }}
  • - Output Tokens: {{ llm_usage.output_tokens }}
  • - Total Tokens: {{ llm_usage.total_tokens }}
  • {% endif %} {% endif %} {% if ai_outputs %}

    Result

    {% for html_block in ai_outputs %}
    {{ html_block | safe }}
    {% endfor %} {% endif %} {% if ai_code %}
    Show Code
    {% endif %}
    {% for cell in data_cells %}

    {{ cell.title }}

    {{ cell.output|safe }}
    {% if cell.highlighted_code %}
    Show code
    {{ cell.highlighted_code|safe }}
    {% endif %}
    {% endfor %}
    {% endif %}