Skip to main content

PURL Type Definition: mlflow

  • Type Name: MLflow
  • Description: MLflow ML models (Azure ML, Databricks, etc.)
  • Schema ID: https://packageurl.org/types/mlflow-definition.json

PURL Syntax

The structure of a PURL for this package type is:

pkg:mlflow/<name>@<version>?<qualifiers>#<subpath>

Repository Information

  • Use Repository: Yes
  • Note: The repository is the MLflow tracking URI. There is no default. Some examples include Azure ML https://.api.azureml.ms/mlflow/v1.0/subscriptions//resourceGroups//providers/Microsoft.MachineLearningServices/workspaces/ and Azure Databricks https://adb-..azuredatabricks.net/api/2.0/mlflow and AWS Databricks https://dbc--.cloud.databricks.com/api/2.0/mlflow and GCP Databricks https://..gcp.databricks.com/api/2.0/mlflow

Namespace definition

  • Requirement: Prohibited
  • Note: there is no namespace

Name definition

  • Requirement: Required
  • Note: The name is the model name. Case sensitivity depends on the server implementation, such as for Azure ML, it is case sensitive and must be kept as-is in the package URL; and for Databricks, it is case insensitive and must be lowercased in the package URL.

Version definition

  • Requirement: Optional
  • Native Label: version
  • Note: The version is the model version.

Qualifiers Definition

KeyRequirementNative nameDefault ValueDescription
model_uuidOptionalmodel_uuidmodel_uuid as defined in the MLflow documentation.
run_idOptionalrun_idrun_id as defined in the MLflow documentation.

Examples

  • pkg:mlflow/creditfraud@3?repository_url=https:%2F%2Fwestus2.api.azureml.ms%2Fmlflow%2Fv1.0%2Fsubscriptions%2Fa50f2011-fab8-4164-af23-c62881ef8c95%2FresourceGroups%2FTestResourceGroup%2Fproviders%2FMicrosoft.MachineLearningServices%2Fworkspaces%2FTestWorkspace
  • pkg:mlflow/trafficsigns@10?model_uuid=36233173b22f4c89b451f1228d700d49&run_id=410a3121-2709-4f88-98dd-dba0ef056b0a&repository_url=https:%2F%2Fadb-5245952564735461.0.azuredatabricks.net%2Fapi%2F2.0%2Fmlflow