Bringing Generative AI to Adaptive Learning in Education