Skip to content

Commit

Permalink
Use attachments instead of message screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
jkamdjou committed Nov 9, 2023
1 parent b6293df commit c0eea23
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,14 @@ source: |
)
),
// in case it's embedded in an image attachment
any(file.explode(beta.message_screenshot()),
any(ml.nlu_classifier(.scan.ocr.raw).intents,
// note: don't use message_screenshot() because it's not limited to current_thread
// and may FP
any(attachments, .file_type in $file_types_images
and any(file.explode(.),
any(ml.nlu_classifier(.scan.ocr.raw).intents,
.name == "cred_theft" and .confidence == "high"
)
)
)
)
or (
Expand Down

0 comments on commit c0eea23

Please sign in to comment.