Spaces:
Sleeping
Sleeping
File size: 236 Bytes
b516c5f |
1 2 3 4 5 6 7 |
from utils.openai_utils import call_openai
def generate_study_path(level, topic):
prompt = f"Generate a {level.lower()} level study plan for learning {topic}."
response = call_openai(prompt, max_tokens=300)
return response
|