After I first tried out ChatGPT late final yr, 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 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 information.
In the present day, for some random motive, I made a decision to attempt once more, and it not solely knew LSL, however may clarify the way it labored. Possibly I worded the query improper final time?
It may well 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. Nevertheless, if there’s an error, you’ll be able to ask ChatGPT to repair it.
And should you don’t perceive why it did one thing, or desire it took a special strategy, you’ll be able to 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 exchange 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 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 lots of errors, is supremely assured of their talents, however is not less than keen to confess after they’re improper.
I can undoubtedly see the potential right here for creating easy scripts, particularly if I must tweak these scripts loads.
However the large deal right here, after all, isn’t in what it will probably do proper now, however in what it will likely be capable of do tomorrow.
“In the present day, the dimensions of the biggest AI computations is doubling each six months, far outpacing Moore’s Legislation,” Google CEO Sunchar Pichal said in a post last week.
So if an enormous a part of your day-to-day workflow includes writing LSL or OSSL scripts, it could be time to search for methods through which ChatGPT can pace issues up. For instance, you’ll be able to 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 completely different variations of scripts. In the event you don’t perceive how one thing works, you’ll be able to 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 counsel some methods to make use of this script in an OpenSim grid.