
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A generative image model is asked to create a "Thanksgiving dinner scene" but the user specifies: "Do not include any people or brand logos in the image." Which technique is being used?
A
Few-shot Prompting
B
Negative Prompting
C
Reinforcement Learning
D
Contextual Embedding
Explanation:
Explanation:
Negative prompting is a technique where users specify what they do not want to appear in the generated output. In this scenario:
Primary request: Create a "Thanksgiving dinner scene"
Negative specification: "Do not include any people or brand logos in the image"
This is a classic example of negative prompting because:
The user provides explicit constraints about what should be excluded
It guides the AI model to avoid specific elements
It helps refine the output by eliminating unwanted content
Comparison with other options:
A) Few-shot Prompting: Involves providing examples (shots) to guide the model, not specifying what to exclude
C) Reinforcement Learning: A training method where models learn through rewards/penalties, not a prompting technique
D) Contextual Embedding: Refers to how words/sentences are represented in context, not a user-facing prompting method
Negative prompting is particularly useful in generative AI to control output quality and avoid unwanted elements in generated content.