While getting my hands on CODEX, I started playing in the JS Playground. This is for the staff working at the playground. I know it’s just for demo purposes, but it should be working well because some people would like to prospect ideas and if it’s not working properly, it beats its purpose.
I notice that when trying to get it to generate something bigger, it becomes repetitive, like for example using this prompt:
First add a couple of simple examples to improve the prompt, and make it clear that the code needs to be solved. You can edit the code on the right hand side to do this, or call a few simpler requests first.
Define your question in more details. Even within the first example, split it into a few smaller instructions with a comma for example.
Use frequency and presence penalty, which can reduce repetitiveness. It doesn’t look like this can currently be modified on JS Playground.
It seems to be creating multiple cubes as well. I’d also recommend editing it to just have one cube loaded into the DOM and then write the next comment from there.