From ffcc30799f342252ddaef0e70a1d3db18e77c6b3 Mon Sep 17 00:00:00 2001 From: Marcus Green Date: Sun, 19 May 2024 23:18:18 +0100 Subject: [PATCH] Update question.php insert the word translate into the prompt fragment about the language to use --- question.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question.php b/question.php index e47e474..20f06bd 100755 --- a/question.php +++ b/question.php @@ -190,7 +190,7 @@ public function build_full_ai_prompt($response, $aiprompt, $defaultmark, $marksc $prompt .= ' Set marks to null in the json object.'.PHP_EOL; } $prompt .= ' '.trim(get_config('qtype_aitext', 'jsonprompt')); - $prompt .= ' respond in the language '.current_language(); + $prompt .= ' translate to the language '.current_language(); return $prompt; }