Exit DATABRICKS-CERTIFIED-GENERATIVE-AI-ENGINEER-ASSOCIATE Databricks Certified Generative AI Engineer Associate
Question 1 of 5
0% complete
Q1 Single choice

A Generative Al 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
Al Engineer is confident they have the correct list of possible labels, but the output frequently contains additional reasoning in the answer when the Generative Al Engineer only wants to return the label with no additional text.

Which action should they take to elicit the desired behavior from this LLM?

  • A

    Use few snot prompting to instruct the model on expected output format

  • B

    Use zero shot prompting to instruct the model on expected output format

  • C

    Use zero shot chain-of-thought prompting to prevent a verbose output format

  • D

    Use a system prompt to instruct the model to be succinct in its answer

Previous Next