replace_dataset_log
Overwrite a specific log in a dataset by replacing its input, output, expected_output, and metadata fields with new values, enabling corrections or updates.
Instructions
Replace (full overwrite) a log in a dataset. Updates input, output, expected_output, and/or metadata fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Input data for the log. | |
| output | No | Output data for the log. | |
| prompt | No | Prompt text. | |
| metadata | No | Metadata key-value pairs. | |
| unique_id | Yes | The unique identifier of the log to replace. | |
| completion | No | Completion text. | |
| dataset_id | Yes | The unique identifier of the dataset. | |
| expected_output | No | Expected output for evaluation. |