Skip to content

Commit 14c556b

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/vue/views/glossary/GlossaryGenerateTerms.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ async function applyDefaultPrompt(force = false) {
416416
417417
if (force || !promptDirty.value) {
418418
const title = course.value?.title || course.value?.name || ""
419-
prompt.value = `Generate ${n.value} glossary terms for a course on '${title}', each term on a single line, with its definition on the next line and one blank line between each term.`
419+
prompt.value = `Generate ${n.value} glossary terms for a course on '${title}', 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.`
420420
if (force) {
421421
promptDirty.value = false
422422
}

0 commit comments

Comments
 (0)