产品

datasette-apps 0.3a0 发布:强化与 Datasette Agent 的集成

datasette-apps 0.3a0

精选理由

Simon Willison 的 Datasette Apps 更新了:agent 聊天里打 # 就能引用应用,写入查询还得你手动批准,安全细节做得挺细。

Simon Willison 发布 datasette-apps 0.3a0,改进 Datasette 内托管和编辑自定义 HTML 应用的体验。新版本中,用户在 Datasette Agent 聊天中输入 # 可以自动补全并引用自己有权限查看的应用。新增 app_add_stored_queries() 和 app_remove_stored_queries() 两个工具,让 agent 管理应用可调用的存储查询,其中写入查询需要用户先批准。app_create() 现在会检查请求的存储查询是否存在且用户可查看,并在创建应用前要求用户批准任何写入查询。

原文 · Simon Willison’s Weblog

datasette-apps 0.3a0

Release: datasette-apps 0.3a0 Datasette Apps adds support for hosting and editing custom HTML applications inside of Datasette. These can be created by hand, but it's easier to create them using LLMs via Datasette Agent . This release improves that integration: Apps can now be tagged in Datasette Agent chat messages by typing # , which autocompletes from the apps the user has permission to view. New app_add_stored_queries() and app_remove_stored_queries() tools let the agent manage which stored queries an app is allowed to call. Granting a write query requires approval from the user first. app_create() now checks that each requested stored query exists and that the user can view it, and asks the user to approve any write queries before the app is created. The "View app" buttons shown by the agent tools, and the links on # app references, now open the app full screen in the Datasette Agent panel. Tags: datasette , datasette-agent , datasette-apps

datasette-apps 0.3a0 发布:强化与 Datasette Agent 的集成|AI热报