After I first tried out ChatGPT late final yr, I seen that many individuals had been utilizing it to jot down code. Python. Javascript. Even machine language. So in fact I requested it if knew LSL, the Linden Scripting Language utilized in Second Life and OpenSim.
It mentioned no. I used to be upset however not too shocked. In spite of everything, LSL isn’t one of many huge languages. It in all probability doesn’t have sufficient coaching information.
In the present day, for some random cause, I made a decision to strive once more, and it not solely knew LSL, however might clarify the way it labored. Perhaps I worded the query fallacious 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 fastidiously. Nevertheless, if there’s an error, you may ask ChatGPT to repair it.
And if you happen to don’t perceive why it did one thing, or want it took a distinct 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 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 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 talents, however is a minimum of prepared to confess after they’re fallacious.
I can undoubtedly see the potential right here for creating easy scripts, particularly if I must tweak these scripts so much.
However the huge deal right here, in fact, isn’t in what it could do proper now, however in what it is going to be in a position to do tomorrow.
“In the present day, the dimensions 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 by 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 totally different variations of scripts. If you happen to 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 — perhaps 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.