Feedback

Chat Icon

Generative AI For The Rest Of US

Your Future, Decoded

Prompt Engineering: Efficiency in the Age of AI
74%

General Knowledge Prompting

I first discovered this effective strategy through hands-on experimentation with ChatGPT, applying it initially in trial runs before integrating it into actual use cases. This straightforward approach significantly enhances the output quality. The paper titled "Generated Knowledge Prompting for Commonsense Reasoning," by Liu et al. (2021), investigates whether the incorporation of external information can enhance a language model's understanding of common sense. The strategy involves generating relevant knowledge through the model, which is then used to respond to your queries. This approach, which does not require additional training or databases, may lead to improved performance.

The technique is executed in two primary phases:

  1. Generation of Knowledge: The process begins with the language model creating "knowledge statements" in response to a query. These statements serve as informative insights that aid the answering process.

  2. Integration of Knowledge: These generated statements are then used to guide another language model in selecting the most accurate answer from the available options. Without this added knowledge, the model would merely attempt to infer the answer based solely on the query.

To apply this technique, you can prompt ChatGPT to generate knowledge statements relevant to the query. For instance, if you're aiming to create a blog post about aging gracefully, you could consider writing a prompt like:

Create a blog post about aging gracefully.

The approach of General Knowledge (GK) prompting involves not prompting the model with the actual question but with a more general prompt that allows the model to generate knowledge statements. So instead of the specific question, you would prompt the model with the following:

What is the importance of aging gracefully?
In what ways can one age gracefully?
What are some common misconceptions about aging gracefully?
When navigating the challenges of aging, what strategies can be employed to age gracefully?

Generative AI For The Rest Of US

Your Future, Decoded

Enroll now to unlock all content and receive all future updates for free.

Unlock now  $20.99$15.74

Hurry! This limited time offer ends in:

To redeem this offer, copy the coupon code below and apply it at checkout:

Learn More