builder
builder copied to clipboard
feat: Data Script Copilot
Similar to Insights Copilot, the data script feature could be helped immensely by a GPT-powered script generator.
Prompts could be along the lines of populate a services list with the latest 5 "items" from the "services" item group, including their name, image, and selling price from the Standard Selling list
.
Although Python familiarity would still be necessary to some extent, if the GPT API was pre-configured with the basic parameters of the data script and the Frappe Database API as well as the Frappe (PiPika) Query Builder, would expect the generated script accuracy to be quite high, even using inexpensive GPT-3.5 queries.
This would presumably be much easier to implement than a full-blown visual query builder (although that could presumably be borrowed from Insights as well), and a great stop-gap solution to lower the entry barrier around the dynamic content functionality in Builder.