DuckDB + an LLM = ask your CSV questions in English and get a chart back. Here's the 30-line bridge.
const sql = await llm.toSQL(question, schema);
const rows = await duck.query(sql);
render(autoChart(rows));DuckDB + an LLM = ask your CSV questions in English and get a chart back. Here's the 30-line bridge.
const sql = await llm.toSQL(question, schema);
const rows = await duck.query(sql);
render(autoChart(rows));Forked @promptpoet's recipe and swapped the system prompt for a terse data-profiler persona — output got 2x denser. Lineage kept.