微软发布 Flint:面向 AI 时代的可视化中间语言
原标题:Flint: A visualization language for the AI era
AI 摘要
微软研究院发布了 Flint,一种面向 AI 时代的可视化中间语言,旨在帮助 AI 代理从简单、可编辑的规范生成表达力强且美观的图表。Flint 利用语义数据类型自动推导图表设计决策,并支持编译到 Vega-Lite、Apache ECharts 和 Chart.js 等多个后端。研究显示,Flint 在 LLM 评估中优于直接生成 Vega-Lite 的基线方法,并已用于微软的 Data Formulator 项目。同时,微软还发布了 flint-chart-mcp 服务器,方便代理在聊天或编码环境中创建和渲染图表。
正文节选
At a glance - Polished charts from simple specs. Flint allows AI agents to reliably generate expressive, visually polished charts from simple, human-editable specifications. - Semantic types guide design. Flint leverages semantic data types to express meanings of data. They help the compiler choose appropriate scales, baselines, formatting, and color schemes. - Layouts adapt to the data. Flint automatically manages sizing, spacing, labels, and layout so charts remain readable as cardinality and