-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Cameron Dunn <[email protected]> Co-authored-by: Sam Scholten <[email protected]> Co-authored-by: Sam Scholten <[email protected]>
- Loading branch information
1 parent
32cb236
commit a50d0c5
Showing
35 changed files
with
251 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Business Email Compromise - High Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "bec" and .confidence == "high") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Business Email Compromise" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Business Email Compromise - Low Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "bec" and .confidence == "low") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Business Email Compromise" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Business Email Compromise - Medium Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "bec" and .confidence == "medium") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Business Email Compromise" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Callback Scam - High Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "callback_scam" and .confidence == "high") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Callback Scam" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Callback Scam - Low Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "callback_scam" and .confidence == "low") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Callback Scam" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Callback Scam - Medium Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "callback_scam" and .confidence == "medium") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Callback Scam" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: "NLU Intent: Credential Theft - High Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "cred_theft" and .confidence == "high") | ||
severity: "medium" | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Credential Theft" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: "NLU Intent: Credential Theft - Low Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "cred_theft" and .confidence == "low") | ||
severity: "medium" | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Credential Theft" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: "NLU Intent: Credential Theft - Medium Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "cred_theft" and .confidence == "medium") | ||
severity: "medium" | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Credential Theft" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: "NLU Intent: Extortion - High Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "extortion" and .confidence == "high") | ||
severity: "medium" | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Extortion" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: "NLU Intent: Extortion - Low Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "extortion" and .confidence == "low") | ||
severity: "medium" | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Extortion" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: "NLU Intent: Extortion - Medium Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "extortion" and .confidence == "medium") | ||
severity: "medium" | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Extortion" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Entity: Financial" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).entities, .name == "financial") | ||
tags: | ||
- "Natural Language Understanding" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Entity: Greeting" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).entities, .name == "greeting") | ||
tags: | ||
- "Natural Language Understanding" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Tag: Invoice - High Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).tags, .name == "invoice" and .confidence == "high") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Invoice" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Tag: Invoice - Low Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).tags, .name == "invoice" and .confidence == "low") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Invoice" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Tag: Invoice - Medium Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).tags, .name == "invoice" and .confidence == "medium") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Invoice" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Job Scam - High Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "job_scam" and .confidence == "high") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Job Scam" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Job Scam - Low Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "job_scam" and .confidence == "low") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Job Scam" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Job Scam - Medium Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "job_scam" and .confidence == "medium") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Job Scam" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Entity: Organization" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).entities, .name == "org") | ||
tags: | ||
- "Natural Language Understanding" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Tag: Payment - High Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).tags, .name == "payment" and .confidence == "high") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Payment" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Tag: Payment - Low Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).tags, .name == "payment" and .confidence == "low") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Payment" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Tag: Payment - Medium Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).tags, .name == "payment" and .confidence == "medium") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Payment" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Tag: Purchase Order - High Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).tags, .name == "purchase_order" and .confidence == "high") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Purchase Order" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Tag: Purchase Order - Low Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).tags, .name == "purchase_order" and .confidence == "low") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Purchase Order" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Tag: Purchase Order - Medium Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).tags, .name == "purchase_order" and .confidence == "medium") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Purchase Order" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Entity: Recipient" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).entities, .name == "recipient") | ||
tags: | ||
- "Natural Language Understanding" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Entity: Request" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).entities, .name == "request") | ||
tags: | ||
- "Natural Language Understanding" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Entity: Salutation" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).entities, .name == "salutation") | ||
tags: | ||
- "Natural Language Understanding" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Entity: Sender" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).entities, .name == "sender") | ||
tags: | ||
- "Natural Language Understanding" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Steal PII - High Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "steal_pii" and .confidence == "high") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Steal PII" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Steal PII - Low Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "steal_pii" and .confidence == "low") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Steal PII" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Intent: Steal PII - Medium Confidence" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).intents, .name == "steal_pii" and .confidence == "medium") | ||
tags: | ||
- "Natural Language Understanding" | ||
- "Steal PII" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: "NLU Entity: Urgency" | ||
type: "query" | ||
source: | | ||
any(ml.nlu_classifier(body.current_thread.text).entities, .name == "urgency") | ||
tags: | ||
- "Natural Language Understanding" | ||
|