Clone a public dataset to your own langsmith tenant.
This operation is idempotent. If you already have a dataset with the given name, this function will do nothing.
clone_public_dataset(
self,
token_or_url: str,
*,
source_api_url: Optional[str] = None,
dataset_name: Optional[str] = None
) -> ls_schemas.Dataset| Name | Type | Description |
|---|---|---|
token_or_url* | str | The token of the public dataset to clone. |
source_api_url | Optional[str] | Default: NoneThe URL of the langsmith server where the data is hosted. Defaults to the API URL of your current client. |
dataset_name | Optional[str] | Default: NoneThe name of the dataset to create in your tenant. Defaults to the name of the public dataset. |