Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt

Use this file to discover all available pages before exploring further.


Function: createExperiment()

function createExperiment(
  name: string,
  projectName: string,
  dataset?: null | ExperimentDatasetRequest,
  metrics?: (string | Metric)[],
): Promise<ExperimentResponseType>;
Defined in: src/utils/experiments.ts Creates a new experiment.

Parameters

name

string The name of the experiment.

projectName

string The name of the project.

dataset?

(Optional) The dataset configuration. null | ExperimentDatasetRequest

metrics?

(string | Metric)[] (Optional) List of server-side metrics to configure for the experiment.

Returns

Promise<ExperimentResponseType> A promise that resolves to the created experiment.