Create an engaging AI tutor for language learning using ControlFlow
interactive=True
parameter for tasks that require user interaction. This allows the AI tutor to engage directly with the user.
lesson
and exercise
objects as context to relevant tasks. This allows the AI tutor to have access to the current lesson content.
Lesson
) to define the structure of our lesson data. This ensures that the data passed between tasks is well-structured and type-safe.