Databricks GenAI Engineer: Coding pyfunc Chains and Registering Them to Unity Catalog
Coding a chain with pyfunc and registering it to Unity Catalog is the step that turns a working notebook prototype into a versioned, governed MLflow model that Model Serving, batch jobs and ai_query() can all call the same way. This lesson covers choosing the model flavor (LangChain, pyfunc PythonModel or ResponsesAgent), what belongs in load_context versus predict, pre- and post-processing, simple LangChain Expression Language chains, logging from code with ModelConfig, dependencies, input examples and signatures, the embedding model and retriever for a RAG chain, and registering, aliasing and securing the model in Unity Catalog, for the Databricks Certified Generative AI Engineer Associate exam.
You’ve read your 2 free Databricks GenAI lessons
Sign up free to read every lesson — your progress is saved.
Source
This lesson covers the "Assembling and Deploying Applications" domain of the official Databricks GenAI exam guide. Vendors revise their guides — check the source for the current version.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.