After I first tried out ChatGPT late final 12 months, I observed that many individuals have been utilizing it to put in writing 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 stunned. In spite of everything, LSL isn’t one of many large languages. It most likely doesn’t have sufficient coaching knowledge.
In the present day, 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 may 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 take a look at all code rigorously. Nonetheless, if there’s an error, you may ask ChatGPT to repair it.
And for those who don’t perceive why it did one thing, or desire it took a special method, you may 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 utterly 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 attempt, 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 totally 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 quite a lot of errors, is supremely assured of their skills, however is a minimum of 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 quite a bit.
However the large deal right here, after all, isn’t in what it may well do proper now, however in what it will likely be in a position to do tomorrow.
“In the present day, the dimensions of the most important AI computations is doubling each six months, far outpacing Moore’s Regulation,” Google CEO Sunchar Pichal said in a post last week.
So if an enormous a part of your day-to-day workflow entails writing LSL or OSSL scripts, it is likely to 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’ll be able to ask it to stipulate a coding challenge. You’ll be able to ask it to put in writing documentation, or to create barely totally different variations of scripts. If you happen to don’t perceive how one thing works, you may ask it to clarify it to you.
You’ll be able to 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.