Make speaking 1 questions simple.

This commit is contained in:
Cristiano Ferreira
2024-06-27 22:48:42 +01:00
parent a8b46160d4
commit e693f5ee2a

4
app.py
View File

@@ -592,7 +592,7 @@ def grade_speaking_task_1():
@app.route('/speaking_task_1', methods=['GET'])
@jwt_required()
def get_speaking_task_1_question():
difficulty = request.args.get("difficulty", default=random.choice(difficulties))
difficulty = request.args.get("difficulty", default="easy")
first_topic = request.args.get("first_topic", default=random.choice(mti_topics))
second_topic = request.args.get("second_topic", default=random.choice(mti_topics))
@@ -618,7 +618,7 @@ def get_speaking_task_1_question():
{
"role": "user",
"content": (
'Craft 5 thought-provoking questions of ' + difficulty + ' difficulty for IELTS Speaking Part 1 '
'Craft 5 simple questions of easy difficulty for IELTS Speaking Part 1 '
'that encourages candidates to delve deeply into '
'personal experiences, preferences, or insights on the topic '
'of "' + first_topic + '" and the topic of "' + second_topic + '". Instruct the candidate '