Commit Graph

3 Commits

Author SHA1 Message Date
root
c1993ba890 🔧 ADD: CPU/Computer responses and server improvements
- Added comprehensive CPU/computer responses in ai-responses.js
- Added contextual CPU detection logic in script-new.js
- Fixed server encouragements to be topic-specific
- Improved pneumatic tool responses
- Added debugging to troubleshoot response generation
- Server now provides contextual encouragements based on question content
2025-06-29 17:27:14 +02:00
root
578bccd745 🎯 IMPROVE: Contextual encouragements and pneumatic responses
- Added pneumatic hammer responses to ai-responses.js for engineering questions
- Enhanced server encouragements to be contextual based on question topic
- Removed generic 'smart question' responses
- Added specific responses for compressed air, air pressure, direction, etc.
- Server now provides topic-specific encouragements (pneumatic, bicycle, car)
- Better mechanical engineering focused feedback for students
2025-06-29 17:23:43 +02:00
root
597cd101e6 REFACTOR: Separate AI prompts into external file
- Created ai-responses.js to store all AI response prompts
- Refactored generateContextualResponse() to use external AIResponses object
- Added ai-responses.js script to index.html
- Enhanced brake-specific responses for bicycle and car questions
- Improved maintainability and prevents script corruption during edits
- All contextual responses now centralized in structured object
2025-06-29 17:11:07 +02:00