@arizeai/phoenix-client
Version:
A client for the Phoenix API
25 lines • 712 B
TypeScript
import { ClientFn } from "../types/core.js";
import { Example } from "../types/datasets.js";
export type CreateDatasetParams = ClientFn & {
/**
* The name of the dataset
*/
name: string;
/**
* The description of the dataset
*/
description: string;
/**
* The examples to create in the dataset
*/
examples: Example[];
};
export type CreateDatasetResponse = {
datasetId: string;
};
/**
* Create a new dataset
* @experimental this interface may change in the future
*/
export declare function createDataset({ client: _client, name, description, examples, }: CreateDatasetParams): Promise<CreateDatasetResponse>;
//# sourceMappingURL=createDataset.d.ts.map