
Ultimate access to all questions.
A Generative AI Engineer is using an LLM to classify mushroom species from text descriptions. The model is accurate but its responses include unwanted reasoning text alongside the label. The engineer has a confirmed list of valid labels and wants the output to contain only the label itself.
What should they do to get the LLM to produce this desired output?