Eugenio dff2b394d5
Fix classification scoring (#23523)
* Add `reason` property to `TagLabel`

This is to understand what score was used for selecting the entity

* Build `TagLabel`s with `reason`

* Increase `PIIProcessor._tolerance`

This is so we correctly filter out low scores from classifiers while still maintaining the normalization that filters out confusing outcomes.

e.g: an output with scores 0.3, 0.7 and 0.75, would initially filter the 0.3 and then discard the other two because they're both relatively high results.

* Make database and DAO changes needed to persist `TagLabel.reason`

* Update generated TypeScript types

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-01 12:11:14 +00:00
..
2023-09-22 09:45:00 +02:00
2024-05-07 22:07:25 +05:30
2024-05-07 22:07:25 +05:30
2024-04-16 18:51:03 +05:30
2024-06-12 10:40:05 +05:30
2024-07-19 12:16:53 +05:30
2024-08-06 18:41:37 +05:30
2024-09-30 23:39:27 +05:30
2025-01-28 19:22:33 +05:30
2025-07-31 06:38:21 +02:00
2025-07-31 06:38:21 +02:00
2025-07-31 06:38:21 +02:00