Foundations of AI Integration in Contemporary Educational Technology