Use this checklist to ensure everything is ready before using the GUI.
cd "c:\Users\suhas\Documents\GitHub\OntoBot\microservices"
pip list | Select-String "Flask"Expected Output:
Flask 2.0.3
Flask-Cors 3.0.10
If missing, install:
pip install -r requirements.txt- File exists:
microservices/blueprints/t5_training.py - File modified:
microservices/app.py(has t5_training_bp import) - File exists:
rasa-bldg1/actions/sensor_list.txt
cd "c:\Users\suhas\Documents\GitHub\OntoBot\microservices"
python app.pyExpected Output:
* Serving Flask app 'app'
* Debug mode: on
* Running on http://0.0.0.0:6000
✅ Backend Ready: Keep this terminal open
cd "c:\Users\suhas\Documents\GitHub\OntoBot\rasa-frontend"
npm installThis will install:
- react-select (new)
- All other existing dependencies
Expected Output:
added 1 package, and audited XXX packages in Xs
found 0 vulnerabilities
- File exists:
rasa-frontend/src/pages/ModelTrainingTab.js - File modified:
rasa-frontend/src/pages/SettingsTabs.js(has ModelTrainingTab) - File modified:
rasa-frontend/package.json(has react-select)
cd "c:\Users\suhas\Documents\GitHub\OntoBot\rasa-frontend"
npm startExpected Output:
Compiled successfully!
The app is running at: http://localhost:3000
✅ Frontend Ready: Browser opens automatically
- Browser opened to
http://localhost:3000 - Click Settings in top navigation
- See 5 tabs: Edit & Validate | Train & Activate | Action Server | Analytics | T5 Model Training
- Click T5 Model Training tab
- Page loads without errors
- "Add Training Example" card visible
- "Training Examples (N)" table visible
- "Train Model" card visible
- "Available Models" card visible
- Click "Sensors Involved" dropdown
- Dropdown shows loading state
- Sensors load (680+ options)
- Can search by typing
- Can select multiple sensors
✅ GUI Ready: All components working
Question: What is the temperature in zone 5.04?
Sensors: Zone_Air_Temperature_Sensor_5.04
SPARQL:
SELECT ?timeseriesId ?storedAt
WHERE {
bldg:Zone_Air_Temperature_Sensor_5.04 brick:timeseries ?timeseries .
?timeseries ref:hasTimeseriesId ?timeseriesId .
?timeseries ref:storedAt ?storedAt .
}
Category: Single Sensor
Notes: Test example
- Fill in form
- Click "Add Example"
- See success alert
- Example appears in table
- Click ✏️ (Edit) button on test example
- Form populates with example data
- Modify question
- Click "Update Example"
- See updated data in table
- Click 🗑️ (Delete) button on test example
- Confirm in dialog
- Example removed from table
✅ Basic CRUD: All operations working
Get-Content "c:\Users\suhas\Documents\GitHub\OntoBot\Transformers\t5_base\training\bldg1\correlation_fixes.json"- File exists
- Contains valid JSON
- Has array of examples
- Shows your added examples
Get-Content "c:\Users\suhas\Documents\GitHub\OntoBot\rasa-bldg1\actions\sensor_list.txt" | Measure-Object -LineExpected Output:
Lines: 680+ (approximately)
✅ Data Files: Accessible and valid
- Add 5 simple examples
- Examples cover different query types
- All examples have valid SPARQL
- Set epochs to 3 (for quick test)
- Click "Start Training"
- Confirm dialog
- Progress bar appears and updates
- Logs stream in real-time
- Training completes (may take 3-5 minutes)
- Status shows "COMPLETED"
- Progress bar at 100%
- "Deploy Model to Production" button appears
- No errors in logs
✅ Training Works: Model can be trained
- Click "Deploy Model to Production"
- Confirm deployment
- See success message
- Refresh models list
- See backup created (checkpoint-3-backup-YYYYMMDD_HHMMSS)
- Go to "Action Server" tab
- Click "Restart Action Server"
- Wait for "Restart completed successfully"
- Check logs for no errors
- Open chatbot
- Ask a question from your training examples
- Verify correct SPARQL generated
- Confirm query returns results
✅ Deployment Works: Model active in production
- Backend running (port 6000)
- Frontend running (port 3000)
- GUI accessible
- Sensors load
- Can add examples
- Can edit examples
- Can delete examples
- Can start training
- Progress monitoring works
- Logs stream correctly
- Can deploy models
- Models list updates
- QUICKSTART_GUI.md
- T5_GUI_SETUP.md
- GUI_TRAINING_GUIDE.md
- T5_GUI_IMPLEMENTATION.md
- T5_GUI_ARCHITECTURE.md
- T5_GUI_COMPLETE.md
# Check if port 6000 is in use
netstat -ano | findstr :6000
# Restart backend
cd microservices
python app.py# Clear npm cache
npm cache clean --force
# Reinstall dependencies
rm -r node_modules
npm install
# Restart frontend
npm start# Clear browser cache
# Ctrl+Shift+R (hard refresh)
# Or clear cache in browser settings# Check file exists and is readable
Test-Path "path\to\file"
Get-Content "path\to\file"| Component | Expected State | How to Verify |
|---|---|---|
| Backend API | Running on port 6000 | Terminal shows "Running on http://0.0.0.0:6000" |
| Frontend | Running on port 3000 | Browser shows interface |
| Sensor Dropdown | 680+ sensors | Dropdown populates |
| Training Examples | Editable list | Table displays examples |
| Training | Progress monitoring | Progress bar updates |
| Logs | Real-time streaming | Logs scroll automatically |
| Deployment | One-click deploy | Success message appears |
| Models List | Shows checkpoints | Table displays models |
You're ready to use the GUI when ALL of these are true:
- ✅ Backend terminal shows "Running on http://0.0.0.0:6000"
- ✅ Frontend browser shows "Settings" page
- ✅ "T5 Model Training" tab is visible and clickable
- ✅ Sensor dropdown loads without errors
- ✅ Can add/edit/delete examples without errors
- ✅ Training can be started and monitored
- ✅ Models can be deployed successfully
If all checkboxes are ✅, you're ready to start training your T5 model!
Recommended Next Steps:
- Read QUICKSTART_GUI.md for a quick tutorial
- Add 5-10 training examples
- Train for 10 epochs
- Deploy and test
Happy Training! 🚀
- Setup: See QUICKSTART_GUI.md
- Usage: See GUI_TRAINING_GUIDE.md
- Technical: See T5_GUI_IMPLEMENTATION.md
- Architecture: See T5_GUI_ARCHITECTURE.md
- Are both services running (ports 6000 and 3000)?
- Did you run
npm install? - Check browser console for errors (F12)
- Check terminal output for errors
- Try restarting both services
- Sensors not loading: Restart backend
- Training won't start: Add at least 1 example
- Model not active: Restart action server
- Port in use: Kill process on port and restart