Amp 支持在线程内生成可视化内容
据 Amp Chronicle 报道,用户现在可以直接在线程中要求 Amp 生成图表、时间线、示意图和可点击浏览的模型原型。示例包括展示代码仓库过去一个月的提交记录,以及探索适用于桌面端、Web、Android 和 iOS 的紧凑差异统计显示方案。
You can now ask Amp to visualize or build something for you and it will do it, right in the thread: charts, timelines, diagrams, and mockups you can click through.
Here are some examples, from our real threads. Go ahead, hover and click through them:
Visualize the commits in this repo over the last month.
Here, for example, is an excerpt from Quinn's thread, where he asked for ways to fit a diff stat into a small button:
When we are showing the changes chip above the prompt editor, I want to show the diff stat on desktop. But then on smaller screens, including mobile and tablets, I want to find a way on both Android and web and iOS to show something that's like a diff stat, but that fits within the button. And I think that we could try using like small squares that are green, yellow, and red, of course, you know, using colorblind valid colors if so. So give me a bunch of different variants of how this could look for all the different ways we could convey the diff stat little blocks, like radially. I mean, they could also just, you know, be different shapes too, radially, and then also what that looks like on all the different platforms. And let me choose from there and iterate from there.
Show AllShow Less
And here's what went into building this feature:
Can you visualize the commits and messages and tests and files and diffs that went into this feature? @Nicolay Gerold built it.