m4Mindset docs

Demos / Dashboard copilot · Northwind Analytics

Ask your data

Ask a question and the dashboard changes: charts, tables and filters driven by the agent.

The live demo loads here.

What it shows

  • Two pure functions answering questions from a literal demo dataset: group, filter and total, with no database
  • The agent's built-in render_chart, show_table and show_ui output drawn in the dashboard's main panel, in the page's own style
  • Page tools that move the date range and filters (set_date_range, set_dashboard_filter) and pin a chart (pin_insight)
  • Situational awareness sending the range, filters and the KPIs on screen with every turn

Files

  • demos/ask-your-data/demo.json
  • demos/ask-your-data/functions/ask-your-data-query-sales.json
  • src/demos/ask-your-data/index.tsx
  • src/demos/ask-your-data/insights.ts
  • src/demos/ask-your-data/pageTools.ts

Related docs