from utils.aiml_api_utils import call_aiml_api def generate_study_path(level, topic): # Generate the prompt based on user inputs prompt = f"Create a {level} level study path for learning {topic}." # Call the AI/ML API to get the generated study path study_plan = call_aiml_api(prompt, max_tokens=500) return study_plan