ottom8
ComponentsCore Components

Processing

Transform, filter, and reshape data as it moves through a flow.

Alter Metadata

Adds/Removes Metadata Dictionary on inputs

InputTypeRequired
InputotherNo
MetadataNestedDictYes
Fields to RemovestrNo
User TextstrNo
OutputType
JSONJSON
TableTable

Combine Data

Combines data using different operations

InputTypeRequired
Data InputsotherYes
Operation TypestrNo
OutputType
TableTable

Combine Text

Concatenate two text sources into a single text chunk using a specified delimiter.

InputTypeRequired
DelimiterstrNo
First TextstrNo
Second TextstrNo
OutputType
Combined TextMessage

Create Data

Dynamically create a Data with a specified number of fields.

InputTypeRequired
Number of FieldsintNo

Advanced options: Text Key, Text Key Validator

OutputType
JSONJSON

Create List

Creates a list of texts.

InputTypeRequired
TextsstrNo
OutputType
JSON ListJSON
TableTable

Data to Message

Convert Data objects into Messages using any {field_name} from input data.

InputTypeRequired
JSONotherYes
TemplatestrYes

Advanced options: Separator

OutputType
MessageMessage
JSON ListJSON

Data → DataFrame

Converts one or multiple Data objects into a DataFrame. Each Data object corresponds to one row. Fields from .data become columns, and the .text (if present) is placed in a 'text' column.

InputTypeRequired
Data or Data ListotherNo
OutputType
TableTable

Dynamic Create Data

Dynamically create a Data with a specified number of fields.

InputTypeRequired
Input ConfigurationtableNo

Advanced options: Include Metadata

OutputType
JSONJSON
MessageMessage

Extract Key

Extract a specific key from a Data object or a list of Data objects and return the extracted value(s) as Data object(s).

InputTypeRequired
Data InputotherNo
Key to ExtractstrNo
OutputType
Extracted DataJSON

Filter Data

Filters a Data object based on a list of keys.

InputTypeRequired
JSONotherNo
Filter CriteriastrNo
OutputType
Filtered DataJSON

Filter Values

Filter a list of data items based on a specified key, filter value, and comparison operator. Check advanced options to select match comparision.

InputTypeRequired
Input DataotherNo
Filter KeystrNo
Filter ValuestrNo

Advanced options: Comparison Operator

OutputType
Filtered DataJSON

JSON Cleaner

Cleans the messy and sometimes incorrect JSON strings produced by LLMs so that they are fully compliant with the JSON spec.

InputTypeRequired
JSON StringstrYes
Normalize UnicodeboolNo
Remove Control CharactersboolNo
Validate JSONboolNo
OutputType
Cleaned JSON StringMessage

JSON Operations

Perform various operations on a JSON object.

InputTypeRequired
JSONotherYes
Append or UpdatedictNo
Filter KeystrNo
Filter ValuesdictNo
JSON to MapstrNo
OperationssortableListNo
Comparison OperatorstrNo
JQ ExpressionstrNo
Remove KeysstrNo
Rename KeysdictNo
Select KeysstrNo
Select PathstrNo
OutputType
JSONJSON

Message Store

Stores a chat message or text into ottom8 tables or an external memory.

InputTypeRequired
External MemoryotherNo
MessagestrYes

Advanced options: Sender, Sender Name, Session ID

OutputType
Stored MessagesMessage

Message to Data

Convert a Message object to a Data object

InputTypeRequired
MessagestrNo
OutputType
JSONJSON

Output Parser

Transforms the output of an LLM into a specified format.

InputTypeRequired
ParserstrNo
OutputType
Format InstructionsMessage
Output ParserOutputParser

Parse DataFrame

Convert a DataFrame into plain text following a specified template. Each column in the DataFrame is treated as a possible template key, e.g. {col_name}.

InputTypeRequired
TableotherNo
TemplatestrNo

Advanced options: Separator

OutputType
TextMessage

Parse JSON

Convert and extract JSON fields.

InputTypeRequired
InputotherYes
JQ QuerystrYes
OutputType
Filtered DataJSON

Parser

Extracts text using a template.

InputTypeRequired
JSON or TableotherYes
ModetabNo
TemplatestrYes

Advanced options: Separator

OutputType
Parsed TextMessage

Regex Extractor

Extract patterns from text using regular expressions.

InputTypeRequired
Input TextstrYes
Regex PatternstrYes
OutputType
JSONJSON
MessageMessage

Select Data

Select a single data from a list of data.

InputTypeRequired
JSON ListotherNo
Data IndexintNo
OutputType
Selected DataJSON

Split Text

Split text into chunks based on specified criteria.

InputTypeRequired
InputotherYes
Chunk OverlapintNo
Chunk SizeintNo
SeparatorstrNo

Advanced options: Clean Output, Keep Separator, Text Key

OutputType
ChunksTable

Table Operations

Perform various operations on a Table.

InputTypeRequired
TableotherYes
Left TableotherNo
Right TableotherNo
Sort AscendingboolNo
Column NamestrNo
Columns to SelectstrNo
Filter OperatorstrNo
Filter ValuestrNo
Merge TypestrNo
Merge On ColumnstrNo
New Column NamestrNo
New Column ValuestrNo
Number of RowsintNo
OperationsortableListNo
Value to ReplacestrNo
Replacement ValuestrNo
OutputType
TableTable

Text Operations

Perform various text processing operations including text-to-DataFrame conversion.

InputTypeRequired
Case TypestrNo
Extract PatternstrNo
Characters from StartintNo
Max MatchesintNo
OperationsortableListNo
Remove Empty LinesboolNo
Remove Extra SpacesboolNo
Remove Special CharactersboolNo
Replacement TextstrNo
Search PatternstrNo
Characters to StripstrNo
Strip ModestrNo
Table SeparatorstrNo
Characters from EndintNo
Text InputstrYes
Second Text InputstrNo
Use RegexboolNo

Advanced options: Count Characters, Count Lines, Count Words, Has Header

Type Convert

Convert between different types (Message, JSON, Table)

InputTypeRequired
InputotherYes
Output TypetabNo

Advanced options: Auto Parse

OutputType
Message OutputMessage
JSON OutputJSON
Table OutputTable

Update Data

Dynamically update or append data with the specified fields.

InputTypeRequired
JSONotherYes
Number of FieldsintNo

Advanced options: Text Key, Text Key Validator

OutputType
JSONJSON

On this page