GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #33
GENERATIVE-AI-ENGINEER-ASSOCIATE Question #33: Real Exam Question with Answer & Explanation
The correct answer is D: Use a system prompt to instruct the model to be succinct in its answer. A system prompt can be used to set behavior guidelines for the model, such as ensuring that it only returns the label without any additional reasoning or explanation. By explicitly instructing the model to be succinct, the Generative AI Engineer can control the output format effe
Question
A Generative AI Engineer is using an LLM to classify species of edible mushrooms based on text descriptions of certain features. The model is returning accurate responses in testing and the Generative AI Engineer is confident they have the correct list of possible labels, but the output frequently contains additional reasoning in the answer when the Generative AI Engineer only wants to return the label with no additional text. Which action should they take to elicit the desired behavior from this LLM?
Options
- AUse few shot prompting to instruct the model on expected output format
- BUse zero shot prompting to instruct the model on expected output format
- CUse zero shot chain-of-thought prompting to prevent a verbose output format
- DUse a system prompt to instruct the model to be succinct in its answer
Explanation
A system prompt can be used to set behavior guidelines for the model, such as ensuring that it only returns the label without any additional reasoning or explanation. By explicitly instructing the model to be succinct, the Generative AI Engineer can control the output format effectively. This approach ensures that the model's responses are concise and follow the desired structure.
Topics
Community Discussion
No community discussion yet for this question.