Skip to content
KNIME Documentation
Main Navigation Get startedBuildWork with KnimeAccount and adminRelease notesDeveloper tools
Community Hub
DevelopersKnime
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

Create embeddings ​

Generate vector representations from text using the Text Embedder node.

When this is useful ​

Embeddings are numerical vectors that capture the semantic meaning of text and can be used for similarity search, clustering, and retrieval-based workflows.

Create embeddings when you want to:

  • Compare texts by meaning rather than keywords
  • Find similar documents or records
  • Group or cluster text data
  • Prepare data for retrieval-augmented generation (RAG)

If you only need text generation or classification, check out Prompt a model instead.

Build an embedding workflow ​

Prerequisites

Before you start, make sure that you have:

  • installed the KNIME AI Extension (see Install the KNIME AI Extension).
  • configured credentials for a supported provider (see LLM Providers).

1. Select an embedding model ​

The selection of an embedding model depends on where the model runs.

Hosted models (authentication required) ​

If you use a hosted provider (for example, OpenAI):

  1. Store your API key using a Credentials Configuration or Credentials Widget.
  2. Connect the credentials to the corresponding authenticator, such as OpenAI Authenticator
  3. Select an embedding-capable model using an Embedding Model Selector, for example:
    OpenAI Embedding Model Selector

If the authenticator shows a green status light, the connection is successful.

Local models (no authentication required) ​

If you use a local model, configure the GPT4All Embedding Model Selector to point to your local model file.

Use the same embedding model consistently

Always use the same embedding model when creating and querying embeddings. Mixing models will lead to incorrect similarity results.

2. Provide text input ​

Provide the text you want to embed as a table column.

Each row in the table will be processed independently.

3. Generate embeddings ​

Use the Text Embedder node.

Configure the node as follows:

  • Connect the model input port to the selected embedding model
  • Connect the data input port to the table containing the text column
  • Select the column that contains the text to embed

The node appends a new column containing one embedding vector per input row.

Result ​

Each embedding is a high-dimensional numeric representation of the input text, designed for similarity-based operations rather than direct inspection.

To see how embeddings are used for similarity analysis and visualization, check out this example workflow on the KNIME Hub:

➡️ Compare texts by semantic similarity

Next steps ​

  • Build a RAG pipeline using embeddings for context retrieval
Pager
Next pageInstallation