Closed simonw closed 6 months ago
I'm going to use a custom datasette-extract
permission for this - it costs money to run the GPT-4 API so having a separate permission makes sense.
I'm going to require both create-table
and insert-rows
as well, otherwise installing this plugin might accidentally give users a backdoor way to create tables that they did not have before.
These need to be taken into account by the code that shows the menu items too.
At a minimum can bootstrap off the existing
create-table
andinsert-rows
permissions in Datasette 1.0.