Skip to content

Commit

Permalink
FP/FN Negation: callback_phishing_nlu_body_or_attachments.yml (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscode authored Sep 8, 2023
1 parent 71409e9 commit 0465b64
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ source: |
)
)
or any(ml.nlu_classifier(body.current_thread.text).intents,
.name in ("callback_scam") and .confidence == "high"
.name in ("callback_scam")
and .confidence == "high"
and length(body.current_thread.text) < 1500
)
)
and not (
Expand Down

0 comments on commit 0465b64

Please sign in to comment.