DEV Community

Cover image for You Are Using ChatGPT Incorrectly!

You Are Using ChatGPT Incorrectly!

Emma Ham on November 09, 2023

What an accusation! Boo! I know it might seem a bit strong for a blog post title, but let me explain. In my defense😅 I've encountered ...
Collapse
 
shawn2208 profile image
Shawn2208

The recipe pattern I completely agree. Like I didn’t know where to start when creating a pseudo code to JavaScript interpreter and ChatGPT gave me specific steps and the pattern through out to follow. I also use it if I don’t understand a JS concept. Like closures! 😟 but chatGPT dumbed it down now I understand.

Great article by the way!

Collapse
 
pengeszikra profile image
Peter Vivo • Edited

You are absolutley right, the good task is cruical for talking with AI, also good testing other AI like LLama with same task to check the difference between version.

My usecase is interactive story telling which is also genereta images next to answer. It is also try to explore how can handle chatGPT4 the longer conversation, and which points made a mistakes.

Collapse
 
ham8821 profile image
Emma Ham • Edited

Very good insight. I have been meaning to look into LLama for a while actually, thanks for the comment, Peter!

Collapse
 
michaeltharrington profile image
Michael Tharrington

Really awesome and well-written post, Emma!

I think you've done a great job at explaining practical ways to approach using ChatGPT as a dev... I like the different patterns you've highlighted and your emphasis on trying to get accurate answers vs. hallucinations.

You're right that this tool is very impactful and as polarizing as it may be, it's a good idea to understand how it works.

Collapse
 
ham8821 profile image
Emma Ham

Thank you Michael🙃

Collapse
 
lipelourenco profile image
Felipe Lourenco

Cool! Another thing that might help is to write "Take a deep breath before answering". Strangely enough, people seem to be getting better results with that. Just empirical confirmation for the moment, as we don´t have any data to support that claim, but it´s curious.

Collapse
 
ham8821 profile image
Emma Ham

That is such an interesting information! I actually found this article to support this which indicates that using a prompt like "Take a deep breath before answering" does almost always bring out better answers along with prompt like "let's think step by step".

They explain why this might be happening in this article fyi!

arstechnica.com/information-techno....

Collapse
 
lipelourenco profile image
Felipe Lourenco

Thank you!

Collapse
 
yaireo profile image
Yair Even Or

It's the stupidest question to ask if chatGPT will replace jobs. It's just one tiny insignificant AI bot. Like asking in 1996 if MS Paint will replace painters (artists).

It is a first step in a chain of software (AIs) and eventually a company & product will rise with an AI solution which will for certain replace any brain-related job.

Any work that is brain-based is the easiest to replace, unlike manual work which involves most of human senses, programming does not technically require any sense. not even vision, as a blind person can also code, although nothing that produces visual output probably.

ChatGPT will not replace any jobs, just like Bitcoin is just one coin out of many, with huge inherit problems and has not proven itself for over a decade.

There is word that Google Gemini will far superior from OpenAI's products and is a good candidate for replacing jobs.

Google itself will benefit from this very much as a ton of their capital goes into R&D teams and an AI that can replace most of its workers is a huge huge financial prize for them.

Collapse
 
ham8821 profile image
Emma Ham • Edited

Agreed. Will ChatGPT replace all jobs? Very unlikely. But will it replace some jobs? Absolutely. In fact, there are already documented cases in the state.

This brings to mind a few years ago when Amazon introduced cashier-less, walk-in, walk-out supermarkets in the state. People were concerned that it would take away jobs from those who made a living as cashiers. Did it replace all cashier jobs? No, but is it likely to replace more going forward? Probably.

Beyond AI, we're witnessing a linear progression in technology, sparing us from some manual tasks compared to 5 or 10 years ago. Even in the programming world, functions that once required manual implementation and duplication are now often integrated into languages or frameworks.

At this stage, AI stands as another transformative technology, steering us away from manual and repetitive hassles, serving as a valuable tool and assistant. While we wait to see what more it can bring into our world, Gemini is also an intriguing project to monitor in that regard.

On the flip side, we should also consider the potential jobs that AI might "create." As the ethical implications of AI take center stage, could this lead to new roles? Perhaps guiding those entering programming world post-AI arrival to obtain a deeper understanding of morals, conduct, and crucial concepts like copyright. As a developer, I'll be keeping a close eye on these developments!

Collapse
 
muhyilmaz profile image
MUHAMMED YILMAZ • Edited

`


No I am not.

`

Collapse
 
rolfstreefkerk profile image
Rolf Streefkerk

AI hallucinations will happen regardless of your "prompt patterns", it's a side effect of the limitations rather than "we didnt instruct it properly".

Collapse
 
ham8821 profile image
Emma Ham • Edited

That is pretty much what I intended to say in the article! If hallucinatoons are inevitably happening and not something we can control, we shall make the use of some of the helpful prompts to help ourselves to "spot" when it happens so that we know a bit more clearly of what we are provided with by AI:)

Collapse
 
rolfstreefkerk profile image
Rolf Streefkerk

yea I understand that's what you're trying to do, but from my experience it won't make a difference since it's a limitation of the technology it will always create erroneous data at this moment in time. The way to find out is validating it yourself by knowledge, perhaps asking ChatGPT to spot any issues or the old fashioned "google it"

Collapse
 
taqui_786 profile image
TAQUI ⭐

Nice Post 👍

Collapse
 
ham8821 profile image
Emma Ham

Thank you!

Collapse
 
michaelsynan profile image
Michael Synan

Don't get upset with ChatGPT when it doesn't do what you want :)

dev.to/michaelsynan/getting-big-ma...

Collapse
 
sip profile image
Dom Sipowicz

I would add some more initial settings and GPTs. Here I show off my own personal ChatGPT setup:

Collapse
 
wisdomudo profile image
WISDOMUDO

Insightful. Thanks for sharing!

Collapse
 
best_codes profile image
Best Codes

Very enlightening! I use codeium, I don't have an OpenAI account, but I use it though my bots on Zapier and through Opera's in browser AI, Aria. This will be really useful for me, thanks!

Collapse
 
magnording profile image
Magnus Nording

Yes the Flip Interaction really worked for me, making the AI asking me to show certain methods and together we achieved our goal. Thanks, important article.

Collapse
 
ham8821 profile image
Emma Ham

Yes my favorite pattern to use as well it is such an engaging/interesting way to utlise ai capability!

Collapse
 
evillord666 profile image
Ushakov Michael

Correct way of using ChatGPT is to throw it to a trashbean

Collapse
 
virtualmachine profile image
ByteCodeProcessor

Good article. This shows chatGPT is not a general and/or democratic tool.

Collapse
 
dev_kiran profile image
Kiran Naragund

Great article!!

Collapse
 
hyt0p profile image
h7yt0p

no im not

Collapse
 
johnkat_mj profile image
John Kat

Great post

Collapse
 
alexbhatti profile image
Alex

Very informative and appreciative Post

Collapse
 
mehmoodulhaq570 profile image
Mehmood-Ul-Haq

We are getting more rely on these technology, although it has made our life easy but on the other hand people also has become very lathergic.

Collapse
 
alexshibly profile image
alexshibly

This post is really helpful. I'm gonna add these points in my Chat GPT Pro blogpost. Thanks!