From the course: Prompt Engineering with ChatGPT

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Solution: Prompt refactor

Solution: Prompt refactor

(bright music) - [Instructor] The goal of this challenge was to refactor this prompt. Write a post about learning prompt engineering. My approach was to say, you are a software engineer and instructor specializing in AI. Write a professional post for LinkedIn about the importance of learning prompt engineering. Use plenty of emojis. Now, even specifying which platform this post is for is going to make a difference in the output ChatGPT produces. Also, notice that I told ChatGPT who the persona is that they're writing this post on behalf of. We'll talk about this technique when we get to dealing with personas. So let's go ahead and take this prompt and bring it over to ChatGPT. Now, I really like asking ChatGPT to add emojis to text. One thing to note about this is that we didn't really give ChatGPT a lot of content to work with. So it had to come up with a lot of ideas, which could be what we want or not. If we added more context explaining why it's important to us, then we would be…

Contents