use case of generative ai in anomaly detection