Open PowerShell and run:
cd "c:\Users\suhas\Documents\GitHub\OntoBot\rasa-frontend"
npm installThis will install the new react-select package needed for the sensor dropdown.
Open a new PowerShell terminal:
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
Keep this terminal open.
Open another PowerShell terminal:
cd "c:\Users\suhas\Documents\GitHub\OntoBot\rasa-frontend"
npm startExpected Output:
Compiled successfully!
The app is running at: http://localhost:3000
Browser should automatically open.
- Browser opens automatically to
http://localhost:3000 - Click "Settings" in the top navigation
- Click "T5 Model Training" tab (the 5th tab)
- You're ready! 🎉
1. Question:
What is the correlation between temperature and humidity in zone 5.04?
2. Sensors Involved:
- Start typing "Zone_Air_Temperature" and select
Zone_Air_Temperature_Sensor_5.04 - Start typing "Zone_Air_Humidity" and select
Zone_Air_Humidity_Sensor_5.04
3. SPARQL Query:
SELECT ?sensor ?timeseriesId ?storedAt
WHERE {
VALUES ?sensor {
bldg:Zone_Air_Humidity_Sensor_5.04
bldg:Zone_Air_Temperature_Sensor_5.04
}
?sensor brick:hasLocation ?location .
?sensor brick:timeseries ?timeseries .
?timeseries ref:hasTimeseriesId ?timeseriesId .
?timeseries ref:storedAt ?storedAt .
}4. Category: Multi-Sensor Correlation
5. Notes: Zone 5.04 temperature-humidity correlation
6. Click "Add Example"
- Set Epochs: 10 (recommended for quick testing)
- Click "Start Training"
- Confirm the dialog
- Wait ~5-10 minutes - watch the progress bar!
- Monitor logs - they update in real-time
- When complete, click "Deploy Model to Production"
- Go to "Action Server" tab
- Click "Restart Action Server"
- Wait for "Restart completed successfully"
- Done! Test your queries in the chatbot
Test in your chatbot:
What is the correlation between temperature and humidity in zone 5.04?
The model should now generate the correct SPARQL query with the VALUES clause!
cd microservices
pip install Flask Flask-Cors
python app.pycd rasa-frontend
npm install
npm start- Check backend is running (port 6000)
- Verify
rasa-bldg1/actions/sensor_list.txtexists - Refresh the browser page
- Check at least 1 example exists
- Verify Python environment has dependencies
- Check training logs for specific errors
Check these guides:
- T5_GUI_SETUP.md - Detailed setup guide
- GUI_TRAINING_GUIDE.md - Complete usage guide
- T5_GUI_IMPLEMENTATION.md - Technical details
You can now train your T5 model using the GUI!
No more command-line needed! 🚀