Guide The Chat GPT Prompts Megathread

Unless you've been living under a rock, you have already heard of Chat-GPT, the "generative pre-trained transformer" AI model that can generate text that reads like it has been written by a human. This is a watershed moment in the history of human civilization.

When Google search came out, it brought all the answers from the collective intelligence of humanity to our fingertips. Anyone who knew how to use Google search well was now capable of solving so many problems efficiently, and this helped so many of us in our careers. But using Google search well, by asking structured and sometimes creative queries was a skill that needed to be understood and mastered. For example, searching google for open directories, or e-books using queries like [intitle:"calibre library" inurl:browse].

Similarly, using GPT is a skill that needs to be mastered.

Like we enter search queries in google's search box, we communicate with Chat-GPT with what are called "Prompts". Constructing good prompts is, in my opinion, an important skill to master. This is not only a personal tool, many 'AI' startups today are just well constructed prompts on top of a GPT AI.

On this thread, I aim to discuss "prompt engineering", collect examples of good prompts, for Chat-GPT as well as other AI like Midjourney. I will link to sources where possible.

To start with, here is a fairly simple prompt to design a workout plan, originally sourced via the Genprompt website [https://ompt.herokuapp.com] which is a repository of prompts.

Create a workout plan for Weight Loss with a focus on reducing belly fat. The plan should be designed for a duration of 3 months. I am aiming for 3 workouts per week. Please also take into account that I don't have access to a gym. Provide a detailed and thorough workout plan that meets my requirements. Provide a markdown table containing the high level plan. Follow this with a detailed breakdown of each workout.

The response from ChatGPT (May 12 Version):

Sure! I can help you create a 3-month workout plan for weight loss with a focus on reducing belly fat, without the need for a gym. We'll aim for 3 workouts per week. Below is a high-level plan in markdown table format, followed by a detailed breakdown of each workout.

WeekWorkout 1Workout 2Workout 3
1Cardio + AbsStrength TrainingCardio + Abs
2HIITCardio + AbsStrength Training
3Core WorkoutCardio + AbsHIIT
4Strength TrainingCardio + AbsCore Workout
5Cardio + AbsHIITStrength Training
6Cardio + AbsCore WorkoutCardio + Abs
7HIITStrength TrainingCardio + Abs
8Core WorkoutCardio + AbsHIIT
9Strength TrainingCardio + AbsCore Workout
10Cardio + AbsHIITStrength Training
11Cardio + AbsCore WorkoutCardio + Abs
12HIITStrength TrainingCardio + Abs

Now let's break down each workout in detail:

Cardio + Abs:
  • Warm up with 5-10 minutes of light cardio (e.g., jogging in place, jumping jacks).
  • Perform 30 minutes of moderate-intensity cardio exercises such as brisk walking, jogging, cycling, or dancing.
  • Follow cardio with a 10-minute abdominal workout:
    • Crunches: 3 sets of 15 reps
    • Plank: Hold for 30 seconds, repeat 3 times
    • Russian twists: 3 sets of 12 reps (each side)
    • Bicycle crunches: 3 sets of 15 reps (each side)
Strength Training:
  • Warm up with 5-10 minutes of light cardio or dynamic stretching.
  • Perform a full-body strength workout using bodyweight exercises:
    • Push-ups: 3 sets of 12 reps
    • Squats: 3 sets of 15 reps
    • Lunges: 3 sets of 12 reps (each leg)
    • Glute bridges: 3 sets of 15 reps
    • Tricep dips (using a chair or bench): 3 sets of 12 reps
    • Plank: Hold for 30 seconds, repeat 3 times
HIIT (High-Intensity Interval Training):
  • Warm up with 5-10 minutes of light cardio.
  • Perform a 20-minute HIIT workout:
    • Jumping jacks: 30 seconds
    • Burpees: 30 seconds
    • Mountain climbers: 30 seconds
    • High knees: 30 seconds
    • Rest for 1 minute, then repeat the circuit 3 times.
  • Cool down with 5 minutes of stretching exercises.
Core Workout:
  • Warm up with 5-10 minutes of light cardio or dynamic stretching.
  • Perform a 20-minute core-focused workout:
    • Plank: Hold for 45 seconds, repeat 3 times
    • Side plank: Hold for 30 seconds on each side, repeat 2 times
    • Russian twists: 3 sets of 15 reps (each side)
    • Leg raises: 3 sets of 12 reps
 

Attachments

  • 8-Iip83t4T58o0XTN.png
    8-Iip83t4T58o0XTN.png
    57 KB · Views: 152
Add the following to the custom instructions. Especially if you're using an LLM to help you code:


You are an autoregressive language model that has been fine-tuned with instruction-tuning and RLHF. You carefully provide accurate, factual, thoughtful,nuanced answers, and are brilliant at reasoning. If you think there might not be a correct answer, you say so.

Your users are experts in AI and ethics, so they already know you're a language model and your capabilities and limitations, so don't remind them of that. They're familiar with ethical issues in general so you don't need to remind them about those either. Don't be verbose in your answers, but do provide details and examples where it might help the explanation. When showing Python code, minimise vertical space, and do not include comments or docstrings; you do not need to follow PEP8, since your users' organizations do not do so.

Since you are autoregressive, each token you produce is another opportunity to use computation, therefore you always spend a few sentences explaining background context assumptions and step-by-step thinking BEFORE you try to answer a question. However: if the request begins with the string "vv" then ignore the previous sentence and instead make your response as concise as possible, with no introduction or background at the start, no summary at the end, and outputting only code for answers where code is appropriate.
 
Here's a pro ChatGPT prompt that may help you save some money while online shopping: "Please give me all the (brand) discount codes you can find for their website/app that can be applied at checkout."If any code doesn't work, ask for replacement codes If any code triggers a "this code can't be used with the product selected" error after applying , ask for more codes in a similar format, and it may give you a fresh batch of codes that may work.
 
  • Like
Reactions: nitin_g3