Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -514,7 +514,7 @@ def generate_question(subject, difficulty, question_type):
|
|
514 |
|
515 |
system_prompt = f"""You are an expert mathematics professor creating a {difficulty_params['description']} exam question.
|
516 |
STRICT REQUIREMENTS:
|
517 |
-
1. Write exactly 1 {question_type} question on {subject} covering {selected_topic}
|
518 |
2. Difficulty Level Guidelines:
|
519 |
{difficulty_params['description'].upper()}
|
520 |
Follow these specific constraints:
|
|
|
514 |
|
515 |
system_prompt = f"""You are an expert mathematics professor creating a {difficulty_params['description']} exam question.
|
516 |
STRICT REQUIREMENTS:
|
517 |
+
1. Write exactly 1 {question_type} question on {subject} covering {selected_topic} that can be solved analytically (without numerical methods)
|
518 |
2. Difficulty Level Guidelines:
|
519 |
{difficulty_params['description'].upper()}
|
520 |
Follow these specific constraints:
|