nerdexam
DatabricksDatabricks

GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #22

GENERATIVE-AI-ENGINEER-ASSOCIATE Question #22: Real Exam Question with Answer & Explanation

The correct answer is D: Write a MLflow PyFunc model that has a separate function to process the prompts. See the full explanation below for the reasoning.

Generative AI MLOps

Question

What is an effective method to preprocess prompts using custom code before sending them to an LLM?

Options

  • ADirectly modify the LLM's internal architecture to include preprocessing steps
  • BIt is better not to introduce custom code to preprocess prompts as the LLM has not been trained
  • CRather than preprocessing prompts, it's more effective to postprocess the LLM outputs to align
  • DWrite a MLflow PyFunc model that has a separate function to process the prompts

Topics

#Prompt Engineering#MLOps#MLflow#LLM Application Development

Community Discussion

No community discussion yet for this question.

Full GENERATIVE-AI-ENGINEER-ASSOCIATE PracticeBrowse All GENERATIVE-AI-ENGINEER-ASSOCIATE Questions