Icon

02. GenAI Learnathon_​Deployment_​Solution

GenAI Learnathon: Enrich Data Analytics with GenAI

During this hands-on learnathon, you will get familiar with the free low-code tool KNIME Analytics Platform, techniques for fraud detection, and the use of GenAI via the KNIME AI Extension (Labs).

Without any coding experience you will learn to:

* Detect frauds in investment contracts visually and using statistical techniques

* Prompt engineer an LLM via the OpenAI integration

* Create a vector store from a corpus of different types of investment contracts (the knowledge base)

* Build and deploy a data app to display email alerts and make it available to authenticated users on a web browser

Other KNIME AI integrations we will discuss include GPT4All, Hugging Face, Chroma, FAISS and more.

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/-/collections/~D4ckx2q_J5FPBQXu/

E) Deploy Fraud Detection with GenAI Alert on KNIME Business Hub (OPTIONAL)

Step 1: Apply fraud detection on new contract data

Search, drag and drop a Model Reader and a Numeric Outliers (Apply) to apply the same outlier detection from Part B on new contract data (Part B is included in the workflow 01. GenAI Learnathon_Solution).

Step 2: Apply vector store on newly detected frauds to get context

Search, drag and drop a Model Reader and a Vector Store Retriever to apply the same vector store from Part D on new frauds (Part D is included in the workflow 01. GenAI Learnathon_Solution).

Step 3: Apply prompt engineering and the LLM to perform RAG and generate new frauds email alerts

Copy and paste the String Manipulation and the LLM Prompter from Part D to generate more email alerts and visualize via the provided component.

Step 4: Deploy to KNIME Business Hub the resulting Data App

Upload this workflow and the folder "models" to a KNIME Hub team with an execution context and perform an ad-hoc execution.

vector store
Model Reader
prompt engineering
String Manipulation
outlier detection model
Model Reader
Numeric Outliers (Apply)
Value Lookup
OpenAI Authenticator
DB Table Selector
LLM Prompter
Double-click to configure
Get API Key
Extract Contract Data
visualize & downloademail alerts
Email Preview
SQLite Connector
OpenAI LLM Connector
PDF Parser
DB Reader
Vector Store Retriever

Nodes

Extensions

Links