NCA-GENL Question 59
Select 4You are using a large language model (LLM) to generate a detailed product description for an e-commerce website. The initial prompt you tried resulted in very brief and generic responses. Which of the following adjustments would help you use prompt engineering principles to achieve more detailed and specific outputs?
- A
Provide clear instructions in the prompt, explicitly asking for a detailed and descriptive response.
- B
Include examples of detailed product descriptions in the prompt as a reference.
- C
Shorten the prompt to only include the product name to avoid overloading the model with information.
- D
Ask the model to use bullet points for clarity and organization.
- E
Specify a tone or style for the product description, such as 'professional' or 'engaging'.
Show answer and explanation
Correct answers: A, B, D, E
Explanation
Prompt engineering involves crafting prompts that guide the model effectively to generate the desired output. Clear instructions, examples, formatting guidance, and tone/style specifications make the prompt more explicit and context-rich, helping the model produce more accurate and relevant results. Avoiding overly vague or brief prompts is crucial to achieving the desired level of detail.
- A. Correct.
Providing clear instructions helps the model understand the desired level of detail and specificity, which aligns with prompt engineering principles.
- B. Correct.
Including examples as part of the prompt provides the model with a context to emulate, leading to better-aligned outputs.
- C. Incorrect.
Shortening the prompt excessively can make it too vague, resulting in outputs that lack detail or context.
- D. Correct.
Asking the model to use bullet points introduces structure, which can enhance readability and organization in the generated response.
- E. Correct.
Specifying a tone or style ensures the output aligns with the intended purpose, making it more relevant and engaging.