Icon

Local LLM in KNIME - Financial Ratio Analysis MIR Use Case

Using a Local LLM with your KNIME Dataflow

Agenda:
  1. When is a local LLM beneficial

  2. GPT4ALL intro and setup

  3. KNIME GenAI nodes intro and setup

  4. Use case - Generating financial analysis reports with AI

Prerequisites:
  1. Familiarity with KNIME

  2. KNIME AI Extension installed

  3. Some familiarity with LLMs and prompt engineering

Company Financial Ratios
CSV Reader
Ticker AscDate desc
Sorter
REPLACE WITHYOUR MODEL PATH
Local GPT4All LLM Selector
Retain MostRecent Records
Duplicate Row Filter
Provide instructions to the LLM and return the generated analysis
LLM Prompter
Randomly selectone company
Row Sampler
Full sector names
Table Creator
Unpivot
Replace sectorwith full names
Value Lookup
Remove the '_' in column names
String Replacer
Convert response to a JSON data type
String to JSON
Parse response
JSON Path
Create column Names: value pairs
String Manipulation
Group data intoone blob of text
GroupBy
Unpivot
Create column Names: value pairs
String Manipulation
Column Auto Type Cast
Combine response piecesto create a readable report
GroupBy

Nodes

Extensions

Links