sample-incident-analytics
Pipeline: sample-incident-analytics
| ## Load dataset
@dm:recall
name="sample-servicenow-incidents"
--> @dm:save
name="temp-incidents"
## Analytic-1: Top 3 Categories
--> @c:new-block
name="Top-3 Categories"
--> @dm:recall
name="temp-incidents"
--> @dm:groupby
columns="category"
--> @dm:sort
columns = "number" & order = 'descending'
--> @dm:head
n=3
## Analytic-2: NLP Insights
--> @c:new-block
name="NLP Insights"
--> @dm:recall
name="temp-incidents"
--> @nlp:extract-keywords
description_col = "description"
--> @nlp:extract-named-entities
description_col = "description"
## Generate CSV file and save to local filesystem
--> @c:new-block
name="Generate CSV Report"
--> @dm:recall
name="temp-incidents"
--> @files:savefile
filename="sample-incidents-report.csv"
## Generate HTML Report and save to local filesystem
--> @c:new-block
name="Generate HTML Report"
--> @dm:recall
name="temp-incidents"
--> @dm:apply-template-all-rows
template_name = "sample-incident-html-template" & output_col = "message"
--> @files:savefile
filename="sample-incidents-report.html"
|
Extensions used in this Pipeline
Artifacts used in this Pipeline
Bots used in this Pipeline
@dm:recall @dm:save @c:new-block @dm:groupby @dm:sort @dm:head @nlp:extract-keywords @nlp:extract-named-entities @files:savefile @dm:apply-template-all-rows