From adfc027458f35be04b8af825403b0378231019ad Mon Sep 17 00:00:00 2001 From: Cristiano Ferreira Date: Fri, 26 Jul 2024 23:46:46 +0100 Subject: [PATCH] Add excerpts to reading 3. --- helper/exercises.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helper/exercises.py b/helper/exercises.py index bec90b5..8eddcb3 100644 --- a/helper/exercises.py +++ b/helper/exercises.py @@ -359,6 +359,10 @@ def generate_reading_passage_3_text(topic: str): 'subtle differences of opinions from people, correctly sourced to the person who said it, ' 'over the specified topic and have multiple paragraphs.') }, + { + "role": "user", + "content": "Use real text excerpts on you generated passage and cite the sources." + } ] token_count = count_total_tokens(messages) return make_openai_call(GPT_4_O, messages, token_count, GEN_TEXT_FIELDS, GEN_QUESTION_TEMPERATURE)