Thought I'd see what happens if I asked ChatGPT to...
# suitescript
e
Thought I'd see what happens if I asked ChatGPT to teach me SuiteScript:

https://youtu.be/GLbRFr6XKH4

💯 1
🙌 3
m
Great video. I’ve also played around with. Chat GPT and writing script to see what it does As you show in the video it takes a pretty advanced level of knowledge of how scripts function in NetSuite to help. Chat GPT along. I’ve found if you are familiar with the configuration and application of scripts you can guide Chat GPT to write some successful code and also it can help with troubleshooting if you add your errors into subsequent prompts. But it is definitely a long way away from becoming a self sufficient programmer for you It was a fun exercise and also this was a fun video to watch (Log level Critical. lol)
❤️ 1
l
Fun video, I've used it a few times and it really does love hallucinating about things that just do not exist in Netsuite
e
It's probably a bit unfair for me to ask 3.5 about SS2.1 since there was likely very little training data for it in 2021. I wonder how other models will do, especially Oracle's
a
@erictgrubaugh I personally tested: • ChatGPT 4.x • Gemini Advanced • JetBrains IA Assistant None of them produce very accurate results; most of them bring up things that do not exist or do not work. More often than not, you waste more time trying to fix the hallucination than if you were doing it yourself. The JetBrains IA Assistant gives me the best results because it automatically contextualizes itself in the current block of code or the file you are working on.
❤️ 1
m
I find the most accurate results are produced when you give it very direct prompts “Create a User Event script that is triggered before submit on a sales order that gets the value from field xxxxxx on the Customer record and sets that value in field yyyyyyy on the sales order record” With this type of prompt it can do pretty well with UE and CS but still has some learning to do sometimes
❤️ 1