Optimal Integration: Human, Machine, and Generative AI