Technology
This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.
Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.
Rules:
1: All Lemmy rules apply
2: Do not post low effort posts
3: NEVER post naziped*gore stuff
4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.
5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)
6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist
7: crypto related posts, unless essential, are disallowed
view the rest of the comments
Why would you expect ChatGPT to know how to write code in a language that you created yourself? According to that repository you created it last year, and ChatGPT was only trained on data up to 2021 so there's no way it could have been in its training set. Even though AIs have surprised us with their insights in a lot of cases they aren't magical.
Admittedly, I worded my comment poorly. What I meant is that ChatGPT struggled with understanding the semantics and structure of the language.
As an example, try from this this code block
You can, hopefully guess that
S__
is a variable which has a methodm__w
, accessed by using a hyphen, rather than a dot and statements end using ado
keyword. ChatGPT missed on all marks.Have you tried including the docs in the prompt as well? I wouldn't have guessed that
S__
is a variable in your example, but I would've known that after reading the docs. I'd expect ChatGPT to at least do OK if it had access to the docs.Huh, fair enough, its hard to know whats obvious and whats not.
As for the second part, to my slight surprise, it did manage to figure it out. I guess I just suck at using LLMs lol
edit: To clarify, previously I tried only to correct its mistakes over and over again untill I got frustated
edit2: I still feel like chatGPT is struggling with basics of the language. maybe its just me being shit at using LLMs but smh