From fe753fe72c62c58ffb5d186c419bb4c02ea0b3c8 Mon Sep 17 00:00:00 2001 From: Cristiano Ferreira Date: Mon, 20 May 2024 18:40:29 +0100 Subject: [PATCH] Fix generating speaking task 2. --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 3ae82b8..8f09ab9 100644 --- a/app.py +++ b/app.py @@ -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 '