Storm OpenAPI(en)
  1. Node Description
Storm OpenAPI(en)
  • Welcome to STORM
    • Introduction
  • Quickstart
    • Getting Started
      • Account Creation
      • Creating an Agent
    • Core Scenario
      • Document Upload
      • Workflow Design
      • Test
      • Deployment
      • Channel Integration
  • Feature Guide
    • Console
      • Agent Management
      • Dashboard
      • Permission Management
    • Agent Template
      • Explore knowledge
      • Character Conversation
      • Analyze chat history
      • Write articles
      • Write SQL queries
    • Agent Builder
      • Knowledge
        • Documents
        • Folders
        • Feedback
      • Workflow
        • Node Description
          • LLM
          • Search(RAG)
          • API
          • IF ELSE
          • Variable Declaration and Assignment
          • Postprocessing
      • Test
      • Log
      • Dashboard
    • Admin Tools
      • Deployment Management
      • Channel Integration
      • Model Fine-Tuning
      • Training Data Quality Management
      • Other Settings
      • Teams Channel Integration
  • Apis
    • Agent
      • Deploy Agent
      • View Agent Deployment History
      • View Agent
    • Bucket
      • Create Bucket
      • View Bucket
    • Document
      • Document Training Request by file
      • Document Training Request by URL
      • View Documents
      • Delete Document
    • Chat
      • Send Chat (non-stream)
      • Send Chat (stream)
      • Search Context
    • STORM Parse
      • /convert/md
    • Instance Agent
      • Add Instance Session
      • Upload Instance Document
      • Request RAG Source For Query
      • Delete Instance Session
  • Learn More
    • FAQ
    • Pricing
  1. Node Description

Postprocessing

Post-processing Node#

This node performs post-processing tasks such as replacing or cleaning specific words or patterns within text. It is mainly used to refine the output of an LLM, identifying and transforming specific formats of numbers or strings such as phone numbers or email addresses.
image.png

Target Pattern#

Enter the value (pattern) you want to replace.

Post-processing Result#

Enter the resulting value after the target pattern has been replaced.

Basic Usage#

Enter the value/pattern to be replaced in Target Pattern.
Enter the replacement string in Post-processing Result.
Click Add to register the rule. You can register multiple rules as needed.

Usage Examples#

1) Masking Sensitive Information#

Regex Replacement
Target Pattern: \b\d{3}-\d{4}-\d{4}\b → Result: ***-****-****
Target Pattern: \b[0-9a-z._%+-]+@[0-9a-z.-]+\.[a-z]{2,}\b → Result: [email masked]

2) Format Cleanup (Improving Readability)#

Regex Replacement
Target Pattern: \s{2,} → Result: (single space)
Target Pattern: \s*\n\s* → Result: \n (removes unnecessary blank lines)

3) Handling Forbidden/Sensitive Words#

Word Replacement
Target Pattern: predefined forbidden-word list → Result: [filtered]

5) Simple Text Transformations#

Regex Replacement
Target Pattern: (?i)\btrue\b → Result: Yes
Target Pattern: (?i)\bfalse\b → Result: No


When needed, use word replacement for exact matches and regex replacement for pattern-wide modifications to maximize efficiency.
Modified at 2025-11-14 08:17:13
Previous
Variable Declaration and Assignment
Next
Test
Built with