Login to follow
SmartTextSanitizer

SmartTextSanitizer (ODC)

Stable version 1.0.0 (Compatible with ODC)
Uploaded on 26 September 2025 by Digital Alchimia
SmartTextSanitizer

SmartTextSanitizer (ODC)

Documentation
1.0.0

⚙️ How It Works

  1. Input Parameters

    • TextToBeSanitized (Text) → Raw input text to be cleaned or normalized.

    • SanitizerInstructions (Text) → Optional instructions to guide the agent (e.g., "generate slug", "remove accents", "clean HTML").

  2. Agent Task Flow

    • Prepares the text (remove HTML, trim spaces, normalize accents).

    • Passes text and instructions to the AI AgentTask.

    • Returns a cleaned and normalized text response.

  3. Output

Response (Text) → Sanitized and normalized text generated by the agent.



🎯 Use Cases

  • Cleaning and standardizing user-generated content before saving it to the database.

  • Removing HTML/formatting from copy-pasted text.

  • Generating consistent slugs for URLs.

  • Normalizing data before validation (e.g., emails, identifiers, names).

  • Preparing text for comparison or search.