Skip to content
KNIME Documentation
Main Navigation Get startedBuildWork with KnimeAccount and adminRelease notesDeveloper tools
Community Hub
DevelopersKnime 2.0
Sidebar Navigation

Getting Started

Installation

User Guide

Release Notes

Install Extensions

Building Workflows

Components

Flow Control

Expressions

File Handling

Deployment

Integrated Deployment

Workflow Invocation

Best Practices

Advanced Features

AI Extension

Get Started

Build an Agent

Inject context with RAG

LLM Providers

Tutorials

Summarize product reviews

Product FAQ assistant

Restaurant agent

Your first local agent

Task extractor

Reporting

Kerberos

Extensions

Database

Overview

Tutorials

Read and filter data from a database

Write a transformed dataset to a database

Concepts

Ports and Sessions

Query Generation

Type Mapping

Deprecated Framework

Connecting

Connect: Dedicated Node

Connect: File-Based Database

Connect: Generic DB Connector

Register a JDBC Driver

Install Third-Party Driver Plug-in

Drivers on Hub and Server

Kerberos Constrained Delegation

Reading and Transforming

Read Data

Transform Data Visually

Run a Custom SQL Query

Parameterize a Query

Writing and Modifying

Insert, Update, or Merge

Delete Rows

Bulk Load Data

Create and Remove Tables

Use Transactions

Reference

Connector Node Settings

JDBC Driver Reference

Deprecated Node Mapping

Migrate Deprecated Workflows

Python

Overview

Tutorials

Python Scripting Quickstart

Data App Development Using Plotly

Data Processing

K-AI Scripting Assistant

Data Type Conversion

Batch Processing

Jupyter Integration

Environment Management

Pixi Configuration

Dependency Management

Environment Persistence

Channel Mirrors & Air-Gapped Setups

Conda Migration

Alternative Configurations

Conda and Miniforge Setup

Conda Environment Propagation

Manual Python Configuration

Legacy Node Migration

Concepts

Pixi Backend Architecture

Storage Logic

Python Environments on Executors

Reference

Python Scripting API

Bundled Packages

Executor and Hub Configuration

Troubleshooting Guide

API Reference

Inputs and outputs

Classes

Views

Utility functions

R

Deep Learning

Snowflake

Google Cloud

Azure

AWS

Big Data

Big Data Admin

Big Data Secured Cluster

Databricks

Microsoft Fabric

Power BI

Tableau

Report Designer

H2O

Changelogs

Version 5.12

Version 5.11

Version 5.10

Version 5.9

Version 5.8

Version 5.7

Version 5.6

Version 5.5

Version 5.3

Extensions

Get Started with AI in KNIME ​

The KNIME AI Extension adds nodes for working with large language models (LLMs), building AI agents, and implementing Retrieval-Augmented Generation (RAG) pipelines in KNIME workflows. To install it, see Install the KNIME AI Extension.

Typical use cases include:

  • Classifying text into categories
  • Summarizing long documents into key points
  • Extracting names, dates, or other details from unstructured text
  • Translating text between languages
  • Answering questions about your own data

The example below classifies customer reviews. The workflow sends each review to an OpenAI model asking it to assign a sentiment category (positive or negative). The model's response is added to the table as a new column:

A KNIME workflow that sends customer reviews to an LLM and receives sentiment classifications

Prompt a model ​

Send a text instruction to a language model and receive a response. A prompting workflow connects three nodes: an authenticator (API credentials), a model selector, and the LLM Prompter:

  • Prompt a model: Build a prompting workflow step by step.
  • Providers and models: Supported providers, required credentials, and example workflows.

Run a model locally ​

The same prompting pattern works with models running on your machine. Data stays local and there are no API costs.

  • Prompt a local model via Ollama: Use a model running locally through Ollama.
  • Prompt a local model via GPT4All: Use a model running locally through GPT4All.

Get structured output ​

By default, a model returns free-form text. Structured output mode maps the response directly to table columns with defined types.

  • Prompt with structured output: Configure an output schema and get structured responses.

Create embeddings ​

Embeddings are numerical vectors that capture the meaning of text. They are used for similarity search, clustering, and as the basis for RAG pipelines.

  • Create embeddings: Generate vector representations from text.

Generate or edit images ​

Use AI models to create new images or modify existing ones from text prompts.

  • Generate or edit images: Produce or edit images inside a workflow.

Agents and RAG ​

  • Agents: Build workflows where a language model decides what to do next, calling tools like database lookups or APIs across multiple steps.
  • Retrieval-Augmented Generation (RAG): Ground model answers in your own documents by retrieving relevant passages before prompting.
Pager
Previous pageBest Practices
Next pageBuild an Agent