Fix generating speaking task 2.

This commit is contained in:
Cristiano Ferreira
2024-05-20 18:40:29 +01:00
parent a0a193844d
commit fe753fe72c

4
app.py
View File

@@ -665,12 +665,12 @@ def get_speaking_task_2_question():
"role": "system",
"content": (
'You are a helpful assistant designed to output JSON on this format: '
'{"topic": "topic", "question": "question"}')
'{"topic": "topic", "question": "question", "prompts": ["prompt_1", "prompt_2", "prompt_3"]}')
},
{
"role": "user",
"content": (
'Craft a thought-provoking question of ' + difficulty + ' difficulty for IELTS Speaking Part 2 '
'Create a question of ' + difficulty + ' difficulty for IELTS Speaking Part 2 '
'that encourages candidates to narrate a '
'personal experience or story related to the topic '
'of "' + topic + '". Include 3 prompts that '