If you use the perfect prompt , when you prompt chat GP T or if you prompt Bard or Bing , you're going to be really blown away by the result that you're going to get .
It's gonna save you a ton of time .
So I've studied this for 3 to 4 hours a day since GP T three came out .
I've taken a bunch of courses .
Anything I could get my hands on and tested a whole lot of different ways to prompt these platforms .
And I think I've crafted a really useful formula that you could implement for pretty much any situation .
So I wanna share that with you in this video and hopefully after this , you could just copy and paste this prompt because most people that use chat GP T Barred or Bing are stuck kind of in beginners mode .
They just ask a question and then they just try to follow up with the A I to get the answer they're looking for .
But if you give the right prompt up front , most of the time , you're gonna get to the answer without having to revise it a ton of different times .
Let me show you exactly how it works .
Now , the way I crafted this perfect prompt , it came from seven best practices that I'll share with you .
This is basically the most effective way of prompt engineering , these seven different steps and this is gonna go inside of our formula .
So these steps will help you understand it a little bit better and I'll show you some real life examples that are gonna be handy .
Number one is you need to be specific , you want to give as much detail as you can .
So a lot of times people speed this up because they want to see an output and they'll think they'll revise it after that , but don't do that be very specific .
Here's a super simple example , you could ask it , tell me about all the different dog breed that exist or the more specific example is what are the different breeds of small dogs suitable for apartment living ?
Right ?
You get a lot more specific .
So your answer is gonna be a lot more relevant .
Number two is you need to state your intent .
So you need to state that in the prompt .
And this is a good example .
A lot of times people say explain quantum physics and then you're gonna get some kind of a long response , but if you gave it your intent .
So in this case , I'm helping my son with his science homework .
I want to explain quantum physics .
Can you explain it in a very simple way , right .
So then I get a very specific answer that is tailored for that .
So that is all about stating your intention .
So then the output is designed for that .
Number three is you got to use correct spelling and grammar , the best you can , even though the model is going to figure that out .
A lot of times a small spelling on error is gonna send it in the wrong direction .
So even if you do spell check by right , clicking on something that you misspelled , correcting it , there is going to a lot of times ensure that your prompter actually gets you .
The best response .
Number four is direct , the output format , give us some direction on what kind of output you're looking for .
So could you list the steps to break down chocolate cake ?
Right ?
So then it's gonna give you a step by step guide or could you explain a process in a paragraph ?
Then it's gonna know it's gonna give you a paragraph , not a whole bunch of text .
Number five is following up with questions because sometimes even if you use the perfect prompt , you still need to give it some follow up to clarify it or change one of the inputs in the formula that I'm gonna give you .
Now , number six , if you don't get the result , you're looking for experiment with different phrasing .
OK .
So sometimes the model doesn't understand how you phrased it .
But this perfect formula , if you use it in the order .
I'm gonna show you , it's gonna get you the result most of the time .
But if it doesn't just experiment with phrasing and moving things around , and number seven is sometimes I do a fact checking prompt .
So I usually get my results , then I feed it back and I say , can you fact check this statement or whatever output I got this just ensures that it runs through it one more time .
Now let me show you the formula , this formula .
If you use it based on all the different specific information I gave you already in this order .
And I'll give you some examples .
You're gonna get results that are gonna be far better than what you you're getting right now .
So here's the formula , context plus specific information plus your intent plus the response format that you want that equals the perfect prompt .
So I'll give you a couple of different examples here .
So context , in this case , I'm a beginner cook .
That's the context , right ?
I set that up then specific information I'm trying to make Italian cuisine .
OK ?
Then my intent is , can you provide me ?
This is what I'm asking at my goal .
Can you provide me a simple and easy to follow recipe and the format that I want could be a numbered list from one through 10 .
So then he will just try to summarize that in that way .
So here's the perfect prompt .
I'm a beginner cook trying to make Italian cuisine .
Could you provide me a simple and easy to follow recipes and put them in numbered order from one through 10 ?
OK .
And you could give it something else .
Make me lasagna .
For example .
Can you give me the perfect recipe ?
So you could even add more context in the formula , but this is the perfect prompt .
So now you copy and paste this prompt and then you're gonna get a result that's far better than going back and forth a whole bunch of time .
And it will save you sometimes 5 , 10 times the amount of the back and forth it usually will take .
Here's another example context is I'm a software developer .
The specific information is I'm working on a Python project .
Now , the intent is , can you explain how to implement exception handling in Python ?
And the response format is tell me in a simple paragraph .
So this will be the perfect prompt .
I'm a software developer working on a Python project .
Can you explain how to implement exception handling in Python ?
Give it to me in a simple paragraph and this perfect prompt formula works for chat GP T it works for Bard , it works for bing .
I will post it in the description below this video .
So you can copy and paste the formula and then every time just put in those four different pieces , every time you give a prompt to any of these Softwares and what I recommend .
Next is you actually learn something called prompt priming .
That is things you do before you even give it a prompt .
You never ask a question before you prime it , right ?
So I'll make a video about that that I'll link here and I'm also putting together an entire learning platform , Netflix style learning platform all about A I .
So you don't fall behind .
You get the latest tools , you get the latest tutorials and you get complete courses much more detail than what I could do online .
So make sure you sign up for that link in the description .
I hope you found this useful and I'll see you next time .