Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Generative AI Engineer Associate All Questions

View all questions & answers for the Certified Generative AI Engineer Associate exam

Exam Certified Generative AI Engineer Associate topic 1 question 27 discussion

Actual exam question from Databricks's Certified Generative AI Engineer Associate
Question #: 27
Topic #: 1
[All Certified Generative AI Engineer Associate Questions]

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

  • A. Directly modify the LLM’s internal architecture to include preprocessing steps
  • B. It is better not to introduce custom code to preprocess prompts as the LLM has not been trained with examples of the preprocessed prompts
  • C. Rather than preprocessing prompts, it’s more effective to postprocess the LLM outputs to align the outputs to desired outcomes
  • D. Write a MLflow PyFunc model that has a separate function to process the prompts
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
trendy01
4 weeks, 1 day ago
Selected Answer: D
D appears to be the most appropriate choice. By writing MLflow PyFunc models and having a separate function to handle prompts, you can perform preprocessing more systematically and flexibly. This is a way to improve performance by providing optimized prompts for LLM.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...