Overview
Theremove_logs_from_dataset
method allows you to remove specific logs from a dataset. This is useful for cleaning up datasets or removing outdated or irrelevant logs.
Method Signature
Synchronous
Asynchronous
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
dataset_id | str | Yes | The unique identifier of the dataset |
log_ids | List[str] | Yes | List of log IDs to remove from the dataset |
Returns
Returns a dictionary containing the operation result and updated dataset information.Examples
Basic Usage
Asynchronous Usage
Error Handling
Common Use Cases
- Cleaning up datasets by removing irrelevant logs
- Removing outdated or incorrect data
- Managing dataset size and quality
- Preparing clean datasets for training