Review Templates
Review templates define the structure and interface for human reviews in HITL.sh. They specify what content gets reviewed, what input you collect from reviewers, and how the review interface looks and behaves.Template Basics
What Are Templates?
Templates are reusable configurations that define:- Review fields: What information reviewers provide
- Content display: How AI-generated content is shown
- Validation rules: Required fields and data formats
- Interface layout: How the review form is organized
- Styling: Custom appearance and branding
Template Structure
Every template consists of:Field Types
Text Fields
Basic text input:Boolean Fields
Simple approval/rejection:Selection Fields
Single choice:File & Media Fields
File uploads:Specialized Fields
Rating scales:Template Editor
Visual Editor
Workflow Designer
Learn how to use the visual template editor to create and customize templates.
- Drag-and-drop interface: Build templates visually
- Live preview: See changes in real-time
- Field library: Pre-built field components
- Template gallery: Reusable template patterns
Code Editor
Advanced customization:Template Settings
Review Behavior
Review settings:- Round-robin: Distribute reviews evenly
- Load balancing: Assign based on reviewer capacity
- Skill matching: Match reviewers to content type
- Manual assignment: Let workflow owners assign
Validation Rules
Field validation:Template Styling
Visual Customization
Branding options:- Theme: Light, dark, or custom
- Layout: Single column, two column, or custom grid
- Spacing: Compact, comfortable, or spacious
- Typography: Font families and sizes
Responsive Design
Mobile optimization:- Touch-friendly: Large buttons and touch targets
- Responsive layout: Adapts to any screen size
- Offline support: Work without internet connection
- Progressive web app: Install as mobile app
Template Management
Organization
Template categories:- Base templates: Reusable foundation templates
- Specialized templates: Domain-specific variations
- Template inheritance: Extend and modify existing templates
Version Control
Template versions:- Semantic versioning: Major.minor.patch
- Backward compatibility: Maintain existing workflows
- Migration tools: Automatic template updates
- Rollback support: Revert to previous versions
Best Practices
Template Design
Design principles:- Keep it simple: Focus on essential review criteria
- Clear instructions: Help reviewers understand expectations
- Efficient layout: Minimize clicks and scrolling
- Mobile first: Ensure good experience on mobile devices
- Logical flow: Group related fields together
- Progressive disclosure: Show advanced options when needed
- Default values: Pre-fill common responses
- Help text: Provide context and examples
Performance Optimization
Template efficiency:- Minimize fields: Only collect necessary information
- Conditional logic: Show fields only when relevant
- Caching: Cache template definitions for performance
- Lazy loading: Load complex fields on demand
Accessibility
Accessibility features:- Screen reader support: Proper labels and descriptions
- Keyboard navigation: Full keyboard accessibility
- High contrast: Support for high contrast themes
- Font scaling: Adjustable text sizes
Template Examples
Content Moderation
Simple approval template:Code Review
Technical review template:Data Validation
Data quality template:Next Steps
Workflow Designer
Learn how to use the visual template editor to create templates.
Field Types
Explore all available field types and their configuration options.
Template Examples
See more template examples and use cases.