Automatic Policy Generation
Creating comprehensive moderation policies from scratch can be time-consuming and complex. DeepMod's automatic policy generation feature streamlines this process by transforming your existing policy documents into structured, ready-to-use moderation policies powered by advanced AI.
What Is Automatic Policy Generation?
Automatic policy generation allows you to upload an existing policy document (such as community guidelines, content standards, or moderation rules) and have DeepMod automatically extract, organize, and structure it into policies, rule groups, and individual rules that are ready to use in your moderation workflows.
Instead of manually creating policies rule by rule, you can leverage documents you've already written to jumpstart your moderation setup in minutes rather than hours.
Don't have existing policy documents? Consider browsing policy templates instead (navigate to Policies → Templates). DeepMod offers pre-built, industry-specific policies that you can clone instantly, offering comprehensive coverage without requiring source documents.
How It Works
The policy generation process uses advanced language models to understand your document's content and intelligently organize it into DeepMod's hierarchical policy structure.
The Generation Process
1. Document Upload
Upload your policy document as a PDF file (up to 1MB). The system accepts various document formats including community guidelines, terms of service, content policies, brand guidelines, and moderation standards.
2. Text Extraction & Analysis
DeepMod extracts and sanitizes the text from your document, removing formatting artifacts while preserving the meaning and structure of your policy content.
3. Intelligent Structuring
Our AI analyzes your document and creates an organized outline with:
-
Multiple policies grouped by theme or purpose
-
Logical rule groups within each policy (Safety, Legal, Brand, etc.)
-
Specific, actionable rules extracted from your content
4. Policy Creation
The system creates your policies in DeepMod with:
-
Clear, descriptive names and descriptions
-
Properly organized rule groups
-
Well-defined individual rules
-
Your specified confidence threshold and review mode settings
All generated policies start in an inactive state, allowing you to review, test, and refine them before activating for production use.
Using Automatic Generation
Step 1: Prepare Your Document
For best results, ensure your policy document:
-
Is well-organized with clear sections and topics
-
Contains specific rules rather than just general principles
-
Uses clear language about what content should or shouldn't include
-
Is in PDF format for upload
Step 2: Navigate to Policy Generation
In your DeepMod dashboard:
-
Navigate to the Policies section
-
Click the Generate from Document button
-
This opens the policy generation interface
Step 3: Upload and Configure
Upload Your Document:
-
Drag and drop your PDF file or click to browse
-
Maximum file size: 1MB
-
Supported formats: PDF
Set Confidence Threshold:
-
Choose how certain the AI must be before making definitive decisions
-
Start with 70-80% for a balanced approach
-
You can adjust this later for individual policies after generation
Enable Human Review (Optional):
-
Toggle this on if you want ambiguous cases flagged for human review
-
Leave it off for fully automated moderation
-
This setting applies to all generated policies but can be changed individually later
Step 4: Submit for Generation
Click Generate Policies to begin the process. You'll receive immediate confirmation that generation has started.
Step 5: Monitor Progress
Policy generation happens asynchronously in the background. You'll receive a notification when the process completes, typically within 2-5 minutes depending on document size and complexity.
During generation, the system:
-
Creates an outline of policies and rule groups
-
Refines and finalizes policy names, descriptions, and rules
-
Validates all content meets length and structural requirements
-
Creates database records for your new policies
Understanding Generated Policies
What You'll Get
After successful generation, you'll find multiple new policies in your dashboard, each containing:
Policy-Level Information:
-
Descriptive name reflecting the policy's focus area
-
Detailed description explaining the policy's purpose
-
Your specified confidence threshold and review mode
-
Unique URI for API access
-
Inactive status (ready for your review)
Organized Rule Groups:
-
Logical groupings like Safety, Legal, Brand, Spam, etc.
-
Clear descriptions of each group's focus
-
Multiple rules within each group
Specific Rules:
-
Actionable, testable rules extracted from your document
-
Clear rule names and detailed content descriptions
-
Language optimized for AI understanding
After Generation: Next Steps
Generated policies require review and activation before they can moderate content. Follow these steps to put your policies into production:
1. Review Generated Content
Navigate to each generated policy and examine:
-
Overall policy organization and structure
-
Rule group categorization
-
Individual rule clarity and accuracy
-
Any redundant or overlapping rules
2. Refine as Needed
While AI does an excellent job extracting and organizing rules, you may want to:
-
Edit rule wording for clarity
-
Merge similar or redundant rules
-
Add rules for edge cases not covered in your document
-
Adjust rule group organization
-
Delete any irrelevant or incorrectly extracted rules
3. Test Thoroughly
Before activating, test each policy with representative content:
-
Use the policy testing interface
-
Submit 10-20 diverse content samples
-
Review results for accuracy and appropriateness
-
Adjust confidence thresholds if needed
-
Refine rule wording based on test outcomes
4. Activate Policies
Once satisfied with a policy's performance:
-
Change its status from Inactive to Active
-
The policy becomes available for moderation requests
-
Begin monitoring real-world performance
5. Monitor and Iterate
After activation:
-
Review moderation results regularly
-
Check for unexpected outcomes or patterns
-
Refine rules based on real-world usage
-
Adjust confidence thresholds as needed
Best Practices
Start with quality source material:
-
Well-organized documents produce better results
-
Clear section headers help the AI understand structure
-
Specific language about content requirements translates better than vague principles
Focus your documents:
-
Single-purpose documents work better than combining multiple policy areas
-
If you have separate documents for different policy types (safety, legal, brand), generate from each separately
-
This produces more focused, maintainable policies
Limitations and Considerations
What Works Well
Automatic generation excels at:
-
Extracting explicit rules and standards
-
Organizing content into logical groups
-
Converting existing policy documents into structured formats
-
Providing a strong starting point for new moderation policies
What Requires Manual Work
Some aspects still require human judgment:
-
Nuance and context: AI may not capture subtle policy intentions
-
Edge cases: Unusual situations may need manual rule additions
-
Optimization: Fine-tuning thresholds and rule wording for your specific content
-
Validation: Ensuring extracted rules accurately reflect your requirements
Privacy and Security
-
Files are not stored: After text extraction, uploaded files are discarded
-
Text is temporary: Extracted text exists only during the generation process
-
Policies are private: Generated policies belong to your organization only
What's Next
After successfully generating policies from your documents, explore these topics:
Learn how to refine and optimize generated policies
-
Policy Authoring Best Practices - Learn how to refine and optimize generated policies
-
Running Moderation Effectively - Put your policies into production
Automatic policy generation gives you a powerful head start on content moderation. Combined with testing, refinement, and ongoing iteration, it enables you to deploy sophisticated moderation policies quickly and efficiently.
Questions about automatic policy generation? Contact our support team for assistance with document preparation, generation issues, or policy refinement strategies.