https://github.com/databricks-solutions/mlflow-demo
https://github.com/databricks-solutions/mlflow-demo
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/databricks-solutions/mlflow-demo
- Owner: databricks-solutions
- License: other
- Created: 2025-08-05T19:58:23.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-08-28T00:04:50.000Z (11 months ago)
- Last Synced: 2025-08-28T07:58:05.201Z (11 months ago)
- Language: Python
- Size: 1.08 MB
- Stars: 2
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Codeowners: CODEOWNERS.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
# MLflow 3 GenAI Demo
A comprehensive demonstration of **MLflow 3's GenAI capabilities** for observability and evaluating, monitoring, and improving GenAI application quality. This interactive demo showcases a sales email generation use case with end-to-end quality assessment workflows.
This interactive demo is deployed as a Databricks app in your Databricks workspace. There is a guided UI experience that's accompanied by Notebooks that show you how to do the end-to-end workflow of evaluating quality, iterating to improve quality, and monitoring quality in production.
**Learn more about MLflow 3:**
- Read the [blog post](https://www.databricks.com/blog/mlflow-30-unified-ai-experimentation-observability-and-governance)
- View our [website](https://www.managed-mlflow.com/genai)
- Get started via the [documentation](https://docs.databricks.com/aws/en/mlflow3/genai/)
## Installing the demo
Choose your installation method:
### ๐ค Option A: Automated Setup (Recommended)
**Estimated time: 2 minutes user input + 15 minutes waiting for scripts to run**
The automated setup handles resource creation, configuration, and deployment for you using the Databricks Workspace SDK.
#### Prerequisites
- [ ] **Databricks workspace access** - [Create one here](https://signup.databricks.com/?destination_url=/ml/experiments-signup?source=TRY_MLFLOW&dbx_source=TRY_MLFLOW&signup_experience_step=EXPRESS&provider=MLFLOW&utm_source=email_demo_github) if needed
- [ ] **Install Python `>=3.10.16`**
#### Run Automated Setup
The `./auto-setup.sh` script will run all the steps outlined in the [Manual Setup](#-option-b-manual-setup) workflow.
- [ ] **1. Install the Databricks CLI >= 0.262.0**
- Follow the [installation guide](https://docs.databricks.com/aws/en/dev-tools/cli/install)
- Verify installation: Run `databricks --version` to confirm it's installed
- [ ] **2. Install Python >= 3.10.16**
- [ ] **3. Authenticate with your workspace**
- Run `databricks auth login` and follow the prompts
- Configure a profile named `DEFAULT`
- [ ] **3. Clone repo and run setup script**
```bash
git clone https://github.com/databricks-solutions/mlflow-demo.git
cd mlflow-demo
./auto-setup.sh
```
### ๐ง Option B: Manual Setup
**Estimated time: 10 minutes work + 15 minutes waiting for scripts to run**
For step-by-step manual installation instructions, see **[MANUAL_SETUP.md](MANUAL_SETUP.md)**.
The manual setup includes:
- Phase 1: Prerequisites setup (workspace, app creation, MLflow experiment, etc.)
- Phase 2: Local installation and testing
- Phase 3: Deployment and permission configuration
---
## MLflow 3 overview
MLflow 3.0 has been redesigned for the GenAI era. If your team is building GenAI-powered apps, this update makes it dramatically easier to evaluate, monitor, and improve them in production.
### Key capabilities
- **๐ GenAI Observability at Scale:** Monitor & debug GenAI apps anywhere \- deployed on Databricks or ANY cloud \- with production-scale real-time tracing and enhanced UIs. [Link](https://docs.databricks.com/aws/en/mlflow3/genai/tracing/)
- ๐ **Revamped GenAI Evaluation:** Evaluate app quality using a brand-new SDK, simpler evaluation interface and a refreshed UI. [Link](https://docs.databricks.com/aws/en/mlflow3/genai/eval-monitor/)
- โ๏ธ **Customizable Evaluation:** Tailor AI judges or custom metrics to your use case. [Link](https://docs.databricks.com/aws/en/mlflow3/genai/eval-monitor/custom-judge/)
- ๐ **Monitoring:** Schedule automatic quality evaluations (beta). [Link](https://docs.databricks.com/aws/en/mlflow3/genai/eval-monitor/run-scorer-in-prod)
- ๐งช **Leverage Production Logs to Improve Quality:** Turn real user traces into curated, versioned evaluation datasets to continuously improve app performance . [Link](https://docs.databricks.com/aws/en/mlflow3/genai/eval-monitor/build-eval-dataset)
- ๐ **Close the Loop with** **Feedback:** Capture end-user feedback from your appโs UI. [Link](https://docs.databricks.com/aws/en/mlflow3/genai/tracing/collect-user-feedback/)
- **๐ฅ Domain Expert Labeling:** Send traces to human experts for ground truth or target output labeling. [Link](https://docs.databricks.com/aws/en/mlflow3/genai/human-feedback/expert-feedback/label-existing-traces)
- ๐ **Prompt Management:** Prompt Registry for versioning. [Link](https://docs.databricks.com/aws/en/mlflow3/genai/prompt-version-mgmt/prompt-registry/create-and-edit-prompts)
- ๐งฉ **App Version Tracking:** Link app versions to quality evaluations. [Link](https://docs.databricks.com/aws/en/mlflow3/genai/prompt-version-mgmt/version-tracking/track-application-versions-with-mlflow)