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 }}

Tasks Performed:
{% for task in tasks %} {{ task.replace("_", " ").capitalize() + ", " }} {% endfor %}

{% if llm_usage %}
LLM Tokens:
{% if llm_usage %} Provider: {{ llm_usage.provider }}, Model: {{ llm_usage.model }}, Input: {{ llm_usage.input_tokens }}, Output: {{ llm_usage.output_tokens }}, Total: {{ llm_usage.total_tokens }} {% else %} No usage information available. {% endif %}

{% 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 %}