đźš§ This site is under development; its content is not final and may change at any time. đźš§
Basic Prompt Engineering

Prompt Engineering

What is prompting and why does it matter?

The key to unlocking the power of generative AI lies in crafting effective prompts, a practice often referred to as prompt engineering. This guide will introduce you to the principles and practices of prompt engineering, complete with tips and examples to help you optimize your interactions with advanced language models. Clear and well-structured prompts provide context and guide the AI effectively, leading to higher-quality responses.

Prompt engineering involves designing, testing, and refining prompts to achieve the desired output from a generative AI. It blends creativity and precision, making it both an art and a science. By following these practices, you can make the most of generative AI’s capabilities.

Overview on Prompt Engineering

In a nutshell

When interacting with generative AI, remember these key points:

Garbage in, garbage out: Unclear context or difficult to understand prompts reduce the quality of the answer.

Keep prompts short: Avoid superfluous information to focus on the essentials and relevant keywords. One topic per conversation: Frequent changes of topic lead more easily to incorrect or irrelevant answers.

Provide Role and Context: All necessary information and context for the desired answer should be included. Begin by telling the AI who it should “act” as and what you’re trying to do. For example, “Act as an expert instructor in [your discipline]. I am creating a syllabus for [course name] …” This primes the model to give academic-appropriate responses.

Be Specific about the Output: Clearly state what you want it to produce (a list of topics? a table? bullet points? a certain tone?). The more specific your instructions, the closer the first draft will match your needs. For instance, “Present the rubric in a table with criteria as rows and performance levels as columns” will yield a rubric formatted as a table.

Iterate and Refine: Treat the AI’s response as a draft. You can ask follow-up questions or make requests to refine the material. For example, “Now add more detail under week 2 and 3 of the outline” or “Can you rephrase that objective to be more measurable?” Leveraging the chat interaction will improve the result in steps.

Review and Edit: Always review the AI’s output yourself. Use your expertise to adjust any content that isn’t accurate or appropriate. Don’t just do exactly what it says – use your expert human judgment to modify or ignore its suggestions. Think of the AI as an assistant generating ideas and text, while you are the final editor ensuring quality and correctness.