Run and compare different variants of your AI workflows with Basalt Experiments.
createExperiment
method:
feature-slug
: The slug of the feature this experiment is associated withname
: A descriptive name for the experiment (visible in the UI)createExperiment
method returns an experiment object with the following properties:
id
: Unique identifier for the experimentname
: The name you providedfeatureSlug
: The feature slug this experiment is associated withcreatedAt
: Timestamp when the experiment was createdcreateTrace
method: