nerdexam
Databricks

GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #22

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

Sign in or unlock GENERATIVE-AI-ENGINEER-ASSOCIATE to reveal the answer and full explanation for question #22. The question stem and answer options stay visible for context.

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

Unlock GENERATIVE-AI-ENGINEER-ASSOCIATE to see the answer

You've previewed enough free GENERATIVE-AI-ENGINEER-ASSOCIATE questions. Unlock GENERATIVE-AI-ENGINEER-ASSOCIATE for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Prompt Engineering#MLOps#MLflow#LLM Application Development
Full GENERATIVE-AI-ENGINEER-ASSOCIATE Practice