NCA-GENM Question 189
Select 3You are using a generative AI model to create product descriptions for an e-commerce website. However, the outputs are inconsistent in tone and structure. Which prompt engineering techniques can help ensure the descriptions have a consistent professional tone and follow a specific format?
- A
Specify the desired tone and structure explicitly in the prompt
- B
Use a few-shot learning approach by including examples of ideal product descriptions in the prompt
- C
Add specific keywords and phrases that must appear in the output
- D
Rely on the model's default behavior without additional instructions
- E
Ask the model to generate multiple responses and manually choose the best one
Show answer and explanation
Correct answers: A, B, C
Explanation
Prompt engineering involves crafting prompts that effectively guide the model's behavior. Techniques like explicitly defining tone and structure, providing examples (few-shot learning), and specifying required keywords improve the quality and consistency of generative AI outputs. These approaches ensure the model aligns with the intended goals without relying solely on manual selection or default behavior.
- A. Correct.
Explicitly specifying the tone and structure in the prompt guides the model to generate outputs that align with your requirements. This is a core prompt engineering technique.
- B. Correct.
Including examples of ideal outputs in the prompt (few-shot learning) helps the model understand the desired style and format, improving consistency.
- C. Correct.
Incorporating specific keywords and phrases ensures that critical elements are included in the generated text, aligning the output with your business needs.
- D. Incorrect.
Relying on the model's default behavior without instructions often leads to inconsistent results, as the model lacks guidance on tone and structure.
- E. Incorrect.
While generating multiple responses can help, it does not directly address the need for consistent tone and structure. Prompt engineering is a more effective solution.