41da8739a690
Edit a dataset
Updates a dataset to use the specified configuration.
Query parameters
When true, triggers a rescan of dataset files after the update
Request body
The dataset to edit
The new name of the dataset
A dictionary mapping entity type names to their transformation type (e.g. Redaction, Synthesis, Off).
A dictionary mapping entity type names to their transformation metadata configuration.
The new excluded entity value list. Legacy strings inputs are accepted for backward compatibility and normalized into regexes.
The new added entity value list. Legacy strings inputs are accepted for backward compatibility and normalized into regexes.
The Location to store dataset files. Not applicable to local datasets
The OCR engine used for text extraction from images, scanned documents, and PDFs
Example request
{
"generatorSetup": {
"NAME_GIVEN": "Redaction",
"NAME_FAMILY": "Redaction"
},
"labelBlockLists": {
"NAME_FAMILY": {
"regexes": [
".*\\s(disease|syndrome|disorder)"
]
}
},
"labelAllowLists": {
"HEALTHCARE_ID": {
"regexes": [
"[a-z]{2}\\d{9}"
]
}
}
}Response
Returns the updated dataset
A dictionary mapping entity type names to their transformation metadata configuration.
The output format for redacted files: Original preserves the source format, Markdown produces a markdown version.
A dictionary mapping entity type names to their transformation type (e.g. Redaction, Synthesis, Off).
A point in time represented as an ISO 8601 timestamp string.
A point in time represented as an ISO 8601 timestamp string.
The original upload location of source files (Local, S3, Azure, SharePoint, OneLake, or SDK).
The OCR engine used for text extraction from images, scanned documents, and PDFs