Best Way To Write ChatGPT Prompts To Learn…Anything
Right now, ChatGPT is at a stage where Google was in its initial years. And yes, it has immense potential to transform the manner in which we think and work.
Gone are the days when we used to have tons of community tabs open to find the solution to achieve a logic. Also, you no longer need to stare at your code for hours only to realize that the error is due to a missing semi-colon!
Let’s suppose you wish to learn Python for Data Science using ChatGPT and you’re a complete beginner.
P.S. You can use this tool to learn anything. We are just taking this example. You can look at the structure of the prompts and implement the same.
Prompt (can be your version, this is just an example I tried):
Initially, you would ask GPT for something very basic like: “Give me a study plan to learn python for data science with resources and a timeline.”
And it does a decent job and gives you a result something like this:
But we can do better.
To write better prompts, we can follow a 5W Framework:
Who: What role do you want ChatGPT to play
What: What exactly do you want to learn?
When: What’s your timeline?
Where: Where do you want to learn it? (online courses/ free videos/ tutorials/text-based courses)
Why: What’s your ultimate goal/ What do you want to achieve by learning Python (in this example)?
However, we know that learning will not be as good on its own unless you get your hands dirty on some projects; something that was missed by ChatGPT. So next, we need to ask GPT to suggest some project ideas:
We can also ask it to generate the code:
Unfortunately, the code doesn’t work. Maybe because there is something wrong with the data file I uploaded. Anyways, you can figure that out, thanks to the bunch of resources you have.
ChatGPT can explain things to you, with examples, which makes studying way more interesting and fun. Plus, it’s time-consuming as well. It can also provide comments for your work, check your work for you, and provide specific functionalities.
Hence, next time you ask ChatGPT for something and it gives you a bunch of generalized results, ask it to ‘act’ as an expert and then advise you on the same.
Also, there are times that it hangs up in the middle. Instead of retyping your question, just ask ‘Did you time-out?’ It will apologize and then just generate what it was supposed to generate in the first place.
Hope this was helpful and thanks for reading.
Share your experience and suggestions.
Happy learning and prompting!
The contents of external submissions are not necessarily reflective of the opinions or work of Maven Analytics or any of its team members.
We believe in fostering lifelong learning and our intent is to provide a platform for the data community to share their work and seek feedback from the Maven Analytics data fam.
Happy learning!
-Team Maven