From the course: Advanced Prompt Engineering Techniques
Unlock the full course today
Join today to access over 24,300 courses taught by industry experts.
Generated knowledge prompting
From the course: Advanced Prompt Engineering Techniques
Generated knowledge prompting
- By now, we know that providing reference material for context vastly improves the performance of an AI system. And that if we use few shot prompting combined with chain of thought examples, we can show the system how to perform specific tasks. Which brings up an important question, how do you create all these examples? Because in many cases you don't necessarily have a database of examples of how you want the system to do things. The cool thing is you can actually get the AI system to build out the examples for you. This is called generated knowledge prompting. Let me show you an example. Here, I have a novel question. The pinky toe has no functional purpose, and if I run this in GPT-4, we'll get a response that explains something about this issue. Now, this is just a trivial example. It could be anything, but let's say I want a specific format for my answer, not this huge thing you see here. To achieve that, I can turn to…
Contents
-
-
-
Reference prompting5m 27s
-
(Locked)
Zero-shot and few-shot prompting3m 20s
-
(Locked)
Chain-of-thought (CoT) prompting5m 19s
-
(Locked)
Take a deep breath and work step by step2m 48s
-
(Locked)
Generated knowledge prompting3m 5s
-
(Locked)
Tree-of-thought (ToT) prompting3m 21s
-
(Locked)
Directional stimulus prompting2m 57s
-
(Locked)
Chain-of-density (CoD) prompting5m 40s
-