After I first tried out ChatGPT late final yr, I observed that many individuals have been utilizing it to write 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 stated no. I used to be disenchanted however not too shocked. In spite of everything, LSL isn’t one of many large languages. It in all probability doesn’t have sufficient coaching knowledge.
At present, for some random cause, I made a decision to strive once more, and it not solely knew LSL, however may clarify the way it labored. Perhaps I worded the query unsuitable final time?
It could even discuss concerning the variations between LSL and OSSL, the OpenSim Scripting Language, and write OSSL-specific scripts.
Warning: It’s not excellent
We’re nonetheless within the beta launch of ChatGPT.
It makes errors.
So check all code rigorously. Nonetheless, if there’s an error, you possibly can ask ChatGPT to repair it.
And if you happen to don’t perceive why it did one thing, or desire it took a distinct method, you possibly can inform it that, too.
The corporate behind ChatGPT, OpenAI, is engaged on enhancing 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 substitute them. But.
After I requested it to recreate the Very Simple Greeting Script by Jester Knox, it took fairly a little bit of prompting. On the primary strive, it forgot a key step. After 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 in search of.
My verdict?
Proper now, ChatGPT is sort of a very junior programmer who nonetheless makes numerous errors, is supremely assured of their skills, however is a minimum of keen to confess after they’re unsuitable.
I can positively see the potential right here for creating easy scripts, particularly if I have to tweak these scripts quite a bit.
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.
“At present, 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 is perhaps time to search for methods wherein ChatGPT can pace issues up. For instance, you possibly can ask it so as to add feedback to current code. You possibly can ask it to stipulate a coding undertaking. You possibly can ask it to write down documentation, or to create barely completely different variations of scripts. In case you don’t perceive how one thing works, you possibly can ask it to clarify it to you.
You possibly can even paste in an current script — perhaps one thing from the Outworldz free scripts collection — and ask ChatGPT what the script does, then ask it to recommend some methods to make use of this script in an OpenSim grid.