3 ms·
>> I've asked ChatGPT to write a VBScript function that returns false if the input is true and false if the input is false. <insert to-be-fair meme here> You
by mmh0000 3y ago
>> I've asked ChatGPT to write a VBScript function that returns false if the input is true and false if the input is false.
<insert to-be-fair meme here>
You purposefully asked GPT a trick question for which it likely has very little training data. No one would ever go on StackExchange et al. asking how to write a function that always returns false. So GPT had to take its training data on other, realistic questions and fumble something together.
A GPT can only ever be as good as its initial training material. It can not have new ideas or innovations.
There was an excellent post here a couple of days ago to an article, which explains quite well what a GPT can and can not do and why:
https://explainextended.com/2023/12/31/happy-new-year-15/ https://explainextended.com/2023/12/31/happy-new-year-15/
EDIT. GPT4 was happy to give me a one-liner that meets the conditions and even explains why my request was dumb:
https://chat.openai.com/share/1d949b5b-3c2b-4634-802e-3ea4c2a7a786 https://chat.openai.com/share/1d949b5b-3c2b-4634-802e-3ea4c2...