跳到正文
Simon Willison·· 22 小时前AI 评分46

datasette-agent 0.5a0 发布:新增 panel 侧边聊天面板

datasette-agent 0.5a0

AI 导读

datasette-agent 0.5a0 发布,最重要的新功能是 panel:agent 聊天窗口可与 Datasette 的表格或查询页面并排打开。配合 datasette-apps,用户可以通过提示词生成基于数据库的应用,并在旁边的聊天中继续修改。可用 GitHub 账号登录 agent.datasette.io 试用。

正文 · AI 翻译

这是 Datasette Agent 的一个重要版本。最值得注意的新功能叫做 面板——它让智能体聊天窗口打开后可以停靠在 Datasette 的页面旁边,例如表格或查询页面。

与 datasette-apps 结合使用时,这意味着你可以通过提示词让一个基于数据库的应用凭空生成,然后在与该应用并排的聊天窗口中对其进行修改。

Screenshot of a split-screen chat interface titled "evaluate llm prices" (model tag "gpt-6-luna"): the conversation runs in a narrow column on the left, and a wide side panel on the right displays the app the assistant built, with "EXPORT" and "Close panel" buttons above it. In the chat, blue user bubbles read "Build an app to help explore this data" and "give it a more hacker aesthetic design", each followed by collapsed tool calls (app_create, app_render, app_view, app_str_replace), "LLM Price Explorer v1." and "v2." entries with "View app" and "Edit" buttons, and short assistant replies describing the app and its new dark terminal-inspired theme. The right panel shows the resulting "LLM Price Explorer" in neon green monospace on black: stat cards for 185 models from 12 providers with workload costs from $0.042 (Jev 1.13) to $300.00 (o1 Pro), filter and workload cost estimate controls, and a table of matching models with input, output and cached input prices per million tokens.

你可以通过 GitHub 账号登录 agent.datasette.io 来试用它。

来源: Simon Willison · simonwillison.net