Client is instantiated, it will look for a file called
verta_config.yaml in the following locations—in order—using the first one it finds:
the current directory
parent directories, recursively
Defining a config file like this:
email: "[email protected]"dev_key: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"host: "app.verta.ai"workspace: "My Workspace"project: "My Project"experiment: "My Experiment"
allows you go directly from instantiating a client to working with your
ExperimentRun without needing to explicitly set the project or experiment in your code:
from verta import Clientclient = Client()run = client.set_experiment_run("New Run")# setting email from config file# setting dev_key from config file# setting host from config file# connection successfully established# setting experiment from config file# setting project from config file# set existing Project: My Project from workspace: My Workspace# set existing Experiment: My Experiment# created new ExperimentRun: New Run
For the fields and structure of the config file itself, please refer to the specification here.