Function Types

Function Types Overview

Understanding the different types of functions available in bem

Functions are the core building blocks for data processing in bem. Each function type serves a specific purpose and has its own configuration requirements.

Available Function Types

TypePurposeKey Use Case
TransformExtract structured JSON from documentsInvoice processing, form extraction
AnalyzeVisual analysis of images and documentsReceipt scanning, image classification
RouteDirect data to different processing pathsDocument classification, workflow branching
SplitBreak multi-page documents into piecesMulti-document PDFs, batch processing
JoinCombine multiple inputs into one outputData aggregation, multi-source merging
Payload ShapingTranslate JSON data with JMESPath expressionsData mapping, format conversion
EnrichSemantic search against collectionsKnowledge base lookup, context enrichment

Common Configuration

All function types share these base fields:

FieldTypeRequiredDescription
functionNamestringYesUnique identifier for the function (per environment)
typestringYesThe function type (e.g., "transform", "route")
displayNamestringNoHuman-readable name for display in the UI
tagsstring[]NoTags for categorizing and organizing functions

Choosing the Right Function Type

API Reference

On this page