So happy to be able to edit stylesheets in builder. Love the Emmet integration, quick search and all of the other features. Thank you so much for this update!
Just thinking, wow, seen so many new things about AT from Facebook, really need a video for us who hate documentation, and here you are...Thanks for the vid and thanks for the hard work!
Have you tried implementing function calling API for the AI part? I saw in your video you sometimes have parsing remnants, but you shouldn't have them if you declare a function called `updateCSS` (for example) and then task Open AI to fill the parameters. It should be more compliant to return only the paramenter (for example a CSS Text fragment) as the parameter in the structured response of the function calling API response. The function is never actually called, only the intent and the parameters are handed to you as structured data. Or are you already doing this?
You could also consider limiting the AI to the user selection in the text box (optionally) or the full text if nothing is selected. Meaning, when a user has a partial selection in the text editor that you only transfer the selection to the AI and replace only that section with the return.
I do use the function calling API for generating the AI structure. I can’t use it for the css because the function calling API is limited to 1000 tokens on input right now… it’s not enough to manage big css files and returns an error
Yea but it depends how the js is actually structured… i need to ask chatgpt if wrapping everything in a (function())() could potentially break things 😂
You should do a test on whether the AI code is of higher quality by adding "please" or leaving it out.... Just joking.....I hope other content creators who might see this channel notice how things are zoomed in where needed and is easy on the eyes, it makes a huge difference for someone who has trouble seeing!!!
WPCodebox is fully-fledged script manager. It handles both js and php and has more filters and API for advanced users. If you just need to manage your styles, AT might be enough. But for a more complete solution, WPCodebox is a better fit. The good thing is: you don’t have to choose between the two: you can just use both in harmony :)