Skip to content

Commit

Permalink
Update question.php
Browse files Browse the repository at this point in the history
Change wrapper to say translate to language rather than in language. Models other than gpt-4 were not doing the translation
  • Loading branch information
marcusgreen authored May 19, 2024
1 parent 81a0f77 commit 964356d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,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;

}
Expand Down

0 comments on commit 964356d

Please sign in to comment.