Icon

Fraud detection with dataviz, IQR and GenAI for alerts

Fraud Detection: using Data Visualizations and the IQR method + GenAI for multilingual alerts

This workflow shows how to detect fraud in investment agreements using data visualizations and IQR techniques for outlier detection. Once fraudulent agreements are identified, the workflow creates custom, multilingual alerts with the help of GenAI and a RAG process.

URL: KNIME AI Extension (Labs) https://hub.knime.com/knime/extensions/org.knime.python.features.llm/latest/
URL: KNIME for Generative AI https://hub.knime.com/knime/collections/KNIME%20for%20Generative%20AI~D4ckx2q_J5FPBQXu

Annotations and comments
  • Fraud Detection: using Data Visualizations and the IQR method + GenAI for multilingual alerts This workflow shows how to detect fraud in investment agreements using data visualizations and IQR techniques for outlier detection. Once fraudulent agreements are identified, the workflow creates custom, multilingual alerts with the help of GenAI and a RAG process.
  • Data Access and Joining
  • Visual Detection of Frauds
  • Enriching Analytics with GenAI: Providing Context and Prompting LLM for Email Alerts
  • Visualize Alert Preview
  • Define RAG Process
  • Outlier Detection (IQR) of Frauds
  • Provide OpenAI API key
  • keep only responses
  • Save responses
  • Download email alerts
  • Remove leading/trailing whitespaces
  • Footnote
  • line
  • page?
  • if, status=1 then continue if, status=0, the break
  • join the names & Urls
  • rename the columns
  • Link List view
  • take the count of Names &Urls
  • NewLine separated
  • URLs
  • check if, count of names= count of urls
  • convert to variables
  • check icon-key = graphic-selection
  • graphics
  • Title
  • Subtitle-description
  • string-input-page-type
  • link names
  • link urls
  • Subtitle
  • html grahics
  • image
  • Title, Subtitle & description
  • page-type
  • Line break
  • space
  • strip title description & page type
  • "Investment Agreement
  • KNOW ALL
  • euros
  • the amount of
  • . Name & Signature
  • Agreement , on
  • . IN WITNESS WHEREOF ,
  • is via email
  • contract id
  • payment
  • date
  • email
  • Extract Text of each PDF
  • remove duplicates
  • Save outlier detection model
  • Save vector store
  • Detection of frauds via IQR
  • gpt-4.1-nano
  • Contract data
  • Knowledge base: Definitions of agreement types
  • Customer data
  • Prompt engineering
  • Fiding Outliers Visually using a barchart
  • Fiding Outliers Visually using a box plot
  • adding color cue on payments
  • Histogram on 100 bins
  • Fiding Outliers Visually using scatter plot
  • Sort the rows by the date
  • works

Nodes

Extensions

Links