AIF-C01 Question 122
Select 3A retail company is using a generative AI model to create customer service responses. However, the generated responses are often too verbose and include unnecessary details. The company wants to refine the output to be concise and focused. Which prompt engineering techniques should they use to achieve this goal?
- A
Specify the desired response length in the prompt
- B
Provide a few examples of concise responses in the prompt
- C
Use temperature settings in the model to control verbosity
- D
Avoid using system-level instructions in the prompt
- E
Include clear and direct instructions about the desired tone and focus
Show answer and explanation
Correct answers: A, B, E
Explanation
Effective prompt engineering involves clearly defining the desired outcomes for the AI model. By specifying response length, providing examples, and giving direct instructions, the model is more likely to generate concise and focused outputs. Temperature settings and avoiding system-level instructions are less relevant to achieving brevity and focus in this scenario.
- A. Correct.
Specifying the desired response length in the prompt helps guide the model to generate outputs that align with the required brevity.
- B. Correct.
Providing examples of concise responses trains the model to mimic the desired style, ensuring focused and brief outputs.
- C. Incorrect.
While temperature settings control randomness in the output, they do not directly influence verbosity or focus.
- D. Incorrect.
System-level instructions are often beneficial for providing context; avoiding them may reduce the clarity of the desired outcome.
- E. Correct.
Including clear and direct instructions about tone and focus ensures the model understands the requirements, leading to better results.