This feature requires a Pro or Enterprise plan.
production alias is added to an artifact, or start a validation job only when a runโs loss is within acceptable bounds.
Overview
An automation can start when a specific event occurs in a registry or project. In a Registry, an automation can start:- When a new artifact version is linked to a collection. For example, trigger testing and validation workflows for new candidate models.
- When an alias is added to an artifact version. For example, trigger a deployment workflow when an alias is added to a model version.
- When a new version is added to an artifact. For example, start a training job when a new version of a dataset artifact is added to a given collection.
- When an alias is added to an artifact version. For example, trigger a PII redaction workflow when the alias โredactionโ is added to a dataset artifact.
- When a tag is added to an artifact version. For example, trigger a geo-specific workflow when the tag โeuropeโ is added to an artifact version.
- When a metric for a run meets or exceeds a configured threshold.
- When a metric for a run changes by a configured threshold.
- When a runโs status changes to Running, Failed, or Finished.
- Filter artifacts, aliases, or tags by name
- Filter runs by user or run name.
- If required, configure secrets for sensitive strings the automation requires, such as access tokens, passwords, or sensitive configuration details. Secrets are defined in your Team Settings. Secrets are most commonly used in webhook automations to securely pass credentials or tokens to the webhookโs external service without exposing it in plain text or hard-coding it in the webhookโs payload.
- Configure team-level webhook or Slack integrations to authorize W&B to post to Slack or run the webhook on your behalf. A single automation action (webhook or Slack notification) can be used by multiple automations. These actions are defined in your Team Settings.
- In the project or registry, create the automation:
- Define the event to watch for, such as when a new artifact version is added.
- Define the action to take when the event occurs (posting to a Slack channel or running a webhook). For a webhook, specify a secret to use for the access token and/or a secret to send with the payload, if required.
Limitations
Run metric automations are currently supported only in W&B Multi-tenant Cloud.Next steps
- Create an automation.
- Learn about Automation events and scopes.
- Create a secret.