Maintenance Tools Overview
Maintenance Tools provides automated operations for cache management, database optimization, and system health. This page explains each tool and when to use it.
What Are Maintenance Tools?โ
Maintenance Tools are administrative utilities that help keep the chatbot running smoothly. These are optional optimizations - your chatbot works fine without them, but they can improve performance and quality.
Think of It Like...โ
Imagine maintaining a library:
- Without maintenance: Books pile up, outdated materials remain, organization degrades
- With maintenance: Regular cleanup, organized shelves, current materials
Maintenance Tools are like your scheduled library upkeep - they keep everything running optimally.
Available Toolsโ
| Tool | Purpose | Frequency |
|---|---|---|
| FAQ Generator | Pre-cache common questions | Monthly or as needed |
| Cache Cleanup | Remove expired entries | Weekly or monthly |
| Database Migration | Add new features | One-time or after updates |
| Feedback Analyzer | Analyze user feedback with AI | Weekly or monthly |
Quick Start Guideโ
The interface shows a recommended workflow:
- First Time Setup - Run Database Migration to add admin tables
- Generate FAQs - Use Dry Run first, then generate
- Analyze Feedback - Update quality scores
- Regular Cleanup - Remove expired entries
These tools are optional optimizations. The chatbot's automatic caching handles most needs. Use these tools for bulk operations or deep analysis.
Tool Summariesโ
FAQ Generatorโ
What it does: Analyzes conversation history to find frequently asked questions and automatically creates cached responses for them.
When to use:
- Setting up a new system
- After major content updates
- When you want to pre-populate cache
Cache Cleanupโ
What it does: Removes expired cache entries to keep the database clean and efficient.
When to use:
- Weekly or monthly maintenance
- When database seems slow
- After bulk cache operations
Database Migrationโ
What it does: Updates the database schema to add new features like activity logging and feedback tracking.
When to use:
- First-time admin panel setup
- After pulling new code updates
- When new features require database changes
Feedback Analyzerโ
What it does: Uses AI to analyze user feedback comments, identify issues, and update source document quality scores.
When to use:
- Weekly performance review
- After FAQ generation
- When feedback patterns seem unclear
Important Notesโ
Automatic vs. Manualโ
Your chatbot has automatic caching that works continuously:
- New questions automatically generate responses
- Good responses get cached for reuse
- The system learns from user interactions
Maintenance Tools are for manual optimization when you want more control or bulk operations.
Safe to Runโ
These tools are designed to be safe:
- Dry Run options let you preview before committing
- Confirmations prevent accidental operations
- Results are logged for review
When to Skipโ
You probably don't need Maintenance Tools if:
- The chatbot is performing well
- Cache hit rates are acceptable
- Users aren't reporting issues
Check Analytics to see if maintenance is needed.
Recommended Scheduleโ
Weekly (Optional)โ
- Review cache performance
- Run Cleanup if many expired entries
- Quick feedback review
Monthly (Recommended)โ
- Run Cache Cleanup
- Analyze 30-day feedback
- Review FAQ candidates
Semester (Recommended)โ
- Deep feedback analysis (90 days)
- Database maintenance review
- Consider FAQ generation for new content
Next Stepsโ
- FAQ Generator - Pre-cache common questions
- Cache Cleanup - Remove expired entries
- Database Migration - Add new features
- Feedback Analyzer - AI-powered analysis
Remember: Maintenance Tools optimize what's already working. Focus on them after your content and caching are in good shape!