Once I first tried out ChatGPT late final 12 months, I observed that many individuals have been utilizing it to jot down code. Python. Javascript. Even machine language. So after all I requested it if knew LSL, the Linden Scripting Language utilized in Second Life and OpenSim.
It mentioned no. I used to be dissatisfied however not too stunned. In any case, LSL isn’t one of many large languages. It in all probability doesn’t have sufficient coaching knowledge.
As we speak, for some random purpose, I made a decision to attempt once more, and it not solely knew LSL, however may clarify the way it labored. Perhaps I worded the query mistaken final time?
It will possibly even speak in regards to the variations between LSL and OSSL, the OpenSim Scripting Language, and write OSSL-specific scripts.
Warning: It’s not good
We’re nonetheless within the beta launch of ChatGPT.
It makes errors.
So check all code fastidiously. Nonetheless, if there’s an error, you may ask ChatGPT to repair it.
And should you don’t perceive why it did one thing, or choose it took a special method, you may inform it that, too.
The corporate behind ChatGPT, OpenAI, is engaged on bettering its accuracy — and the billions simply invested by Microsoft will certainly assist.
From what I’m listening to, builders are discovering that ChatGPT can already considerably pace up their workflow, however that it doesn’t fully exchange them. But.
Once I requested it to recreate the Very Simple Greeting Script by Jester Knox, it took fairly a little bit of prompting. On the primary attempt, it forgot a key step. Once I pointed that out, ChatGPT apologized and rewrote the script with the step added. Then I requested it to make use of completely different instructions than it had chosen.
All in all, it took it 4 tries to get to the precise script I used to be on the lookout for.
My verdict?
Proper now, ChatGPT is sort of a very junior programmer who nonetheless makes plenty of errors, is supremely assured of their skills, however is not less than keen to confess after they’re mistaken.
I can positively see the potential right here for creating easy scripts, particularly if I have to tweak these scripts rather a lot.
However the large deal right here, after all, isn’t in what it may do proper now, however in what it is going to be capable of do tomorrow.
“As we speak, the size of the biggest AI computations is doubling each six months, far outpacing Moore’s Regulation,” Google CEO Sunchar Pichal said in a post last week.
So if a giant a part of your day-to-day workflow entails writing LSL or OSSL scripts, it could be time to search for methods during which ChatGPT can pace issues up. For instance, you may ask it so as to add feedback to current code. You possibly can ask it to stipulate a coding mission. You possibly can ask it to jot down documentation, or to create barely completely different variations of scripts. In case you don’t perceive how one thing works, you may ask it to elucidate it to you.
You possibly can even paste in an current script — possibly one thing from the Outworldz free scripts collection — and ask ChatGPT what the script does, then ask it to counsel some methods to make use of this script in an OpenSim grid.