Minor improvements to speaking.

This commit is contained in:
Cristiano Ferreira
2024-06-28 18:33:42 +01:00
parent e693f5ee2a
commit 565874ad41

7
app.py
View File

@@ -814,7 +814,7 @@ def get_speaking_task_2_question():
'Create a question of medium difficulty for IELTS Speaking Part 2 ' 'Create a question of medium difficulty for IELTS Speaking Part 2 '
'that encourages candidates to narrate a ' 'that encourages candidates to narrate a '
'personal experience or story related to the topic ' 'personal experience or story related to the topic '
'of "' + random.choice(mti_topics) + '". Include 3 prompts that ' 'of "' + topic + '". Include 3 prompts that '
'guide the candidate to describe ' 'guide the candidate to describe '
'specific aspects of the experience, ' 'specific aspects of the experience, '
'such as details about the situation, ' 'such as details about the situation, '
@@ -848,7 +848,7 @@ def get_speaking_task_3_question():
json_format = { json_format = {
"topic": "topic", "topic": "topic",
"questions": [ "questions": [
"Introductory question, should start with a greeting and introduce a question about the topic.", "Introductory question about the topic.",
"Follow up question about the topic", "Follow up question about the topic",
"Follow up question about the topic", "Follow up question about the topic",
"Follow up question about the topic", "Follow up question about the topic",
@@ -866,8 +866,7 @@ def get_speaking_task_3_question():
"role": "user", "role": "user",
"content": ( "content": (
'Formulate a set of 5 questions of hard difficulty for IELTS Speaking Part 3 that encourage candidates to engage in a ' 'Formulate a set of 5 questions of hard difficulty for IELTS Speaking Part 3 that encourage candidates to engage in a '
'meaningful discussion on the topic of "' + random.choice( 'meaningful discussion on the topic of "' + topic + '". Provide inquiries, ensuring '
mti_topics) + '". Provide inquiries, ensuring '
'they explore various aspects, perspectives, and implications related to the topic.' 'they explore various aspects, perspectives, and implications related to the topic.'
'Make sure that the generated question does not contain forbidden subjects in muslim countries.') 'Make sure that the generated question does not contain forbidden subjects in muslim countries.')