ChatGPT might seem pretty useless for a legacy virtual world like Second Life (I certainly thought so last year), but recent updates have somewhat changed my mind. In his off-hours, Linden Lab's infosec head (known by his avatar, Soft Linden) has been playing around with OpenAI's Large Language Model, and discovered some pretty impressive Second Life-related applications.
For starters: You can use ChatGPT to help script in Linden Script Language!
"GPT-4 (paid) works reasonably well for LSL," Soft tells me. "It will hallucinate some functions that don't exist, but it can save time on the overall first pass, and it can usually correct the code when flaws are pointed out. It can find some bugs if you ask it to find the defects in code you paste in. GPT-3.5 (free usage) is weaker on code."
The older free version is the one I blogged that hallucinated LSL like crazy. But Soft has seen some improvements since then:
"OpenAI’s ChatGPT lacks up-to-the-minute information, but simulates human reasoning to a much better degree. It knows what Second Life is, and shows evidence that it’s probably scraped our knowledge base and some old third-party Second Life forums. It can debug or suggest improvements to Linden Scripting Language code." Here's an example on OpenAI.
"You can ask it to proofread notecards. Try pasting, 'This is a notecard written for non-technical Second Life users. Suggest a bulletpoint list of improvements for clarity and ease of understanding' followed by your notecard. See what happens.
"You can ask it to help you brainstorm improvements on a business plan for your store or roleplay for your community. You can even ask it how to make your store listing sound more fun. Some suggestions will be bad, but sometimes it surprises you."
He's even used ChatGPT for Firestorm, the popular third party SL viewer.
"As an experiment, I tried taking a screenshot of the items listed in Firestorm’s 'area search' floater, and asked for 'additional items that would fit a Second Life scene with these items.' It didn’t balk. It read the text out of the snapshot, made a few suggestions, and it suggested a beer cooler and some roasted marshmallow gear for an SL camping spot. Hmm!"
None of this suggests ChatGPT is great with Second Life -- it's literally coded to give you the most mediocre content on the web -- but it's worth playing around with your various SL projects:
"Find a friend or three," Soft advises, "bring up ChatGPT in a browser window, and brainstorm together. Treat it like an unbusy friend or an intern and you may have fun or learn a few things. Or, failing that, you'll better understand its limits."
Soft Linden has also been experimenting with Elon Musk's LLM Grok, and so far the results are notably less useful -- but also hilarious:
No, ChatGPT Can't "Write" Code. It Even Makes Up Code That Doesn't Exist.
Fun comment from reader Ravelli Ormstein, spinning off from my post about how full of fail ChatGPT is when you ask it a question you're an expert on:
First, I asked ChatGPT to write a LSL script that would turn on a light when the sun went down. It wrote a nice script, but it didn't work because the AI was using an LSL function that didn't exist. So I complained about it. The AI apologized and fixed the script by using another non-existent function.
This went on until I specifically asked for a script that only used existing functions. The script was usable and in the style we usually write them, with a 300 second timer. The AI kept apologizing for making mistakes until I asked it never to apologize again.
This is an important point, because I've seen some people claim that ChatGPT can write Second Life apps in Linden Script Language (or for that matter, any coding language). No.
Very roughly analogized, ChatGPT is like a natural language version of Google search. So if you ask ChatGPT to write a working script that happens to already exist in its massive database, you may sometimes get lucky with an actual useful response. Otherwise, you'll only get an answer that's most probabilistically coded to appear like a useful response -- in other words, the AI version of Making Shit Up.
Anyway, more fun from Ravelli with ChatGPT, with a plot twist:
Continue reading "No, ChatGPT Can't "Write" Code. It Even Makes Up Code That Doesn't Exist." »
Posted on Monday, February 06, 2023 at 01:23 PM in AI, Comment of the Week, Scripting | Permalink | Comments (4)
| |