Datasette Charts 0.2a0 集成智能体对话生成图表
Datasette Charts 0.2a0 版本新增与 Datasette Agent 的集成,用户可在对话中直接请求生成图表,插件复用同一套图表建议与生成工具。演示中智能体能在聊天内联展示图表,并感知用户在图表面板中的切换操作,对当前图表内容作出描述。
报道正文
I introduced this new charting plugin for Datasette yesterday. Today it's gained integration with Datasette Agent, so now you can ask chat for a chart and it will create one for you using the same underlying chart suggestion and generation tools.
Here's a demo video, recorded on agent.datasette.io where you can sign in with GitHub to try the plugin yourself:
I prompt Datasette Agent to "Use #stats to show sqlite-utils downloads over time as a chart" - where typing "#stats" opens a table search box. It shows me a chart inline in the chat, and when I click "Open in the chart builder" it opens the chart in a panel along with the table page. I use the table page to switch to a chart of "datasette", then when I ask the agent "what does the chart show?" it notices that I changed the content in the panel and describes the new Datasette chart to me.
Here's a Markdown export of the chat from the video.