AI产品精选

datasette-agent 0.3a0 新增 execute_write_sql 工具,需用户批准写数据库

datasette-agent 0.3a0

精选理由

Simon Willison 发布的 datasette-agent 新版本让你可以安全地用自然语言操作数据库,写操作需要你点头,还能用 --unsafe 一键自动批准,适合快速原型。

AI 摘要

datasette-agent 0.3a0 发布,新增 execute_write_sql 工具,该工具会请求用户批准后再执行数据库写入操作,同时考虑用户权限。版本还增强了聊天终端模式,支持用户批准流程,并新增 --unsafe 模式自动批准所有用户确认问题。新选项包括 --root(以 root 运行)、--yes(自动批准所有 ask user 问题)和 --unsafe(同时启用前两者)。用户可通过 datasette agent chat content.db -m gpt-5.5 --unsafe 命令直接与特定数据库对话,并通过自然语言指令创建表或添加记录。

AI 翻译 · 中文

datasette-agent 0.3a0 发布,新增 execute_write_sql 工具,该工具会请求用户批准后再执行数据库写入操作,同时考虑用户权限。版本还增强了聊天终端模式,支持用户批准流程,并新增 --unsafe 模式自动批准所有用户确认问题。新选项包括 --root(以 root 运行)、--yes(自动批准所有 ask user 问题)和 --unsafe(同时启用前两者)。用户可通过 datasette agent chat content.db -m gpt-5.5 --unsafe 命令直接与特定数据库对话,并通过自然语言指令创建表或添加记录。

Simon Willison’s WeblogRelease: datasette-agent 0.3a0 New tool, execute_write_sql , which requests user approval and then writes to a database - taking user permissions into account. #27 I added a mechanism for asking user approval in datasett