QuestionQ109
VerifiedEvaluation and MonitoringA Generative AI Engineer is developing a customer-support agent on Databricks and must evaluate whether the agent’s responses comply with a strict company tone policy. The engineer wants to create a custom scorer in MLflow 3.x that programmatically determines whether a response includes any prohibited phrases from a predefined list and produces a binary score. The scorer must be registered and reusable across multiple evaluation runs.
Which approach correctly implements this custom scorer in MLflow v3.x?
Community Discussion