ottom8
ComponentsCore Components

LLM Operations

Batch and structured operations built on top of a language model.

Batch Run

Runs an LLM on each row of a DataFrame column. If no column is specified, all columns are used.

InputTypeRequired
TableotherYes
watsonx API EndpointstrNo
Column NamestrNo
Language ModelmodelYes
watsonx Project IDstrNo
InstructionsstrNo

Advanced options: API Key, Enable Metadata, Output Column Name

OutputType
LLM ResultsTable

Guardrails

Validates input text against multiple security and safety guardrails using LLM-based detection.

InputTypeRequired
GuardrailsstrYes
Input TextstrYes
Language ModelmodelYes

Advanced options: API Key, Custom Guardrail Description, Enable Custom Guardrail, Heuristic Detection Threshold

OutputType
PassJSON
FailJSON

LLM Selector

Routes the input to the most appropriate LLM based on OpenRouter model specifications

InputTypeRequired
Judge LLMotherYes
Language ModelsotherYes
InputstrYes
OptimizationstrNo

Advanced options: Fallback to First Model, API Timeout, Use OpenRouter Specs

OutputType
OutputMessage
Selected Model InfoData, JSON
Routing DecisionMessage

Smart Router

Routes an input message using LLM-based categorization.

InputTypeRequired
InputstrYes
Language ModelmodelYes
RoutestableYes

Advanced options: API Key, Additional Instructions, Include Else Output, Override Output

Smart Transform

Uses an LLM to generate a function for filtering or transforming structured data and messages.

InputTypeRequired
JSONotherYes
InstructionsstrYes
Language ModelmodelYes

Advanced options: API Key, Max Size, Sample Size

OutputType
OutputJSON
OutputTable
OutputMessage

Structured Output

Uses an LLM to generate structured data. Ideal for extraction and consistency.

InputTypeRequired
Input MessagestrYes
Language ModelmodelYes
Output SchematableYes

Advanced options: API Key, Schema Name, Format Instructions

OutputType
Structured OutputJSON
Structured OutputTable

aGenerate

Generate mock data for user defined schema. If a dataframe is provided, the component will generate similar rows.

InputTypeRequired
Input TableotherNo
Watsonx API EndpointstrNo
Number of Rows to GenerateintNo
Language ModelmodelYes
Ollama API URLstrNo
Watsonx Project IDstrNo
SchematableNo

Advanced options: API Key, Instructions

OutputType
Output TableTable

aMap

Augment the input dataframe adding new columns defined in the input schema. Rows are processed independently and in parallel using LLMs.

InputTypeRequired
Input TableotherYes
Watsonx API EndpointstrNo
InstructionsstrNo
Language ModelmodelYes
Ollama API URLstrNo
Watsonx Project IDstrNo
As ListboolNo
SchematableYes

Advanced options: API Key, Keep Source Columns

OutputType
Output TableTable

aReduce

Analyze the entire input dataframe at once and generate a new dataframe following the instruction and the required schema

InputTypeRequired
Input TableotherYes
Watsonx API EndpointstrNo
InstructionsstrNo
Language ModelmodelYes
Ollama API URLstrNo
Watsonx Project IDstrNo
As ListboolNo
SchematableYes

Advanced options: API Key

OutputType
Output TableTable

On this page