🚧 This site is under development; its content is not final and may change at any time. 🚧
Interacting with AI

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.

Best Practices When Prompting

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

  • Be clear and precise: All necessary information and context for the desired answer should be included.

  • Use correct grammar and spelling: Correct grammar helps to accurately interpret the request.

  • 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.

Overview on Prompt Engineering


Example prompts you can try right now

Answer a question

🙋
What is the capital of France?
🤖
The capital of France is Paris.

Solve a Logical Problem

🙋
Solve this logical puzzle: If all bloops are razzles and all razzles are fizzles, are all bloops fizzles?
🤖
Yes, all bloops are fizzles. This is a classic example of the transitive property in logic. Here’s how it works: We know that all bloops are razzles. We also know that all razzles are fizzles. If every bloop is a razzle and every razzle is a fizzle, then by transitivity, every bloop must also be a fizzle.

Summarize a Paragraph into a Single Sentence

Prompt: Summarize the following paragraph into a single sentence: [...]

Output: “[…]”


Rewrite a Paragraph into a Funny Style

Prompt: Rewrite the following paragraph in a humorous style: [Insert paragraph here]

Output: “[…]”