NCA-GENL Question 55
Single answerYou are tasked with developing a chatbot using a generative AI model to assist customers with troubleshooting technical issues. During testing, you notice that the responses are too vague and unhelpful. Which prompt engineering principle should you apply to improve the model's performance?
- A
Use detailed and specific instructions in the prompt to guide the model's behavior.
- B
Reduce the prompt length to avoid overwhelming the model with too much information.
- C
Include multiple unrelated tasks in a single prompt to test the model's flexibility.
- D
Avoid using examples in the prompt, as they might bias the model's responses.
Show answer and explanation
Correct answer: A
Explanation
Using detailed and specific instructions in the prompt is a key principle of prompt engineering. It ensures that the model understands the context and generates responses aligned with the desired outcome. In this scenario, adding clarity and specificity to the prompt will help the chatbot provide better troubleshooting assistance.
- A. Correct.
Providing detailed and specific instructions helps guide the model's behavior, ensuring it generates precise and contextually relevant responses.
- B. Incorrect.
Reducing the prompt length unnecessarily can remove important context or instructions, leading to less effective outputs.
- C. Incorrect.
Including multiple unrelated tasks in a single prompt can confuse the model and reduce the quality of the response for the primary task.
- D. Incorrect.
Examples in prompts can help clarify the expected output and improve the model's performance, rather than biasing it.