Learn what prompt design is and how to create effective prompts for large language models (LLMs) to perform various tasks. Understand the principles and best practices of prompt design and their examples and applications in generative AI.
Table of Contents
Question
Your company has a large language model (LLM) to help employees with their everyday tasks. You want to teach your colleagues about prompt design. Which of the following is a good example of a well-designed prompt?
A. When does my manager expect me to complete my project?
B. What is the meaning of life?
C. Can you tell me how long a really long paragraph can be before it’s too long?
D. Translate the following sentence into French: Hello, how are you today?
Answer
D. Translate the following sentence into French: Hello, how are you today?
Explanation
The correct answer is D. D is a good example of a well-designed prompt, because it:
- Specifies the task clearly and concisely: translating a sentence from English to French.
- Provides the input data in a structured and consistent format: a sentence in English, followed by a colon.
- Indicates the expected output format: a sentence in French.
The other options are not good examples of well-designed prompts, because they:
- A. Are vague and ambiguous: the manager’s expectations may vary depending on the project, the deadline, the quality, etc.
- B. Are too broad and complex: the meaning of life is a philosophical question that has no definitive or objective answer, and may depend on the personal beliefs, values, and experiences of the individual.
- C. Are unclear and imprecise: the length of a paragraph may depend on the context, the purpose, the style, the audience, etc., and there is no universal rule or standard for defining a really long paragraph.
The latest Generative AI Fundamentals actual real practice exam question and answer (Q&A) dumps are available free, helpful to pass the Generative AI Fundamentals certificate exam and earn Generative AI Fundamentals certification.