Maxim CLI

Installation

Shell command to install the CLI
wget https://downloads.getmaxim.ai/cli/<VERSION>/<OS>/<ARCH>/maxim
Example: for linux amd64
wget https://downloads.getmaxim.ai/cli/v1/linux/amd64/maxim

Use .exe extension for windows downloads. For example
wget https://downloads.getmaxim.ai/cli/v1/windows/amd64/maxim.exe

Supported OS + ARCH

OSARCH
Linuxamd64
Linux386
Darwinamd64
Darwinarm64
Windowsamd64
Windows386

Env Variables

You will require to set these environment variables before using the CLI.

NameValue
MAXIM_API_KEYAPI Key from Settings

Trigger a test run

Shell command to trigger a test run
maxim test -w <workflow_id> -d <dataset_id> -e <evaluator_names separated by comma>  --json
ArgumentDescription
-wWorkflow ID or IDs. If you send more than one ID (comma separated), it will create a comparison run.
-dDataset ID
-eEvaluator names. Eg Bias,BLUE
--jsonOutput in JSON (optional)

On this page