Custom entity types - You can now define custom entity types, to identify sets of values that are unique to your industry or organization. For each custom entity type, you provide one or more regular expressions to define the matching values. You can then enable or disable the entity type for each dataset and pipeline.
Fixed an issue that caused slow load times for customers with large datasets. Calls to GET /api/dataset and GET /api/dataset/{datasetid} no longer return entity information for the dataset files. Instead, the new GET /api/dataset/{datasetid}/pii_info endpoint returns the entity information for a dataset’s files.
A new dataset settings option controls the output in .docx tables. By default, table content goes through the regular scan and redaction process, and detected entity values are handled based on the dataset’s entity type handling configuration. You can also choose to completely block out all table cells, in which case each table cell is covered by a black box.
File statistics for pipelines - The pipeline details page now displays a summary of information about the pipelines files, including the number of files, the number of words in the files, the number of detected entity types, and the number of detected topics. For entity types, the display includes the number of detected values for each type. For topics, the display includes the number of files that involve each topic.
On the dataset details page, the preview count for each entity type now reflects the count of values that are assigned that type in the output files. Previously, values that matched multiple entity types were included in the preview count for all of the matching types.
New Textual Home page - The Textual Home page now contains an updated version of the Playground, where you can see how Textual detects and replaces entity values in text. There is no longer a separate Playground page, and there is no LLM Synthesis option. For each entity type, you can configure handling options and added or excluded values. Textual generates Python and cURL versions of the request that you can copy.
From the Request Explorer, in addition to testing added and excluded values, you can now also select the handling type for each entity type. The Unified toggle is replaced with options to view either the original values with their corresponding types (Identification) or the actual output with the replacement values (Replacement).
Edit and replay recorded requests - When you use the Request Explorer to preview a recorded redaction request from the SDK, you can now edit the request to add and exclude entity values. You can then re-run the redaction and view the differences between the original request and the edited request.
When you configure excluded values for an entity type, you can block detection of a specific type within a matching phrase. For example, if you add the phrase "one moment, please" to an excluded value for numeric values, the word “one” is not detected as a numeric value in that specific context.
Fixed an issue that prevented users from saving the dataset configuration for .docx comments.
Record and view redaction requests - When you make a redact call to redact a plain text string, you can now record the request. You specify the amount of time to keep the recording, and any tags to assign to the request. From the new API Explorer page, you can then view and analyze the recorded redaction requests, to assess the quality of the redaction.
New redaction options for datasets - The settings panel for datasets now includes additional configuration options:
- You can configure whether to redact or remove images in .docx files.
- You can choose to remove comments from .docx files.
- For PDF files, you can choose to detect and redact scanned signatures.
Added the Tonic NER model version to the model information. The API endpoint /api/environment/models reports version strings for NER models.
Entity manager for entity types - The new entity manager allows you to view all of the occurrences of each entity type in a dataset. it displays the original value, the context in the original file, and the context in the transformed file. To view the entities manager, from the entity value preview list, click Open Entities Manager. Note that by default, for the NUMERIC_VALUE entity type, Textual only provides context information for the first 20 occurrences. To change this, set the SOLAR_NER_OCCURRENCE_IGNORE_NUMERIC_VALUE environment variable to false.
Fixed a rare issue where Azure OCR returned a400 response when the file upload stream contained corrupted data.
Improved synthesis on days of the week and ordinal numbers that are flagged as DATE_TIME.
Textual now only disables a numeric span when it overlaps one of the following disabled types: DATE_TIME, DOB, LOCATION, LOCATION_ADDRESS, LOCATION_ZIP, MONEY, CREDIT_CARD, PHONE_NUMBER.
Improved the Textual NER model throughput on long strings that contain a large number of detected entities.
Added support to store dataset files in a specified S3 bucket, instead of in the Textual application database.
When Textual replaces first name values, it now attempts to use a name with the same gender.
For the DOB (date of birth) entity type, you can now configure synthesis options. You can set how to shift the date.
You can now configure the entity type handling for a dataset before you upload the dataset files.
You can now provide added and excluded entity values when you use the SDK to redact individual strings and files.
Added a new method to the SDK. redact_xml works similarly to redact_json. To produce a redacted output, you pass in a redact_xml string.
Removed support for en_core_web_trf and en_core_web_lg auxiliary models. Disabled model inference for ORGANIZATION, PERSON, LOCATION, and MONEY entity types. Updated the auxiliary model configuration environmental variables to have new default values:TEXTUAL_AUX_MODEL_GPU: falseTEXTUAL_AUX_MODEL: en_core_web_sm
Fixed a redaction issue that was caused by a regression from v140.
Improved the Textual NER model, specifically for datetime values and and electronic health records.
Fix for correctly re-synthesizing files as part of pipelines
When you call the dataset.add_file method in the Textual SDK, you can now pass in IO bytes.
You can now specify a list of additional values to include for each entity in a datasets. This allows Textual to identify values that it might not identify because they are specific to your organization or industry. The list can contain both specific values and regular expressions.
Improved the file list display for datasets to better accommodate longer file names.
For an uploaded file pipeline, added a Back to Files breadcrumb to return the user to the main file list.
On the dataset details page, the bulk edit function for entity type handling is now a dropdown instead of separate buttons.
You can now use the Python SDK to delete files from a dataset.
To improve performance, enabled date synthesis inference on GPU. Added the environment variable TEXTUAL_DATE_ SYNTH_ GPU to manage whether to use it.
Renamed the following environment variables:
SOLAR_PREFER_GPUtoTEXTUAL_AUX_MODEL_GPUSOLAR_AUX_MODELtoTEXTUAL_AUX_MODEL
The responses for textual.redact and textual.llm_synthesis now include:
br<
- The
languagefor each entity value. - The start location (
new_start) of each entity value in the redacted content. - The end location (
new_end) of each entity value in the redacted string.
For uploaded file pipelines that also generate redacted files, you can now configure the handling option for each entity type.