Update server/src/services/documentService.ts
This commit is contained in:
@@ -104,11 +104,11 @@ export async function generateStudyGuide(sourceGroups: SourceGroup[]): Promise<S
|
|||||||
const sources = buildSourceBlock(sourceGroups);
|
const sources = buildSourceBlock(sourceGroups);
|
||||||
const start = Date.now();
|
const start = Date.now();
|
||||||
|
|
||||||
const prompt = `You are an expert educator. Given the source documents below, produce a comprehensive study guide. Follow these rules:
|
const prompt = `You are an expert reasearch assistant. Given the source documents below, produce a comprehensive guide. Follow these rules:
|
||||||
|
|
||||||
1. Create a structured outline of the main ideas organized into logical sections.
|
1. Create a structured outline of the main ideas organized into logical sections.
|
||||||
2. For each section, provide: bullet-point key concepts, key terms with definitions, and 2-3 self-review questions.
|
2. For each section, provide: bullet-point key concepts, key terms with definitions, and 2-3 self-review questions.
|
||||||
3. At the end, provide mnemonic devices or simplified restatements to help memorize the hardest concepts.
|
3. At the end, provide mnemonic devices or simplified restatements of the hardest concepts.
|
||||||
4. Be concise but thorough. Use simple, clear language.
|
4. Be concise but thorough. Use simple, clear language.
|
||||||
|
|
||||||
--- SOURCE DOCUMENTS ---
|
--- SOURCE DOCUMENTS ---
|
||||||
|
|||||||
Reference in New Issue
Block a user