Skip to content

Commit ad64013

Browse files
committed
Glossary: Fix the default prompt for the AI generator - refs #7309
1 parent 14c556b commit ad64013

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CoreBundle/Controller/AiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function glossaryDefaultPrompt(Request $request): JsonResponse
107107
$desc = $this->getGenericCourseDescription($cid, $sid);
108108

109109
$base = $this->translator->trans(
110-
"Generate %d glossary terms for a course on '%s', each term on a single line, with its definition on the next line and one blank line between each term."
110+
"Generate %d glossary terms for a course on '%s', each term on a single line, with its definition on the next line and one blank line between each term. Do not add any other formatting for the title nor for the definition."
111111
);
112112

113113
$prompt = \sprintf($base, $n, $courseTitle);

0 commit comments

Comments
 (0)