Improve ai prompts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user