Improve ai prompts

This commit is contained in:
Rotimi Best
2023-09-26 12:16:55 +01:00
parent ce2b12c417
commit 92eef283f1
2 changed files with 4 additions and 4 deletions
@@ -51,21 +51,21 @@
path: 'metadata.requirements',
title: 'Requirement',
enableAIWriter: true,
initPrompt: 'Generate a course requirement for this given course:'
initPrompt: 'Please write few requirements needed to take this course:'
},
{
key: 3,
path: 'metadata.description',
title: 'Description',
enableAIWriter: true,
initPrompt: 'Generate a course description for this given course:'
initPrompt: 'Please write a detailed course description for this course:'
},
{
key: 4,
path: 'metadata.goals',
title: 'Goals',
enableAIWriter: true,
initPrompt: 'What should a student expect to learn from this given course:'
initPrompt: 'What should a student expect to learn from this course:'
},
{
key: 5,
@@ -25,7 +25,7 @@ export async function POST({ request }) {
},
{
role: 'user',
content: prompt
content: `${prompt}. DONT ADD ANY CSS STYLE TO THE HTML FORMATTING AND DON'T USE CODE HTML TAG`
}
],
stream: true