Also known as WikiScript, see how people having trouble in this aspect Thinking about visual filter builder - #11 by linonetwo
I think a code model can understand what user want to build, and write “WikiScript” for them. I believe code model contains the ability to understand feature requiremets…
When it is writing React or Vue! There are many opensourced material about React code, so it can do it without understand React’s internal. But if writing a TW widget class, then I think training material is not enough, I guess it has to understand the whole thing from ground up to write a good app.
Just a guess, so maybe it will work simply using materials from tw core. But I think it won’t, we need more JS widget materials, and it is expensive.
And there are many advanced technique, like calling WikiText in JS & calling JS in WikiText, we don’t have enough materials yet, its hallucinations might be very big, like try to use non-existed API to do so.
Instead, calling WikiText actions in pure WikiText, I think we have enough materials in tw core.
And we always recommend writing UI and plugins using wikitext. So a model that can write JS widget have low ROI. This is just a choise.
Anyway, let’s do this one by one, I also want to learn LLM training from this project, for a new career.