Skip to content

Fix regex validator returning empty results - #90

Open
MauroCE wants to merge 1 commit into
fastino-ai:mainfrom
MauroCE:fix-regex-validator-threshold
Open

Fix regex validator returning empty results#90
MauroCE wants to merge 1 commit into
fastino-ai:mainfrom
MauroCE:fix-regex-validator-threshold

Conversation

@MauroCE

@MauroCE MauroCE commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Fixes #67

When a field has validators (e.g. RegexValidator), the model's raw scores are often
very low, so the default threshold was filtering everything out before the validator
could even run. Fix: skip the threshold when validators are present and let them do
the filtering instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RegexValidator example does not work

1 participant