How to build a smarter quality management system with gen AI