.. _auto_text_transform: *TRANSFORM TEXT USING EXISTING RESPONSES* ========================================= Transforms a raw text string by substituting values from previously computed workflow responses — curves and scalars — into templated placeholders within the text. Use this worker to dynamically generate formatted text output (e.g., report snippets, labels, parameters) that incorporates upstream numerical results. When to use ----------- Classification: **process**. Tagged: ``curve``, ``process``, ``scalar``, ``string``, ``substitution``, ``template``, ``text``, ``transform``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Text To Be Parsed - texttobeparsed - textarea - — - - The raw text string (template) to be parsed and transformed; embed placeholder tokens here that will be replaced by curve or scalar values from upstream workflow responses. Optional — leave blank if the text is sourced entirely from dynamic inputs. * - Curves For This Transformation - curvesforthistransformation - vector - — - - One or more named curves from prior workflow responses whose values are injected into the text template at matching placeholders; optional if only scalar substitution is needed. * - Scalars For This Transformation - scalarsforthistransformation - scalar - — - - One or more named scalar values from prior workflow responses to be substituted into the text template at matching placeholders; optional if only curve substitution is needed. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - text_transform_output_1 - text_transform_output_1 - text - The fully rendered text string produced after all curve and scalar placeholders in the input template have been resolved and substituted. Disciplines ----------- - data.curve.transform - platform.workflow .. raw:: html
Auto-generated from transformation schema. Worker id: text_transform. Schema hash: 4be64833b459. Hand-curated docs in workerexamples/ override this page when present.