619 B
619 B
Sage_CleanText
Clean Text
Cleans or normalizes a text string by removing unwanted characters, excess whitespace, and formatting inconsistencies. Useful for preparing text for prompt or metadata processing.
Inputs
Required
- str (STRING): The string to clean and normalize
Outputs
- cleaned_string (STRING): The cleaned and normalized text
Usage
Use before passing text to prompt or metadata nodes to ensure clean input. This node applies text cleaning functions that remove extra spaces, normalize line breaks, and clean up formatting issues that can interfere with text processing.