Is it possible to auto generate an entire column for an AI field? Without clicking generate on each row which is impossible for more than a handful of records. I can’t see how without coding an external script.
If not currently possible, will this be added in the future?
sth that is not at all obvious is that you can select quite a few cells at once in an AI column and then right click and select “generate”.
It likely won’t work for the entire column but you should be able to generate for all cells visible on your screen (as long as the selection does not exceed the row select limit). If you select and then scroll - there are apparently some bugs and clicking generate does not work consistently.
Hey @dev-rd, currently you can select a maximum of 200 rows at once, which is also the limitation for the AI field.
I agree that it might not be obvious that you can generate values with AI for up to 200 rows simultaneously. We’ll discuss internally how we can improve the UI to make this feature more apparent.
the right-click alone is fine - maybe just add the info to AI field description on the website / in the documentation - as far as I know, there is no mention there of the right click menu for AI field.
one more question - for self-hosted version with increased row selection limits - I’m still unable to generate more fields at once - are there any other limits build into the AI field? I mean other than the:
BASEROW_ROW_PAGE_SIZE_LIMIT
BATCH_ROWS_SIZE_LIMIT
I’ve set both values to 1000+ but I’m still unable to “generate” more AI fields via the right-click menu than I have visible rows in my browser window, especially when I scroll down.
This seems a bit flaky overall, as in some cases, when I select more and I scroll back so I can see the top of the “selection”, Bserow lets me generate those AI fields, but it is nowhere close the set limit of 1000.
Other large selections work as expected (I am generally able to copy-paste and perform other operations on rows up to the new limit )
No errors are reported to the user in the UI - the fields just do not generate anything.
I have not used the API to generate fields.
I’ll send you the log in a PM ( for when I first generated 3 AI answers, then selected more than a hundred rows - right clicked - the generate - there was no effect)
The timestamp and the message was written after Celery received the task, so while the order is reversed, this is most likely the request that initialized the background task. The message from the backend was written after the code that schedules the task finished.
However, there’s no trace of any other request to the backend to schedule another batch of rows to regenerate with AI.
So, the problem may be on the frontend side. Could you check for errors/messages in the frontend by looking at JS console and network traffic in DevTools provided by the browser (press F12 to open DevTools panel/window)? Most likely there will be a message when you select rows, right-click and click on AI regeneration command.
I get this error:
TypeError: Cannot read properties of undefined (reading ‘map’)
this is the larger context (links edited out)
XXX.js:2 TypeError: Cannot read properties of undefined (reading ‘map’)
at YYY.js:1:0000000
at y (XXX.js:2:4392)
at Generator.< anonymous > (XXX.js:2:5729)
at Generator.next (XXX.js:2:4821)
at r (XXX.js:2:933)
at l (XXX.js:2:1136)
at XXX.js:2:1195
at new Promise ()
at XXX.js:2:1076
at f.generateAIFieldValues (YYY.js:1:0000000)