@@ -16,15 +16,30 @@ source: |
16
16
)
17
17
// "X" logic
18
18
or (
19
- any(ml.logo_detect(beta.message_screenshot()).brands,
20
- .name == "X" and .confidence == "high"
21
- )
22
- and (
23
- any(ml.nlu_classifier(body.current_thread.text).intents,
24
- .name == "cred_theft" and .confidence == "high"
19
+ (
20
+ 3 of (
21
+ strings.iends_with(sender.email.domain.root_domain, "-x.com"),
22
+ any(body.links, strings.iends_with(.href_url.domain.root_domain, "-x.com")),
23
+ strings.ilike(body.current_thread.text,
24
+ "*content dispute*",
25
+ "*copyright*",
26
+ "*appeal*"
27
+ ),
28
+ strings.contains(body.current_thread.text, '1355 Market Street'),
29
+ strings.ilike(body.current_thread.text, '*865 FM 1209*bastrop*')
25
30
)
26
- or any(ml.nlu_classifier(beta.ocr(beta.message_screenshot()).text).intents,
27
- .name == "cred_theft" and .confidence == "high"
31
+ or (
32
+ any(ml.logo_detect(beta.message_screenshot()).brands,
33
+ .name == "X" and .confidence == "high"
34
+ )
35
+ and (
36
+ any(ml.nlu_classifier(body.current_thread.text).intents,
37
+ .name == "cred_theft" and .confidence == "high"
38
+ )
39
+ or any(ml.nlu_classifier(beta.ocr(beta.message_screenshot()).text).intents,
40
+ .name == "cred_theft" and .confidence == "high"
41
+ )
42
+ )
28
43
)
29
44
)
30
45
and any(beta.ml_topic(body.current_thread.text).topics,
0 commit comments