Question 1
A context engineer is building an AI application that tracks every prompt sent to a large language model, the retrieved context chunks passed to it, and the final generated response. The application must capture token usage, latency metrics, and user feedback scores associated with each inference run. The engineer needs a unified system that versions prompt templates alongside model artifacts, links evaluation results to specific runs, and provides a query interface so downstream dashboards can compare performance across experiment iterations, all without building a custom logging backend.
Which Databricks product should the context engineer use to meet these requirements?
MLflow 3 provides an integrated observability, experiment tracking, prompt management, and evaluation environment for generative AI applications developed on Databricks.
The application requires end-to-end visibility into inference operations, including prompts, retrieved passages, model responses, token usage, latency, and feedback.
MLflow Tracing records individual execution spans associated with model invocations, retrievers, tools, and other agent components. These traces enable engineers to reconstruct the execution path and investigate failures or performance bottlenecks.
MLflow's Prompt Registry provides centralized prompt-template versioning, while experiment tracking associates application configurations with their observed performance.
The evaluation framework supports automated scoring, human feedback, and comparisons between application versions.
Option A describes governance capabilities associated with Unity Catalog but does not independently provide the complete MLflow evaluation workflow. Option B would require implementing application-specific logging and analysis functionality. Option D concerns tool interoperability rather than experiment observability.
Option C is therefore the appropriate selection.
One technical distinction is that MLflow manages prompt versions through its Prompt Registry, not simply by storing them as conventional model artifacts. The registry can track lineage between prompts and logged application or model versions.
Together, these capabilities support reproducible experimentation, operational monitoring, and performance analysis without requiring a custom tracking backend.
Official Databricks reference: Tracing overview, Prompt Registry, Evaluate and improve, and Track prompt versions alongside application versions.