Environment variables
You can configure your code to accept external parameters at runtime, overriding default any values in your code. These parameters, called Experiment Environment Variables, are automatically captured and tracked in Gradient.
Code sample:
Adding parameters to Experiment:
The syntax for these parameters in the CLI is JSON.
These parameters will be injected into the Experiment at runtime and captured in Gradient.
Injecting Secrets:
Secrets are currently limited to experiments run on private clusters
Secrets can be injected into variables using the following syntax:
Last updated