Curated Resource ( ? )

ChatGPT: The 8 Prompting Techniques You Need to Learn (No BS!)

my notes ( ? )

"Here are the most important techniques you need for prompting:...

  • Assign a role ... “You are an expert in X... You must always ask questions before you answer so you can better understand what the questioner is seeking"
  • use CoT (Chain of Thought): give the LLM an example of your reasoning and then get it to repeat the reasoning - eg give it a Question and and Answer, with the Answer explaining how it is calculated, and then give it another Question following a similar structure.
  • Zero-shot-CoT, where in Zero-shot means there's no "additional training within the prompt", by ending the promt with "Let's think step by step"
  • Few-shot (and few-shot-CoT), where you include "a few examples in the prompt for it to more quickly adapt to new examples
  • Use Few-shot to generate knowledge, and then ask questions about it (a "knowledge augmented’ question")
  • Least to Most (LtM): "break problem down into subproblems"

Read the Full Post

The above notes were curated from the full post medium.com/@ramaswamis/chatgpt-the-8-prompting-techniques-you-need-to-learn-no-bs-27bb53cea1d.

Related reading

More Stuff I Like

More Stuff tagged ai prompt , llm

Cookies disclaimer

MyHub.ai saves very few cookies onto your device: we need some to monitor site traffic using Google Analytics, while another protects you from a cross-site request forgeries. Nevertheless, you can disable the usage of cookies by changing the settings of your browser. By browsing our website without changing the browser settings, you grant us permission to store that information on your device. More details in our Privacy Policy.