ai_transform_langchain Processor

The ai_transform_langchain processor integrates with LangChain to perform AI-driven reasoning, transformation, and logic within your data pipeline.

Use it to execute chains that perform contextual analysis, enrich or restructure data, or apply prompt-driven logic to dynamic inputs.
Whether you’re leveraging LLMs to interpret, reformat, or route content — this processor gives you a flexible interface to LangChain’s powerful capabilities.

The use cases are virtually unlimited.


Settings

SettingDescription
sub.service.type.confighttp configuration (httpout service settings) to make the API requests (inc_http.properties)
langchain.chain.namechain name to invoke on the LangChain server
langchain.temperaturecontrols randomness (0 = deterministic, 1 = creative)
langchain.top.pnucleus sampling (0–1); often left at 1.0
langchain.max.tokenslimit token output (helps cost, latency)
langchain.response.formatcontrols how the AI service formats its response [ text | json_object ]
langchain.response.output.formatformat to extract from the response [json, xml, csv, raw, regex]
langchain.response.output.format.regexuse a regular expression to extract the desired content
langchain.response.output.format.regex.groupif using regex, specify the group (optional)
langchain.prompt.templated allow the use of templated prompts in the AI service
langchain.log.promptlog the prompt (only if templated prompt is used)
langchain.promptthe prompt to use for the AI service.