🔥 3-day streak
Databricks Certified Generative AI Engineer Associate69 / 145
Question 69 of 145
A GenAI engineer built a RAG chain in a Databricks notebook using LangChain. The chain references a custom Python helper module (retrieval_utils.py) that lives alongside the notebook. When logging the chain with MLflow using mlflow.langchain.log_model() by passing the in-memory chain object directly, the model deploys successfully but fails at serving time with a ModuleNotFoundError for retrieval_utils. What is the recommended way to log the model so it serves correctly?
Reviewed for accuracy · Report an issueNext question