NCA-GENM Question 47
Single answerYou are tasked with generating a detailed description of a restaurant scene using a multimodal generative AI model. The initial prompt, 'Describe a restaurant,' produces a short and vague response. Which of the following prompts would best apply prompt engineering principles to achieve a detailed and vivid output?
- A
Describe a restaurant.
- B
Describe a high-end Italian restaurant during a busy dinner service, including the ambiance, sounds, and key details about the food being served.
- C
Write about a restaurant in a few sentences.
- D
Generate a short description of a restaurant where people eat.
Show answer and explanation
Correct answer: B
Explanation
Prompt engineering involves crafting detailed and specific prompts to guide the model toward producing desired outcomes. The correct prompt includes rich context, specific instructions, and relevant details to ensure the generated response aligns with the desired vivid and descriptive output.
- A. Incorrect.
This prompt is too vague and lacks specific instructions, leading to a generic and potentially undesired response.
- B. Correct.
This prompt uses prompt engineering principles effectively by specifying a detailed context (high-end Italian restaurant), scene elements (ambiance, sounds), and a focus on food details, leading to a rich and vivid output.
- C. Incorrect.
This prompt is vague and does not provide enough context or detail to guide the model toward producing a descriptive and vivid response.
- D. Incorrect.
This prompt limits the model's response by explicitly asking for a short description and fails to include any specifics that would enhance the output.