Practical-Applications-of-Prompt practice question 1 of 10

Which factor should be considered when writing generative AI prompts?

Full set: 50 questions
Answer options
A: Location
B: Uniqueness
C: Scope Correct answer
D: Time of day
Correct Answer:
C. Scope
Explanation

The most critical factor when writing generative AI prompts is clarity regarding context, constraints, and the desired format. An effective prompt provides specific details to guide the model's output. This includes setting the scene or persona (context), defining rules or limitations (constraints, e.g., "keep it under 500 words," "use a formal tone"), and specifying the structure of the response (format, e.g., "in bullet points," "as a JSON object"). This precision minimizes ambiguity and significantly increases the likelihood of receiving a relevant and high-quality response.

Why Incorrect

A. The length of the prompt should always be minimized: This is incorrect. Longer, more detailed prompts, including few-shot examples, often yield superior and more nuanced results.
B. The prompt should be as ambiguous as possible to allow for creativity: Ambiguity typically leads to generic, unfocused, or irrelevant outputs, not useful or controlled creativity.
D. The prompt should only contain questions, never statements or commands: Effective prompts use a mix of questions, commands, statements, and examples to provide comprehensive instructions to the AI.

References

1. Google. (2024). Introduction to prompt design. Google for Developers. This guide explicitly states, "Be specific and detailed in your prompt," and provides examples of adding context and specifics.

2. Weng, L. (2023). Prompt Engineering. Lil's Log (OpenAI Researcher). The article emphasizes the importance of providing specific instructions and context, stating "The model does not know what you want unless you tell it."

3. Scao, T. L., et al. (2022). BLOOM: A 176B-Parameter Open-Access Multilingual Language Model. Section 6.2, "Prompting," discusses how the formulation of prompts, including their specificity, directly impacts model performance. (https://arxiv.org/abs/2211.01786)

Scroll to Top