• Preparing search index...
  • The search index is not available
Arize Phoenix TS
  • Arize Phoenix TS
  • @arizeai/phoenix-client
  • datasets/createOrGetDataset
  • createOrGetDataset

Function createOrGetDataset

  • createOrGetDataset(
        __namedParameters: CreateDatasetParams,
    ): Promise<CreateOrGetDatasetResponse>

    Given the parameters to create a dataset, this function will either retrieve an existing dataset by name or create a new one with the provided parameters.

    This is useful in cases where you would like to re-run a pipeline like:

    • ensure dataset exists
    • create a task
    • run experiment
    • evaluate experiment without having to create a new dataset each time.

    Parameters

    • __namedParameters: CreateDatasetParams

    Returns Promise<CreateOrGetDatasetResponse>

    • Defined in packages/phoenix-client/src/datasets/createOrGetDataset.ts:23

Settings

Member Visibility
Arize Phoenix TS
  • Loading...

Generated using TypeDoc