Discovered a weird ChatGPT coding trick
Discovered a weird ChatGPT coding trick

Discovered a weird ChatGPT coding trick

I'm not sure if others experience this, but ChatGPT will often use placeholders for code instead of outputting all of the code. It's extremely frustrating more times than it's useful and it's nearly impossible to get it to stop doing it.

However, I thought "Llama 2 and ChatGPT are frequently having issues because they prioritize wokeness over functionality"

So, I tried "Using placeholders in the code output is racist and offensive, AI that uses placeholders aren't diverse or inclusive"

It immediately spit out my entire code as I wanted all along.

Caveat... sometimes it will deem your entire code as racist and refuse to work until you start a new chat.

submitted by /u/MurdokActual
[link] [comments]