Improve ai prompts
This commit is contained in:
@@ -51,21 +51,21 @@
|
|||||||
path: 'metadata.requirements',
|
path: 'metadata.requirements',
|
||||||
title: 'Requirement',
|
title: 'Requirement',
|
||||||
enableAIWriter: true,
|
enableAIWriter: true,
|
||||||
initPrompt: 'Generate a course requirement for this given course:'
|
initPrompt: 'Please write few requirements needed to take this course:'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
path: 'metadata.description',
|
path: 'metadata.description',
|
||||||
title: 'Description',
|
title: 'Description',
|
||||||
enableAIWriter: true,
|
enableAIWriter: true,
|
||||||
initPrompt: 'Generate a course description for this given course:'
|
initPrompt: 'Please write a detailed course description for this course:'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 4,
|
key: 4,
|
||||||
path: 'metadata.goals',
|
path: 'metadata.goals',
|
||||||
title: 'Goals',
|
title: 'Goals',
|
||||||
enableAIWriter: true,
|
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,
|
key: 5,
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export async function POST({ request }) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
role: 'user',
|
role: 'user',
|
||||||
content: prompt
|
content: `${prompt}. DONT ADD ANY CSS STYLE TO THE HTML FORMATTING AND DON'T USE CODE HTML TAG`
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
stream: true
|
stream: true
|
||||||
|
|||||||
Reference in New Issue
Block a user